pub enum HostImportError {
MismatchWValues(Type, Value),
MismatchWValuesCount,
LifterError(LiError),
LowererError(LoError),
RecordNotFound(RecordResolvableError),
InvalidUTF8String(FromUtf8Error),
}
Variants§
MismatchWValues(Type, Value)
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.