pub enum NetworkSource {
Platform,
Test(TestNetwork),
Refused(NetworkWatchError),
}Expand description
Where the store’s watch hears about the network: the platform’s own, or a test’s.
Variants§
Platform
What the platform this runs on says (api.md E5).
Test(TestNetwork)
A network a test drives (api.md E1 network).
Refused(NetworkWatchError)
A platform that refuses the watch with this error.
Trait Implementations§
Source§impl Clone for NetworkSource
impl Clone for NetworkSource
Source§fn clone(&self) -> NetworkSource
fn clone(&self) -> NetworkSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NetworkSource
impl !RefUnwindSafe for NetworkSource
impl Send for NetworkSource
impl Sync for NetworkSource
impl Unpin for NetworkSource
impl UnsafeUnpin for NetworkSource
impl !UnwindSafe for NetworkSource
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