Enum rfc6381_codec::CodecError
source · pub enum CodecError {
InvalidComponent(String),
ExpectedHierarchySeparator(String),
UnexpectedLength {
expected: usize,
got: String,
},
}
Variants§
InvalidComponent(String)
The given codec-string-component was not valid
ExpectedHierarchySeparator(String)
expected the ‘.’, but instead found the text included in the variant
UnexpectedLength
The length of the given string did not match the expected length
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CodecError
impl RefUnwindSafe for CodecError
impl Send for CodecError
impl Sync for CodecError
impl Unpin for CodecError
impl UnwindSafe for CodecError
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