pub struct KernelTunDevice { /* private fields */ }Implementations§
Trait Implementations§
Source§impl TunDevice for KernelTunDevice
impl TunDevice for KernelTunDevice
async fn read_packet(&mut self) -> Result<Vec<u8>, TunnelError>
async fn write_packet(&mut self, packet: &[u8]) -> Result<(), TunnelError>
Auto Trait Implementations§
impl Freeze for KernelTunDevice
impl !RefUnwindSafe for KernelTunDevice
impl Send for KernelTunDevice
impl Sync for KernelTunDevice
impl Unpin for KernelTunDevice
impl UnsafeUnpin for KernelTunDevice
impl !UnwindSafe for KernelTunDevice
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