Struct narwhal_config::WorkerInfo
source · [−]pub struct WorkerInfo {
pub name: NetworkPublicKey,
pub transactions: Multiaddr,
pub worker_address: Multiaddr,
}
Fields
name: NetworkPublicKey
The public key of this worker.
transactions: Multiaddr
Address to receive client transactions (WAN).
worker_address: Multiaddr
Address to receive messages from other workers (WAN) and our primary.
Trait Implementations
sourceimpl Clone for WorkerInfo
impl Clone for WorkerInfo
sourcefn clone(&self) -> WorkerInfo
fn clone(&self) -> WorkerInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for WorkerInfo
impl Debug for WorkerInfo
sourceimpl<'de> Deserialize<'de> for WorkerInfo
impl<'de> Deserialize<'de> for WorkerInfo
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for WorkerInfo
impl Hash for WorkerInfo
sourceimpl PartialEq<WorkerInfo> for WorkerInfo
impl PartialEq<WorkerInfo> for WorkerInfo
sourcefn eq(&self, other: &WorkerInfo) -> bool
fn eq(&self, other: &WorkerInfo) -> bool
sourceimpl Serialize for WorkerInfo
impl Serialize for WorkerInfo
impl Eq for WorkerInfo
impl StructuralEq for WorkerInfo
impl StructuralPartialEq for WorkerInfo
Auto Trait Implementations
impl RefUnwindSafe for WorkerInfo
impl Send for WorkerInfo
impl Sync for WorkerInfo
impl Unpin for WorkerInfo
impl UnwindSafe for WorkerInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more