Enum marine::HostImportError
source · [−]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
sourceimpl Debug for HostImportError
impl Debug for HostImportError
sourceimpl Display for HostImportError
impl Display for HostImportError
sourceimpl Error for HostImportError
impl Error for HostImportError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<FromUtf8Error> for HostImportError
impl From<FromUtf8Error> for HostImportError
sourcefn from(source: FromUtf8Error) -> HostImportError
fn from(source: FromUtf8Error) -> HostImportError
Converts to this type from the input type.
sourceimpl From<LiError> for HostImportError
impl From<LiError> for HostImportError
sourcefn from(source: LiError) -> HostImportError
fn from(source: LiError) -> HostImportError
Converts to this type from the input type.
sourceimpl From<LoError> for HostImportError
impl From<LoError> for HostImportError
sourcefn from(source: LoError) -> HostImportError
fn from(source: LoError) -> HostImportError
Converts to this type from the input type.
sourceimpl From<RecordResolvableError> for HostImportError
impl From<RecordResolvableError> for HostImportError
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more