Enum bitvec::ptr::BitSpanError[][src]

pub enum BitSpanError<T> where
    T: BitStore
{ InvalidBitptr(BitPtrError<T>), TooLong(usize), TooHigh(*const T), }

An error produced when creating BitSpan encoded references.

Variants

InvalidBitptr(BitPtrError<T>)

The base BitPtr is invalid.

TooLong(usize)

BitSpan domains have a length ceiling.

TooHigh(*const T)

BitSpan domains have an address ceiling.

Trait Implementations

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Auto Trait Implementations

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

impl<T> Unpin for BitSpanError<T>

impl<T> UnwindSafe for BitSpanError<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.