pub struct MockDiscovery {
pub machines: Vec<DiscoveredMachine>,
}Expand description
The handle MockRuntime::start_discovery returns: a fixed listing, with
Listener as its source so the tab renders the real-listener wording.
Fields§
§machines: Vec<DiscoveredMachine>Trait Implementations§
Source§impl DiscoveryListener for MockDiscovery
impl DiscoveryListener for MockDiscovery
fn snapshot(&mut self) -> DiscoverySnapshot
Auto Trait Implementations§
impl Freeze for MockDiscovery
impl RefUnwindSafe for MockDiscovery
impl Send for MockDiscovery
impl Sync for MockDiscovery
impl Unpin for MockDiscovery
impl UnsafeUnpin for MockDiscovery
impl UnwindSafe for MockDiscovery
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