#[non_exhaustive]pub enum HostCallEnd {
Replied(HostReply),
TimedOut,
NoHost,
HostGone,
Cancelled,
}Expand description
How a call to the host ended.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Replied(HostReply)
TimedOut
NoHost
Nobody was there to answer when it was asked.
HostGone
Everyone who could answer went away before anyone did.
Cancelled
Trait Implementations§
Source§impl Clone for HostCallEnd
impl Clone for HostCallEnd
Auto Trait Implementations§
impl Forget for HostCallEnd
impl Freeze for HostCallEnd
impl Move for HostCallEnd
impl RefUnwindSafe for HostCallEnd
impl Send for HostCallEnd
impl Sync for HostCallEnd
impl Unpin for HostCallEnd
impl UnsafeUnpin for HostCallEnd
impl UnwindSafe for HostCallEnd
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