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§
Auto Trait Implementations§
impl !RefUnwindSafe for NetworkSource
impl !UnwindSafe for NetworkSource
impl Freeze for NetworkSource
impl Send for NetworkSource
impl Sync for NetworkSource
impl Unpin for NetworkSource
impl UnsafeUnpin 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