Enum bitvec::ptr::BitPtrError[][src]

pub enum BitPtrError<T> where
    T: BitStore
{ Null(NullPtrError), Misaligned(MisalignError<T>), BadIndex(BitIdxError<T::Mem>), }

Errors produced by invalid bit-pointer components.

Variants

The null address was provided.

Misaligned(MisalignError<T>)

The address was misaligned for the element type.

BadIndex(BitIdxError<T::Mem>)

The bit index was invalid for the element type.

Trait Implementations

impl<T: Clone> Clone for BitPtrError<T> where
    T: BitStore,
    T::Mem: Clone
[src]

impl<T: Copy> Copy for BitPtrError<T> where
    T: BitStore,
    T::Mem: Copy
[src]

impl<T: Debug> Debug for BitPtrError<T> where
    T: BitStore,
    T::Mem: Debug
[src]

impl<T> Display for BitPtrError<T> where
    T: BitStore
[src]

impl<T: Eq> Eq for BitPtrError<T> where
    T: BitStore,
    T::Mem: Eq
[src]

impl<T> Error for BitPtrError<T> where
    T: BitStore
[src]

impl<T> From<BitIdxError<<T as BitStore>::Mem>> for BitPtrError<T> where
    T: BitStore
[src]

impl<T> From<BitPtrError<T>> for BitSpanError<T> where
    T: BitStore
[src]

impl<T> From<Infallible> for BitPtrError<T> where
    T: BitStore
[src]

impl<T> From<MisalignError<T>> for BitPtrError<T> where
    T: BitStore
[src]

impl<T> From<NullPtrError> for BitPtrError<T> where
    T: BitStore
[src]

impl<T: Hash> Hash for BitPtrError<T> where
    T: BitStore,
    T::Mem: Hash
[src]

impl<T: Ord> Ord for BitPtrError<T> where
    T: BitStore,
    T::Mem: Ord
[src]

impl<T: PartialEq> PartialEq<BitPtrError<T>> for BitPtrError<T> where
    T: BitStore,
    T::Mem: PartialEq
[src]

impl<T: PartialOrd> PartialOrd<BitPtrError<T>> for BitPtrError<T> where
    T: BitStore,
    T::Mem: PartialOrd
[src]

impl<T> StructuralEq for BitPtrError<T> where
    T: BitStore
[src]

impl<T> StructuralPartialEq for BitPtrError<T> where
    T: BitStore
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for BitPtrError<T> where
    T: RefUnwindSafe,
    <T as BitStore>::Mem: RefUnwindSafe

impl<T> Send for BitPtrError<T>

impl<T> Sync for BitPtrError<T>

impl<T> Unpin for BitPtrError<T>

impl<T> UnwindSafe for BitPtrError<T> where
    T: RefUnwindSafe,
    <T as BitStore>::Mem: UnwindSafe

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> Conv for T[src]

impl<T> FmtForward for T[src]

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

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

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

impl<T> Tap for 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> TryConv for T[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.