Struct webrtc_util::vnet::router::RouterConfig
source · pub struct RouterConfig {
pub name: String,
pub cidr: String,
pub static_ips: Vec<String>,
pub static_ip: String,
pub queue_size: usize,
pub nat_type: Option<NatType>,
pub min_delay: Duration,
pub max_jitter: Duration,
}
Fields§
§name: String
§cidr: String
§static_ips: Vec<String>
§static_ip: String
§queue_size: usize
§nat_type: Option<NatType>
§min_delay: Duration
§max_jitter: Duration
Trait Implementations§
source§impl Default for RouterConfig
impl Default for RouterConfig
source§fn default() -> RouterConfig
fn default() -> RouterConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for RouterConfig
impl Send for RouterConfig
impl Sync for RouterConfig
impl Unpin for RouterConfig
impl UnwindSafe for RouterConfig
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