Struct diem_config::network_id::NetworkContext [−][src]
pub struct NetworkContext { /* fields omitted */ }Expand description
A grouping of common information between all networking code for logging. This should greatly reduce the groupings between these given everywhere, and will allow for logging accordingly.
Implementations
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for NetworkContext
impl Send for NetworkContext
impl Sync for NetworkContext
impl Unpin for NetworkContext
impl UnwindSafe for NetworkContext
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
Generates a hash used only for tests.