pub enum FusenError {
Error(Box<dyn Error>),
ErrorMessage(&'static str),
HttpError(HttpStatus),
Impossible,
}Variants§
Trait Implementations§
Source§impl Debug for FusenError
impl Debug for FusenError
Source§impl Display for FusenError
impl Display for FusenError
Source§impl Error for FusenError
impl Error for FusenError
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()
Source§impl From<FusenError> for Response<BoxBody<Bytes, Infallible>>
impl From<FusenError> for Response<BoxBody<Bytes, Infallible>>
Source§fn from(error: FusenError) -> Self
fn from(error: FusenError) -> Self
Converts to this type from the input type.
impl Send for FusenError
impl Sync for FusenError
Auto Trait Implementations§
impl !RefUnwindSafe for FusenError
impl !UnwindSafe for FusenError
impl Freeze for FusenError
impl Unpin for FusenError
impl UnsafeUnpin for FusenError
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