pub enum K2Error {
Other {
ctx: Arc<str>,
src: DynInnerError,
},
}Expand description
The core kitsune2 error type. This type is used in all external kitsune apis as well as internally in some modules.
This type is required to implement Clone to ease the use of
shared futures, which require the entire Result to be Clone.
Variants§
Implementations§
Trait Implementations§
Source§impl Error for K2Error
impl Error for K2Error
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()
Auto Trait Implementations§
impl Freeze for K2Error
impl !RefUnwindSafe for K2Error
impl Send for K2Error
impl Sync for K2Error
impl Unpin for K2Error
impl !UnwindSafe for K2Error
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