pub struct EmbeddedSessionRoute {
pub shard_id: usize,
}Expand description
Precomputed shard placement for one session prefix.
Fields§
§shard_id: usizeShard selected for the session.
Trait Implementations§
Source§impl Clone for EmbeddedSessionRoute
impl Clone for EmbeddedSessionRoute
Source§fn clone(&self) -> EmbeddedSessionRoute
fn clone(&self) -> EmbeddedSessionRoute
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 moreSource§impl Debug for EmbeddedSessionRoute
impl Debug for EmbeddedSessionRoute
Source§impl PartialEq for EmbeddedSessionRoute
impl PartialEq for EmbeddedSessionRoute
Source§fn eq(&self, other: &EmbeddedSessionRoute) -> bool
fn eq(&self, other: &EmbeddedSessionRoute) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EmbeddedSessionRoute
impl Eq for EmbeddedSessionRoute
impl StructuralPartialEq for EmbeddedSessionRoute
Auto Trait Implementations§
impl Freeze for EmbeddedSessionRoute
impl RefUnwindSafe for EmbeddedSessionRoute
impl Send for EmbeddedSessionRoute
impl Sync for EmbeddedSessionRoute
impl Unpin for EmbeddedSessionRoute
impl UnsafeUnpin for EmbeddedSessionRoute
impl UnwindSafe for EmbeddedSessionRoute
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