pub struct RouteHandle<'a> {
pub socket: &'a mut SocketHandle,
}Fields§
§socket: &'a mut SocketHandleImplementations§
Methods from Deref<Target = SocketHandle>§
pub fn next_seq(&mut self) -> u32
pub fn handle_link(&mut self) -> LinkHandle<'_>
pub fn handle_addr(&mut self) -> AddrHandle<'_>
pub fn handle_route(&mut self) -> RouteHandle<'_>
pub fn handle_rule(&mut self) -> RuleHandle<'_>
pub fn handle_neigh(&mut self) -> NeighHandle<'_>
pub fn handle_generic(&mut self) -> GenericHandle<'_>
pub fn handle_sock_diag(&mut self) -> SockDiagHandle<'_>
pub fn request( &mut self, msg: &mut Message, res_type: u16, ) -> Result<Vec<Vec<u8>>>
Trait Implementations§
Source§impl<'a> Deref for RouteHandle<'a>
impl<'a> Deref for RouteHandle<'a>
Source§impl DerefMut for RouteHandle<'_>
impl DerefMut for RouteHandle<'_>
Source§impl<'a> From<&'a mut SocketHandle> for RouteHandle<'a>
impl<'a> From<&'a mut SocketHandle> for RouteHandle<'a>
Source§fn from(socket: &'a mut SocketHandle) -> Self
fn from(socket: &'a mut SocketHandle) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for RouteHandle<'a>
impl<'a> RefUnwindSafe for RouteHandle<'a>
impl<'a> Send for RouteHandle<'a>
impl<'a> Sync for RouteHandle<'a>
impl<'a> Unpin for RouteHandle<'a>
impl<'a> !UnwindSafe for RouteHandle<'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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more