pub struct Internet {
pub active: bool,
pub peers: Vec<InternetPeer>,
pub do_listen: bool,
pub listen: String,
}
Expand description
Internet Overlay Connection Module
Fields
active: bool
peers: Vec<InternetPeer>
do_listen: bool
listen: String
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Internet
impl<'de> Deserialize<'de> for Internet
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Internet
impl Send for Internet
impl Sync for Internet
impl Unpin for Internet
impl UnwindSafe for Internet
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more