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

pub enum BitVecOperatorError {
    InsufficientStorage,
    InvalidArity,
    InvalidLength,
}

Error than can be returned from operator-related functions.

Variants

InsufficientStorage

Insufficient storage for result; e.g. trying to concatenate two 128-bit SmallBitVectors. [BitVec::apply_operator] never returns this error.

InvalidArity

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

InvalidLength

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

Trait Implementations

impl From<BitVecOperatorError> for ExprError[src]

impl From<TryFromBitVecError> for BitVecOperatorError[src]

impl Clone for BitVecOperatorError[src]

impl Copy for BitVecOperatorError[src]

impl Eq for BitVecOperatorError[src]

impl PartialEq<BitVecOperatorError> for BitVecOperatorError[src]

impl Debug for BitVecOperatorError[src]

impl Hash for BitVecOperatorError[src]

impl StructuralPartialEq for BitVecOperatorError[src]

impl StructuralEq for BitVecOperatorError[src]

Auto Trait Implementations

impl Send for BitVecOperatorError

impl Sync for BitVecOperatorError

impl Unpin for BitVecOperatorError

impl UnwindSafe for BitVecOperatorError

impl RefUnwindSafe for BitVecOperatorError

Blanket Implementations

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

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

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]