Enum warp::reject::Rejections
source · enum Rejections {
Known(Known),
Custom(Box<dyn Cause>),
Combined(Box<Rejections>, Box<Rejections>),
}
Variants§
Implementations§
source§impl Rejections
impl Rejections
fn status(&self) -> StatusCode
fn into_response(&self) -> Response
fn find<T: 'static>(&self) -> Option<&T>
fn debug_list(&self, f: &mut DebugList<'_, '_>)
fn preferred(&self) -> &Rejections
Auto Trait Implementations§
impl Freeze for Rejections
impl !RefUnwindSafe for Rejections
impl Send for Rejections
impl Sync for Rejections
impl Unpin for Rejections
impl !UnwindSafe for Rejections
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