Enum nonymous::view::BoundsError[][src]

pub enum BoundsError {
    BackwardsRange(usize, usize),
    RangeOverflow(usize, usize),
    ReadOverflow(usize, usize, usize),
}
Expand description

bounds check failed

Variants

BackwardsRange(usize, usize)

range start ({0}) exceeds end ({1})

RangeOverflow(usize, usize)

range end ({0}) exceeds source length ({1})

ReadOverflow(usize, usize, usize)

read length ({0}) exceeds remaining offset range ({1}..{2})

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.