Guest User

Untitled

a guest
Feb 25th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. pub fn read_from_yaml_file<T>(
  2. yaml_path: &::std::path::Path
  3. ) -> ::std::result::Result<T, ::failure::Error>
  4. where
  5. for<'de> T: Deserialize<'de> + Serialize,
  6. {
  7. //...
  8. }
  9.  
  10. pub fn read_from_yaml_file<'de, T>(
  11. yaml_path: &::std::path::Path
  12. ) -> ::std::result::Result<T, ::failure::Error>
  13. where
  14. T: Deserialize<'de> + Serialize,
  15. {
  16. //...
  17. }
Add Comment
Please, Sign In to add comment