Enum marine::HostImportError
source · 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§
source§impl Debug for HostImportError
impl Debug for HostImportError
source§impl Display for HostImportError
impl Display for HostImportError
source§impl Error for HostImportError
impl Error for HostImportError
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<FromUtf8Error> for HostImportError
impl From<FromUtf8Error> for HostImportError
source§fn from(source: FromUtf8Error) -> HostImportError
fn from(source: FromUtf8Error) -> HostImportError
Converts to this type from the input type.
source§impl From<LiError> for HostImportError
impl From<LiError> for HostImportError
source§fn from(source: LiError) -> HostImportError
fn from(source: LiError) -> HostImportError
Converts to this type from the input type.
source§impl From<LoError> for HostImportError
impl From<LoError> for HostImportError
source§fn from(source: LoError) -> HostImportError
fn from(source: LoError) -> HostImportError
Converts to this type from the input type.
source§impl From<RecordResolvableError> for HostImportError
impl From<RecordResolvableError> for HostImportError
source§fn from(source: RecordResolvableError) -> HostImportError
fn from(source: RecordResolvableError) -> HostImportError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HostImportError
impl RefUnwindSafe for HostImportError
impl Send for HostImportError
impl Sync for HostImportError
impl Unpin for HostImportError
impl UnwindSafe for HostImportError
Blanket Implementations§
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
source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
source§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.source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self
file descriptor. Read more