pub struct NatNetwork {
pub name: String,
pub peer_indices: Vec<usize>,
pub nat_type: NatType,
}Expand description
A NAT network containing one or more peers
Fields§
§name: String§peer_indices: Vec<usize>§nat_type: NatTypeTrait Implementations§
Source§impl Clone for NatNetwork
impl Clone for NatNetwork
Source§fn clone(&self) -> NatNetwork
fn clone(&self) -> NatNetwork
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 NatNetwork
impl RefUnwindSafe for NatNetwork
impl Send for NatNetwork
impl Sync for NatNetwork
impl Unpin for NatNetwork
impl UnwindSafe for NatNetwork
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