pub struct HostFailure {
pub message: String,
pub origin: Option<u64>,
}Expand description
Trusted host failure. The optional origin is private to this invocation’s native caller and is never serialized into guest-visible JSON or properties.
Fields§
§message: String§origin: Option<u64>Trait Implementations§
Auto Trait Implementations§
impl Forget for HostFailure
impl Freeze for HostFailure
impl Move for HostFailure
impl RefUnwindSafe for HostFailure
impl Send for HostFailure
impl Sync for HostFailure
impl Unpin for HostFailure
impl UnsafeUnpin for HostFailure
impl UnwindSafe for HostFailure
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more