Enum bitvec::ptr::AddressError[][src]

pub enum AddressError<T> where
    T: BitStore
{ Null, Misaligned(*const T), }

An error produced when consuming BitStore memory addresses.

Variants

Null

Address cannot use the null pointer.

Misaligned(*const T)

Address cannot be misaligned for the referent type T.

Trait Implementations

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

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

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

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

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

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

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

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

impl<T: Hash> Hash for AddressError<T> where
    T: BitStore
[src]

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

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

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

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

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

Auto Trait Implementations

impl<T> RefUnwindSafe for AddressError<T> where
    T: RefUnwindSafe

impl<T> !Send for AddressError<T>

impl<T> !Sync for AddressError<T>

impl<T> Unpin for AddressError<T>

impl<T> UnwindSafe for AddressError<T> where
    T: RefUnwindSafe

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

impl<T> PipeAsRef for T[src]

impl<T> PipeBorrow for T[src]

impl<T> PipeDeref for T[src]

impl<T> PipeRef for T[src]

impl<T> Tap for T[src]

impl<T> Tap for T[src]

impl<T, U> TapAsRef<U> for T where
    U: ?Sized
[src]

impl<T, U> TapBorrow<U> for T where
    U: ?Sized
[src]

impl<T> TapDeref 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> 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.