pub struct BootstrapInfo {
pub host: String,
pub port: u16,
pub room: u64,
}Expand description
Where a request’s peer node reaches it: the prefill deployment’s bootstrap server and the request’s room.
Fields§
§host: StringThe bootstrap server’s host.
port: u16Its port.
room: u64The room both nodes know the request by.
Trait Implementations§
Source§impl Clone for BootstrapInfo
impl Clone for BootstrapInfo
Source§impl Debug for BootstrapInfo
impl Debug for BootstrapInfo
impl Eq for BootstrapInfo
Source§impl PartialEq for BootstrapInfo
impl PartialEq for BootstrapInfo
impl StructuralPartialEq for BootstrapInfo
Auto Trait Implementations§
impl Freeze for BootstrapInfo
impl RefUnwindSafe for BootstrapInfo
impl Send for BootstrapInfo
impl Sync for BootstrapInfo
impl Unpin for BootstrapInfo
impl UnsafeUnpin for BootstrapInfo
impl UnwindSafe for BootstrapInfo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.