Enum air_trace_handler::KeeperError
source · pub enum KeeperError {
SetSubtraceLenFailed {
requested_subtrace_len: TraceLen,
trace_position: TracePos,
trace_len: TraceLen,
},
SetSubtraceLenAndPosFailed {
requested_pos: TracePos,
requested_subtrace_len: TraceLen,
trace_len: TraceLen,
},
NoElementAtPosition {
position: TracePos,
trace_len: TraceLen,
},
NoStreamState {
state: ExecutedState,
},
}
Expand description
Errors arose out while accessing various interpreter data.
Variants§
SetSubtraceLenFailed
Errors occurred when trace_len - trace_position < requested_subtrace_len.
SetSubtraceLenAndPosFailed
Errors occurred when requested_subtrace_len != 0 && requested_pos + requested_subtrace_len > trace_len.
NoElementAtPosition
Errors occurred when Fold FSM tries to obtain stream generation by value_pos from a trace, but this value_pos is bigger than the trace length.
NoStreamState
Errors occurred when Fold FSM tries to obtain stream generation by value_pos from a trace, but such state doesn’t belong to values in streams (it doesn’t contain a generation).
Fields
§
state: ExecutedState
Trait Implementations§
source§impl Debug for KeeperError
impl Debug for KeeperError
source§impl Display for KeeperError
impl Display for KeeperError
source§impl Error for KeeperError
impl Error for KeeperError
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<KeeperError> for MergeError
impl From<KeeperError> for MergeError
source§fn from(source: KeeperError) -> Self
fn from(source: KeeperError) -> Self
Converts to this type from the input type.
source§impl From<KeeperError> for StateFSMError
impl From<KeeperError> for StateFSMError
source§fn from(source: KeeperError) -> Self
fn from(source: KeeperError) -> Self
Converts to this type from the input type.
source§impl From<KeeperError> for TraceHandlerError
impl From<KeeperError> for TraceHandlerError
source§fn from(source: KeeperError) -> Self
fn from(source: KeeperError) -> Self
Converts to this type from the input type.
source§impl PartialEq for KeeperError
impl PartialEq for KeeperError
source§fn eq(&self, other: &KeeperError) -> bool
fn eq(&self, other: &KeeperError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for KeeperError
impl StructuralPartialEq for KeeperError
Auto Trait Implementations§
impl Freeze for KeeperError
impl !RefUnwindSafe for KeeperError
impl !Send for KeeperError
impl !Sync for KeeperError
impl Unpin for KeeperError
impl !UnwindSafe for KeeperError
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
&self,
deserializer: &mut D,
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.