pub struct Failure {
pub status: FileStatus,
pub mode: Option<OpenMode>,
pub message: String,
}Expand description
mode is the mode the file is open in, or being opened in.
Fields§
§status: FileStatus§mode: Option<OpenMode>§message: StringAuto Trait Implementations§
impl Freeze for Failure
impl RefUnwindSafe for Failure
impl Send for Failure
impl Sync for Failure
impl Unpin for Failure
impl UnsafeUnpin for Failure
impl UnwindSafe for Failure
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