Enum air_test_utils::prelude::HostImportError
pub enum HostImportError {
MismatchWValues(WType, WValue),
MismatchWValuesCount,
LifterError(LiError),
LowererError(LoError),
RecordNotFound(RecordResolvableError),
InvalidUTF8String(FromUtf8Error),
}
Variants§
MismatchWValues(WType, WValue)
An error occurred when host functions tries to lift IValues from WValues and the latter has different type.
MismatchWValuesCount
An error occurred when a host functions tries to lift IValues from WValues and the latter is not enough for that.
LifterError(LiError)
LowererError(LoError)
RecordNotFound(RecordResolvableError)
InvalidUTF8String(FromUtf8Error)
Trait Implementations§
§impl Debug for HostImportError
impl Debug for HostImportError
§impl Display for HostImportError
impl Display for HostImportError
§impl Error for HostImportError
impl Error for HostImportError
§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()
§impl From<FromUtf8Error> for HostImportError
impl From<FromUtf8Error> for HostImportError
§fn from(source: FromUtf8Error) -> HostImportError
fn from(source: FromUtf8Error) -> HostImportError
Converts to this type from the input type.
§impl From<LiError> for HostImportError
impl From<LiError> for HostImportError
§fn from(source: LiError) -> HostImportError
fn from(source: LiError) -> HostImportError
Converts to this type from the input type.
§impl From<LoError> for HostImportError
impl From<LoError> for HostImportError
§fn from(source: LoError) -> HostImportError
fn from(source: LoError) -> HostImportError
Converts to this type from the input type.
§impl From<RecordResolvableError> for HostImportError
impl From<RecordResolvableError> for HostImportError
§fn from(source: RecordResolvableError) -> HostImportError
fn from(source: RecordResolvableError) -> HostImportError
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for HostImportError
impl Send for HostImportError
impl Sync for HostImportError
impl Unpin for HostImportError
impl UnwindSafe for HostImportError
Blanket Implementations§
§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.