pub enum DecodeError {
RegexError(Error),
InvalidNamespace(String),
TooManyColons(String),
}Expand description
Error handling for Namespace::decode() method
Variants§
RegexError(Error)
Error cause from ‘regex’ crate
InvalidNamespace(String)
Cause when there is invalid character inside namespace. The original string is attached to this error.
TooManyColons(String)
Cause when there are too many colons inside namespace. The original string is attached to this error.
Trait Implementations§
Source§impl Debug for DecodeError
impl Debug for DecodeError
Source§impl Display for DecodeError
impl Display for DecodeError
Source§impl From<DecodeError> for DropTypeError
impl From<DecodeError> for DropTypeError
Source§fn from(error: DecodeError) -> DropTypeError
fn from(error: DecodeError) -> DropTypeError
Converts to this type from the input type.
Source§impl From<DecodeError> for ExtensionError
impl From<DecodeError> for ExtensionError
Source§fn from(error: DecodeError) -> ExtensionError
fn from(error: DecodeError) -> ExtensionError
Converts to this type from the input type.
Source§impl From<DecodeError> for ScriptFormatError
impl From<DecodeError> for ScriptFormatError
Source§fn from(error: DecodeError) -> ScriptFormatError
fn from(error: DecodeError) -> ScriptFormatError
Converts to this type from the input type.
Source§impl From<Error> for DecodeError
impl From<Error> for DecodeError
Source§fn from(error: Error) -> DecodeError
fn from(error: Error) -> DecodeError
Converts to this type from the input type.
Source§impl PartialEq for DecodeError
impl PartialEq for DecodeError
impl StructuralPartialEq for DecodeError
Auto Trait Implementations§
impl Freeze for DecodeError
impl RefUnwindSafe for DecodeError
impl Send for DecodeError
impl Sync for DecodeError
impl Unpin for DecodeError
impl UnsafeUnpin for DecodeError
impl UnwindSafe for DecodeError
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