pub enum FileObjError {
ReadFile(Error),
MakePatchFailed(String, Error),
SuggestionError(SuggestionError),
}Variants§
Trait Implementations§
Source§impl Debug for FileObjError
impl Debug for FileObjError
Source§impl Display for FileObjError
impl Display for FileObjError
Source§impl Error for FileObjError
impl Error for FileObjError
Source§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 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<FileObjError> for ClientError
impl From<FileObjError> for ClientError
Source§fn from(source: FileObjError) -> Self
fn from(source: FileObjError) -> Self
Converts to this type from the input type.
Source§impl From<SuggestionError> for FileObjError
impl From<SuggestionError> for FileObjError
Source§fn from(source: SuggestionError) -> Self
fn from(source: SuggestionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for FileObjError
impl !UnwindSafe for FileObjError
impl Freeze for FileObjError
impl Send for FileObjError
impl Sync for FileObjError
impl Unpin for FileObjError
impl UnsafeUnpin for FileObjError
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