pub struct ShardCacheTopology {
pub node_id: String,
pub shard_count: usize,
pub route_mode: String,
pub direct_shard_base_port: u16,
pub capabilities: Vec<String>,
}Expand description
Topology advertised by a shardcache server bootstrap listener.
Fields§
§node_id: String§shard_count: usize§route_mode: String§direct_shard_base_port: u16§capabilities: Vec<String>Trait Implementations§
Source§impl Clone for ShardCacheTopology
impl Clone for ShardCacheTopology
Source§fn clone(&self) -> ShardCacheTopology
fn clone(&self) -> ShardCacheTopology
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 ShardCacheTopology
impl Debug for ShardCacheTopology
impl Eq for ShardCacheTopology
Source§impl PartialEq for ShardCacheTopology
impl PartialEq for ShardCacheTopology
impl StructuralPartialEq for ShardCacheTopology
Auto Trait Implementations§
impl Freeze for ShardCacheTopology
impl RefUnwindSafe for ShardCacheTopology
impl Send for ShardCacheTopology
impl Sync for ShardCacheTopology
impl Unpin for ShardCacheTopology
impl UnsafeUnpin for ShardCacheTopology
impl UnwindSafe for ShardCacheTopology
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