Struct warg_server::api::v1::Error
source · pub struct Error { /* private fields */ }Expand description
Represents a generic error from the API.
Trait Implementations§
source§impl From<JsonRejection> for Error
impl From<JsonRejection> for Error
source§fn from(rejection: JsonRejection) -> Self
fn from(rejection: JsonRejection) -> Self
Converts to this type from the input type.
source§impl From<PathRejection> for Error
impl From<PathRejection> for Error
source§fn from(rejection: PathRejection) -> Self
fn from(rejection: PathRejection) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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