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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)