pub struct Controller<'a> { /* private fields */ }Expand description
A reference to the endpoint of layers below (phy + eth + ip).
This is not really useful on its own but should instead be used either within a In or a
Raw. Some of the methods offered there will access the non-public members of this struct to
fulfill their task.
Implementations§
Source§impl<'a> Controller<'a>
impl<'a> Controller<'a>
Sourcepub fn borrow_mut(&mut self) -> Controller<'_>
pub fn borrow_mut(&mut self) -> Controller<'_>
Proof to the compiler that we can shorten the lifetime arbitrarily.
Auto Trait Implementations§
impl<'a> Freeze for Controller<'a>
impl<'a> !RefUnwindSafe for Controller<'a>
impl<'a> !Send for Controller<'a>
impl<'a> !Sync for Controller<'a>
impl<'a> Unpin for Controller<'a>
impl<'a> UnsafeUnpin for Controller<'a>
impl<'a> !UnwindSafe for Controller<'a>
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