Enum File Error
pub enum FileError {
Io(Error),
TooLarge,
InvalidLimit,
}Expand description
No partial read is returned on error.
Variants§
Trait Implementations§
§impl Error for FileError
impl Error for FileError
§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · §fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()