pub struct InvalidByteError { /* private fields */ }Implementations§
Source§impl InvalidByteError
impl InvalidByteError
pub const kind: ErrorKind = Base64Decode
pub fn new() -> Self
pub fn code(&self) -> u16
pub fn with_code(self, code: u16) -> Self
pub fn message(&self) -> String
pub fn with_message(self, message: String) -> Self
pub fn details(&self) -> BTreeMap<String, Value>
pub fn with_details(self, details: BTreeMap<String, Value>) -> Self
pub fn class(&self) -> String
Trait Implementations§
Source§impl Clone for InvalidByteError
impl Clone for InvalidByteError
Source§fn clone(&self) -> InvalidByteError
fn clone(&self) -> InvalidByteError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InvalidByteError
impl Debug for InvalidByteError
Source§impl Display for InvalidByteError
impl Display for InvalidByteError
Source§impl Error for InvalidByteError
impl Error for InvalidByteError
1.30.0 · 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()
Source§impl From<InvalidByteError> for Error
impl From<InvalidByteError> for Error
Source§fn from(err: InvalidByteError) -> Error
fn from(err: InvalidByteError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidByteError
impl RefUnwindSafe for InvalidByteError
impl Send for InvalidByteError
impl Sync for InvalidByteError
impl Unpin for InvalidByteError
impl UnwindSafe for InvalidByteError
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