Enum fuchsia_fs::file::WriteError
source · pub enum WriteError {
Create(OpenError),
Fidl(Error),
WriteError(Status),
Overwrite,
}
Expand description
An error encountered while writing a file
Variants§
Trait Implementations§
source§impl Debug for WriteError
impl Debug for WriteError
source§impl Display for WriteError
impl Display for WriteError
source§impl Error for WriteError
impl Error for WriteError
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 WriteError
impl From<Error> for WriteError
Auto Trait Implementations§
impl Freeze for WriteError
impl !RefUnwindSafe for WriteError
impl Send for WriteError
impl Sync for WriteError
impl Unpin for WriteError
impl !UnwindSafe for WriteError
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