pub struct HandlerStatus { /* private fields */ }
Implementations§
Source§impl HandlerStatus
impl HandlerStatus
pub fn code(&self) -> Code
pub fn message(&self) -> &'static str
pub fn details(&self) -> &'static str
pub fn new(code: Code) -> HandlerStatus
pub fn set_message(self, message: &'static str) -> HandlerStatus
pub fn set_details(self, description: &'static str) -> HandlerStatus
Auto Trait Implementations§
impl Freeze for HandlerStatus
impl RefUnwindSafe for HandlerStatus
impl Send for HandlerStatus
impl Sync for HandlerStatus
impl Unpin for HandlerStatus
impl UnwindSafe for HandlerStatus
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