[][src]Enum gf::support::bitvec::BitVecOpError

pub enum BitVecOpError {
    InvalidArity,
    InvalidLen,
}

Error than can be returned from operator-related functions.

Variants

InvalidArity

Invalid arity: e.g. two operands were provided for a unary operator.

InvalidLen

Invalid bit vector length or combination of lengths, e.g. two different length operands were provided for an integer addition operator.

Trait Implementations

impl Clone for BitVecOpError[src]

impl Copy for BitVecOpError[src]

impl Debug for BitVecOpError[src]

impl Eq for BitVecOpError[src]

impl Hash for BitVecOpError[src]

impl PartialEq<BitVecOpError> for BitVecOpError[src]

impl StructuralEq for BitVecOpError[src]

impl StructuralPartialEq for BitVecOpError[src]

Auto Trait Implementations

impl RefUnwindSafe for BitVecOpError

impl Send for BitVecOpError

impl Sync for BitVecOpError

impl Unpin for BitVecOpError

impl UnwindSafe for BitVecOpError

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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, 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.