pub struct RouteHandle {
pub channel: u16,
pub epoch: u32,
/* private fields */
}Expand description
Immutable identity of one route binding on one live connection.
Only channel and epoch are serialized. The private connection token prevents
work retained from an earlier connection from acting on a later connection that
happens to reuse the same wire pair.
Fields§
§channel: u16§epoch: u32Trait Implementations§
Source§impl Clone for RouteHandle
impl Clone for RouteHandle
Source§fn clone(&self) -> RouteHandle
fn clone(&self) -> RouteHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RouteHandle
Source§impl Debug for RouteHandle
impl Debug for RouteHandle
impl Eq for RouteHandle
Source§impl Hash for RouteHandle
impl Hash for RouteHandle
Source§impl PartialEq for RouteHandle
impl PartialEq for RouteHandle
impl StructuralPartialEq for RouteHandle
Auto Trait Implementations§
impl Freeze for RouteHandle
impl RefUnwindSafe for RouteHandle
impl Send for RouteHandle
impl Sync for RouteHandle
impl Unpin for RouteHandle
impl UnsafeUnpin for RouteHandle
impl UnwindSafe for RouteHandle
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