Struct itsdangerous::InvalidSeparator
source · [−]pub struct InvalidSeparator(pub char);
Expand description
Error that occurs when trying to construct a Separator with a char is in the base64 url-safe alphabet.
Tuple Fields
0: char
Trait Implementations
sourceimpl Debug for InvalidSeparator
impl Debug for InvalidSeparator
sourceimpl Display for InvalidSeparator
impl Display for InvalidSeparator
sourceimpl Error for InvalidSeparator
impl Error for InvalidSeparator
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
Auto Trait Implementations
impl RefUnwindSafe for InvalidSeparator
impl Send for InvalidSeparator
impl Sync for InvalidSeparator
impl Unpin for InvalidSeparator
impl UnwindSafe for InvalidSeparator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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