pub struct RouteKey { /* private fields */ }
Implementations§
Source§impl RouteKey
impl RouteKey
pub fn protocol(&self) -> ConnectProtocol
pub fn index(&self) -> Index
pub fn index_usize(&self) -> usize
pub fn addr(&self) -> SocketAddr
Trait Implementations§
Source§impl Ord for RouteKey
impl Ord for RouteKey
Source§impl PartialOrd for RouteKey
impl PartialOrd for RouteKey
Source§impl ToRouteKeyForTcp<()> for &RouteKey
impl ToRouteKeyForTcp<()> for &RouteKey
Source§impl ToRouteKeyForTcp<()> for &mut RouteKey
impl ToRouteKeyForTcp<()> for &mut RouteKey
Source§impl ToRouteKeyForTcp<()> for RouteKey
impl ToRouteKeyForTcp<()> for RouteKey
Source§impl ToRouteKeyForUdp<()> for &RouteKey
impl ToRouteKeyForUdp<()> for &RouteKey
Source§impl ToRouteKeyForUdp<()> for &mut RouteKey
impl ToRouteKeyForUdp<()> for &mut RouteKey
Source§impl ToRouteKeyForUdp<()> for RouteKey
impl ToRouteKeyForUdp<()> for RouteKey
impl Copy for RouteKey
impl Eq for RouteKey
impl StructuralPartialEq for RouteKey
Auto Trait Implementations§
impl Freeze for RouteKey
impl RefUnwindSafe for RouteKey
impl Send for RouteKey
impl Sync for RouteKey
impl Unpin for RouteKey
impl UnwindSafe for RouteKey
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