pub enum SendFileError {
IoError {
source: Error,
},
NixError {
source: Error,
},
}Variants§
Trait Implementations§
Source§impl Debug for SendFileError
impl Debug for SendFileError
Source§impl Display for SendFileError
impl Display for SendFileError
Source§impl Error for SendFileError
impl Error for SendFileError
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()
Source§impl From<Errno> for SendFileError
impl From<Errno> for SendFileError
Auto Trait Implementations§
impl Freeze for SendFileError
impl !RefUnwindSafe for SendFileError
impl Send for SendFileError
impl Sync for SendFileError
impl Unpin for SendFileError
impl !UnwindSafe for SendFileError
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