pub struct SuitError { /* private fields */ }Implementations§
Source§impl SuitError
impl SuitError
pub fn with_ctx(self, ctx: &'static str) -> Self
pub fn out_of_space(capacity: usize) -> Self
pub fn unknown_op(op: i64) -> Self
pub fn unexpected_hash_alg(id: i32) -> Self
pub fn invalid_digest() -> Self
pub fn is_decode_error(&self) -> bool
pub fn is_unknown_op(&self) -> bool
pub fn is_out_of_space(&self) -> bool
Trait Implementations§
Source§impl Error for SuitError
impl Error for SuitError
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 SuitError
impl RefUnwindSafe for SuitError
impl Send for SuitError
impl Sync for SuitError
impl Unpin for SuitError
impl UnsafeUnpin for SuitError
impl UnwindSafe for SuitError
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