pub enum AccessError {
DecisionSlotOutOfBounds,
DecisionIndexOutOfBounds,
DecisionLengthTooLarge(usize),
SolutionDataOutOfBounds,
TransientDataOutOfBounds,
TransientDataKeyOutOfBounds,
StateSlotOutOfBounds,
InvalidStateSlotDelta(Word),
}
Expand description
Access operation error.
Variants§
DecisionSlotOutOfBounds
A decision variable slot was out of bounds.
DecisionIndexOutOfBounds
A decision variable slot index was out of bounds.
DecisionLengthTooLarge(usize)
A decision variable length was too large.
SolutionDataOutOfBounds
A solution data index provided by a transient decision variable was out of bounds.
TransientDataOutOfBounds
A transient data index was out of bounds.
TransientDataKeyOutOfBounds
A transient data key was out of bounds.
StateSlotOutOfBounds
A state slot index was out of bounds.
InvalidStateSlotDelta(Word)
A state slot delta value was invalid. Must be 0
(pre) or 1
(post).
Trait Implementations§
source§impl Debug for AccessError
impl Debug for AccessError
source§impl Display for AccessError
impl Display for AccessError
source§impl Error for AccessError
impl Error for AccessError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<AccessError> for OpError
impl From<AccessError> for OpError
source§fn from(source: AccessError) -> Self
fn from(source: AccessError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AccessError
impl RefUnwindSafe for AccessError
impl Send for AccessError
impl Sync for AccessError
impl Unpin for AccessError
impl UnwindSafe for AccessError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more