pub(super) struct Loopback {
inner: Mutex<LoopbackInner>,
flag: FlagBlock,
}
Fields
inner: Mutex<LoopbackInner>
flag: FlagBlock
Implementations
Trait Implementations
sourceimpl NetworkInterface for Loopback
impl NetworkInterface for Loopback
fn get_ethernet_addr(&self) -> EthernetAddr
fn send_ethernet<'life0, 'life1, 'async_trait>(
&'life0 self,
header_buffer: NicBuffer,
buffers: &'life1 [SendableBuffer<'_>]
) -> Pin<Box<dyn Future<Output = Result<(), EthernetError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn recv_ethernet<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Arc<NicBuffer>>, EthernetError>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl !ObjSafe for Loopback
impl RefUnwindSafe for Loopback
impl Send for Loopback
impl Sync for Loopback
impl Unpin for Loopback
impl UnwindSafe for Loopback
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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