Struct bitcoin::util::uint::ParseLengthError[][src]

pub struct ParseLengthError {
    pub actual: usize,
    pub expected: usize,
}

Invalid slice length Invalid slice length

Fields

actual: usize

The length of the slice de-facto

expected: usize

The required length of the slice

Trait Implementations

impl Clone for ParseLengthError[src]

impl Debug for ParseLengthError[src]

impl Display for ParseLengthError[src]

impl Error for ParseLengthError[src]

impl Hash for ParseLengthError[src]

impl Ord for ParseLengthError[src]

impl PartialEq<ParseLengthError> for ParseLengthError[src]

impl PartialOrd<ParseLengthError> for ParseLengthError[src]

impl Copy for ParseLengthError[src]

impl Eq for ParseLengthError[src]

impl StructuralEq for ParseLengthError[src]

impl StructuralPartialEq for ParseLengthError[src]

Auto Trait Implementations

impl RefUnwindSafe for ParseLengthError

impl Send for ParseLengthError

impl Sync for ParseLengthError

impl Unpin for ParseLengthError

impl UnwindSafe for ParseLengthError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.