Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pub fn read_from_yaml_file<T>(
- yaml_path: &::std::path::Path
- ) -> ::std::result::Result<T, ::failure::Error>
- where
- for<'de> T: Deserialize<'de> + Serialize,
- {
- //...
- }
- pub fn read_from_yaml_file<'de, T>(
- yaml_path: &::std::path::Path
- ) -> ::std::result::Result<T, ::failure::Error>
- where
- T: Deserialize<'de> + Serialize,
- {
- //...
- }
Add Comment
Please, Sign In to add comment