Trait webrtc_util::vnet::router::NIC [−][src]
Required methods
fn get_interface(&self, if_name: &str) -> Option<&Interface>
[src]
fn get_interface_mut(&mut self, if_name: &str) -> Option<&mut Interface>
[src]
#[must_use]fn on_inbound_chunk<'life0, 'async_trait>(
&'life0 self,
c: Box<dyn Chunk + Send + Sync>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
c: Box<dyn Chunk + Send + Sync>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_static_ips(&self) -> &[IpAddr]
[src]
#[must_use]fn set_router<'life0, 'async_trait>(
&'life0 self,
r: Arc<Mutex<Router>>
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
r: Arc<Mutex<Router>>
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Implementors
impl NIC for Net
[src]
fn get_interface(&self, ifc_name: &str) -> Option<&Interface>
[src]
fn get_interface_mut(&mut self, ifc_name: &str) -> Option<&mut Interface>
[src]
fn set_router<'life0, 'async_trait>(
&'life0 self,
r: Arc<Mutex<Router>>
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
r: Arc<Mutex<Router>>
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn on_inbound_chunk<'life0, 'async_trait>(
&'life0 self,
c: Box<dyn Chunk + Send + Sync>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
c: Box<dyn Chunk + Send + Sync>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_static_ips(&self) -> &[IpAddr]
[src]
impl NIC for VNet
[src]
fn get_interface(&self, ifc_name: &str) -> Option<&Interface>
[src]
fn get_interface_mut(&mut self, ifc_name: &str) -> Option<&mut Interface>
[src]
fn set_router<'life0, 'async_trait>(
&'life0 self,
r: Arc<Mutex<Router>>
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
r: Arc<Mutex<Router>>
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn on_inbound_chunk<'life0, 'async_trait>(
&'life0 self,
c: Box<dyn Chunk + Send + Sync>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
c: Box<dyn Chunk + Send + Sync>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_static_ips(&self) -> &[IpAddr]
[src]
impl NIC for Router
[src]
fn get_interface(&self, ifc_name: &str) -> Option<&Interface>
[src]
fn get_interface_mut(&mut self, ifc_name: &str) -> Option<&mut Interface>
[src]
fn on_inbound_chunk<'life0, 'async_trait>(
&'life0 self,
c: Box<dyn Chunk + Send + Sync>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
c: Box<dyn Chunk + Send + Sync>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_static_ips(&self) -> &[IpAddr]
[src]
fn set_router<'life0, 'async_trait>(
&'life0 self,
parent: Arc<Mutex<Router>>
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
parent: Arc<Mutex<Router>>
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,