Creates [`Self`] from file. # Note Implementations of this function are expected to automatically detect a [`FileFormatSchema`] that the resulting [`Self`] is based on. The blanket implementation calls [`Self::from_file_with_schema`] with [`None`] as `schema`.
(file: impl AsRef<Path>)
| 33 | /// |
| 34 | /// The blanket implementation calls [`Self::from_file_with_schema`] with [`None`] as `schema`. |
| 35 | fn from_file(file: impl AsRef<Path>) -> Result<Self, Self::Err> |
| 36 | where |
| 37 | Self: Sized, |
| 38 | { |
| 39 | Self::from_file_with_schema(file, None) |
| 40 | } |
| 41 | |
| 42 | /// Creates [`Self`] from `file`, optionally validated by a `schema`. |
| 43 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected