pub struct SourceError { /* private fields */ }
Implementations§
Source§impl SourceError
impl SourceError
pub fn new(kind: SourceErrorKind) -> Self
pub fn from_io_err(err: Error) -> Self
Trait Implementations§
Source§impl Debug for SourceError
impl Debug for SourceError
Auto Trait Implementations§
impl Freeze for SourceError
impl !RefUnwindSafe for SourceError
impl Send for SourceError
impl Sync for SourceError
impl Unpin for SourceError
impl !UnwindSafe for SourceError
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