pub struct FakeHostEvent {
pub status: HostStatusEvent,
pub class: HostStatusClass,
}Expand description
Status event produced by the fake host boundary.
Fields§
§status: HostStatusEventExplicit event that application tests feed back as canonical input.
class: HostStatusClassLedger classification for the event at the time it was produced.
Implementations§
Source§impl FakeHostEvent
impl FakeHostEvent
Sourcepub fn into_status(self) -> HostStatusEvent
pub fn into_status(self) -> HostStatusEvent
Consumes the event into the host status application tests feed as input.
Trait Implementations§
Source§impl Clone for FakeHostEvent
impl Clone for FakeHostEvent
Source§fn clone(&self) -> FakeHostEvent
fn clone(&self) -> FakeHostEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FakeHostEvent
impl Debug for FakeHostEvent
impl Eq for FakeHostEvent
Source§impl PartialEq for FakeHostEvent
impl PartialEq for FakeHostEvent
Source§fn eq(&self, other: &FakeHostEvent) -> bool
fn eq(&self, other: &FakeHostEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FakeHostEvent
Auto Trait Implementations§
impl Freeze for FakeHostEvent
impl RefUnwindSafe for FakeHostEvent
impl Send for FakeHostEvent
impl Sync for FakeHostEvent
impl Unpin for FakeHostEvent
impl UnsafeUnpin for FakeHostEvent
impl UnwindSafe for FakeHostEvent
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