[−][src]Enum cbor_enhanced::CborError
Variants
Unknown(&'static str)
ExpectBool(Special)
ExpectNull(Special)
ExpectUndefined(Special)
ExpectUnassigned(Special)
ExpectFloat(Special)
ExpectBreak(Special)
Incomplete(Needed)
InvalidUtf8(Utf8Error)
InvalidIntegerByteSize(u8)
UnhandledSpecialType(u8)
ExpectText(Type)
ExpectBytes(Type)
ExpectUnsigned(Type)
ExpectNegative(Type)
ExpectSpecial(Type)
ExpectReducedSpecial(Special)
ExpectArray(Type)
ExpectMap(Type)
InvalidTags(IanaTag, &'static [IanaTag])
Fields of InvalidArrayLength
expected: &'static [usize]
got: usize
TransmutionFailed(String)
DateTimeParsingFailed(String)
InvalidTimeType(Type)
InvalidNumberConversion(String)
ExpectNumber(String)
NoValueFound(&'static str)
Trait Implementations
impl Clone for CborError
[src]
impl Debug for CborError
[src]
impl Display for CborError
[src]
impl Fail for CborError
[src]
fn name(&self) -> Option<&str>
[src]
fn cause(&self) -> Option<&dyn Fail>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
fn compat(self) -> Compat<Self>
[src]
impl From<Err<CborError>> for CborError
[src]
impl From<Utf8Error> for CborError
[src]
impl<'_> ParseError<&'_ [u8]> for CborError
[src]
Auto Trait Implementations
impl RefUnwindSafe for CborError
impl Send for CborError
impl Sync for CborError
impl Unpin for CborError
impl UnwindSafe for CborError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail,
[src]
T: Fail,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
[src]
E: 'static + Error + Send + Sync,
fn name(&self) -> Option<&str>
[src]
fn cause(&self) -> Option<&(dyn Fail + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
fn compat(self) -> Compat<Self>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,