pub struct CloseError { /* private fields */ }
Expand description
Wraps any I/O error that can happen during closing the file
Implementations§
Source§impl CloseError
impl CloseError
Trait Implementations§
Source§impl Debug for CloseError
impl Debug for CloseError
Source§impl Display for CloseError
impl Display for CloseError
Source§impl Error for CloseError
impl Error for CloseError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for CloseError
impl !RefUnwindSafe for CloseError
impl Send for CloseError
impl Sync for CloseError
impl Unpin for CloseError
impl !UnwindSafe for CloseError
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