Struct tsukuyomi_cors::CORSError
source · pub struct CORSError { /* private fields */ }
Implementations
sourceimpl CORSError
impl CORSError
pub fn kind(&self) -> &CORSErrorKind
Trait Implementations
sourceimpl Fail for CORSError
impl Fail for CORSError
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresourceimpl From<CORSErrorKind> for CORSError
impl From<CORSErrorKind> for CORSError
sourcefn from(kind: CORSErrorKind) -> Self
fn from(kind: CORSErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for CORSError
impl Send for CORSError
impl Sync for CORSError
impl Unpin for CORSError
impl UnwindSafe for CORSError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more