pub struct PointToPoint<L> { /* private fields */ }Expand description
A point-to-point network layer that forwards directly to a datalink.
Implementations§
Source§impl<L> PointToPoint<L>
impl<L> PointToPoint<L>
Sourcepub fn into_inner(self) -> L
pub fn into_inner(self) -> L
Consumes the wrapper and returns the inner datalink.
Trait Implementations§
Source§impl<L: DatalinkRead> NetworkRead for PointToPoint<L>
impl<L: DatalinkRead> NetworkRead for PointToPoint<L>
Source§impl<L: DatalinkWrite> NetworkWrite for PointToPoint<L>
impl<L: DatalinkWrite> NetworkWrite for PointToPoint<L>
Auto Trait Implementations§
impl<L> Freeze for PointToPoint<L>where
L: Freeze,
impl<L> RefUnwindSafe for PointToPoint<L>where
L: RefUnwindSafe,
impl<L> Send for PointToPoint<L>where
L: Send,
impl<L> Sync for PointToPoint<L>where
L: Sync,
impl<L> Unpin for PointToPoint<L>where
L: Unpin,
impl<L> UnsafeUnpin for PointToPoint<L>where
L: UnsafeUnpin,
impl<L> UnwindSafe for PointToPoint<L>where
L: UnwindSafe,
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