pub enum AccessError {
Show 18 variants
DecisionSlotIxOutOfBounds(i64),
DecisionIndexOutOfBounds,
DecisionLengthTooLarge(usize),
DecisionValueRangeOutOfBounds(i64, i64),
SolutionDataOutOfBounds,
PubVarDataOutOfBounds,
PubVarKeyOutOfBounds,
StateSlotIxOutOfBounds(i64),
StateValueRangeOutOfBounds(i64, i64),
InvalidStateSlotDelta(i64),
StateMutationsLengthTooLarge(usize),
StateValueTooLarge(usize),
PathwayOutOfBounds(i64),
KeyLengthOutOfBounds(i64),
InvalidAccessRange,
SlotsLengthTooLarge(usize),
InvalidSlotType(i64),
MissingArg(MissingAccessArgError),
}Expand description
Access operation error.
Variants§
DecisionSlotIxOutOfBounds(i64)
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.
DecisionValueRangeOutOfBounds(i64, i64)
A decision var index was out of bounds.
SolutionDataOutOfBounds
A solution data index provided by a transient decision variable was out of bounds.
PubVarDataOutOfBounds
Pub var data range was out of bounds.
PubVarKeyOutOfBounds
Pub var key was out of bounds.
StateSlotIxOutOfBounds(i64)
A state slot index was out of bounds.
StateValueRangeOutOfBounds(i64, i64)
A state slot index was out of bounds.
InvalidStateSlotDelta(i64)
A state slot delta value was invalid. Must be 0 (pre) or 1 (post).
StateMutationsLengthTooLarge(usize)
The total length of the set of state mutations was too large.
StateValueTooLarge(usize)
The state slot value was too large.
PathwayOutOfBounds(i64)
The pathway index was out of bounds.
KeyLengthOutOfBounds(i64)
Key length was out of bounds.
InvalidAccessRange
The access range was invalid
SlotsLengthTooLarge(usize)
The length of the slots was too large large to fit in a Word.
InvalidSlotType(i64)
The which_slots argument was invalid.
MissingArg(MissingAccessArgError)
Missing argument error.
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
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.81.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<AccessError> for OpError
impl From<AccessError> for OpError
source§fn from(source: AccessError) -> OpError
fn from(source: AccessError) -> OpError
source§impl From<MissingAccessArgError> for AccessError
impl From<MissingAccessArgError> for AccessError
source§fn from(source: MissingAccessArgError) -> AccessError
fn from(source: MissingAccessArgError) -> AccessError
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
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>
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>
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