Enum air_test_utils::AVMError
source · pub enum AVMError<E> {
InterpreterFailed(ErrorAVMOutcome),
RunnerError(RunnerError),
DataStoreError(E),
AnomalyDataSeError(Error),
}
Variants§
InterpreterFailed(ErrorAVMOutcome)
This error contains interpreter outcome in case when execution failed on the interpreter side. A host should match on this error type explicitly to save provided data.
RunnerError(RunnerError)
This errors are encountered from an AVM runner.
DataStoreError(E)
This errors are encountered from a data store object.
AnomalyDataSeError(Error)
This errors are encountered from serialization of data tracked during an anomaly.
Trait Implementations§
source§impl<E> Error for AVMError<E>where
E: Error,
AVMError<E>: Debug + Display,
impl<E> Error for AVMError<E>where E: Error, AVMError<E>: Debug + Display,
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()
Auto Trait Implementations§
impl<E> !RefUnwindSafe for AVMError<E>
impl<E> Send for AVMError<E>where E: Send,
impl<E> Sync for AVMError<E>where E: Sync,
impl<E> Unpin for AVMError<E>where E: Unpin,
impl<E> !UnwindSafe for AVMError<E>
Blanket Implementations§
§impl<T> FromFd for Twhere
T: From<OwnedFd>,
impl<T> FromFd for Twhere T: From<OwnedFd>,
§impl<T> FromFilelike for Twhere
T: From<OwnedFd>,
impl<T> FromFilelike for Twhere T: From<OwnedFd>,
§fn from_filelike(owned: OwnedFd) -> T
fn from_filelike(owned: OwnedFd) -> T
Constructs a new instance of
Self
from the given filelike object. Read more§fn from_into_filelike<Owned>(owned: Owned) -> Twhere
Owned: IntoFilelike,
fn from_into_filelike<Owned>(owned: Owned) -> Twhere Owned: IntoFilelike,
Constructs a new instance of
Self
from the given filelike object
converted from into_owned
. Read more§impl<T> FromSocketlike for Twhere
T: From<OwnedFd>,
impl<T> FromSocketlike for Twhere T: From<OwnedFd>,
§fn from_socketlike(owned: OwnedFd) -> T
fn from_socketlike(owned: OwnedFd) -> T
Constructs a new instance of
Self
from the given socketlike object.§fn from_into_socketlike<Owned>(owned: Owned) -> Twhere
Owned: IntoSocketlike,
fn from_into_socketlike<Owned>(owned: Owned) -> Twhere Owned: IntoSocketlike,
Constructs a new instance of
Self
from the given socketlike object
converted from into_owned
.§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where T: AsFilelike,
Query the “status” flags for the
self
file descriptor.