pub enum FileError {
Io(Error, PathBuf),
UnknownEncoding(PathBuf),
HasChanged(PathBuf),
}
Variants§
Trait Implementations§
Source§impl From<FileError> for RemoteError
impl From<FileError> for RemoteError
Source§fn from(src: FileError) -> RemoteError
fn from(src: FileError) -> RemoteError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FileError
impl !RefUnwindSafe for FileError
impl Send for FileError
impl Sync for FileError
impl Unpin for FileError
impl !UnwindSafe for FileError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more