pub enum FileWriterError {
IOError(Error),
MemoryWriterError(MemoryWriterError),
}
Variants§
IOError(Error)
MemoryWriterError(MemoryWriterError)
Trait Implementations§
source§impl Debug for FileWriterError
impl Debug for FileWriterError
source§impl Display for FileWriterError
impl Display for FileWriterError
source§impl Error for FileWriterError
impl Error for FileWriterError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Error> for FileWriterError
impl From<Error> for FileWriterError
source§impl From<FileWriterError> for WriterError
impl From<FileWriterError> for WriterError
source§fn from(source: FileWriterError) -> Self
fn from(source: FileWriterError) -> Self
Converts to this type from the input type.
source§impl From<MemoryWriterError> for FileWriterError
impl From<MemoryWriterError> for FileWriterError
source§fn from(source: MemoryWriterError) -> Self
fn from(source: MemoryWriterError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FileWriterError
impl !RefUnwindSafe for FileWriterError
impl Send for FileWriterError
impl Sync for FileWriterError
impl Unpin for FileWriterError
impl !UnwindSafe for FileWriterError
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