pub struct TestNetZone<const CHECK_NODE_ID: bool>;Expand description
TODO
Trait Implementations§
Source§impl<const CHECK_NODE_ID: bool> Clone for TestNetZone<CHECK_NODE_ID>
impl<const CHECK_NODE_ID: bool> Clone for TestNetZone<CHECK_NODE_ID>
Source§fn clone(&self) -> TestNetZone<CHECK_NODE_ID>
fn clone(&self) -> TestNetZone<CHECK_NODE_ID>
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 moreimpl<const CHECK_NODE_ID: bool> Copy for TestNetZone<CHECK_NODE_ID>
Source§impl<const CHECK_NODE_ID: bool> Debug for TestNetZone<CHECK_NODE_ID>
impl<const CHECK_NODE_ID: bool> Debug for TestNetZone<CHECK_NODE_ID>
impl<const CHECK_NODE_ID: bool> Eq for TestNetZone<CHECK_NODE_ID>
Source§impl<const CHECK_NODE_ID: bool> NetworkZone for TestNetZone<CHECK_NODE_ID>
impl<const CHECK_NODE_ID: bool> NetworkZone for TestNetZone<CHECK_NODE_ID>
Source§const CHECK_NODE_ID: bool = CHECK_NODE_ID
const CHECK_NODE_ID: bool = CHECK_NODE_ID
Check if our node ID matches the incoming peers node ID for this network. Read more
Source§const BROADCAST_OWN_ADDR: bool = false
const BROADCAST_OWN_ADDR: bool = false
If
true, this network zone requires us to blend our own address and port into
the address book we plan on sharing to other peers.Source§type Addr = TestNetZoneAddr
type Addr = TestNetZoneAddr
The address type of this network.
Source§impl<const CHECK_NODE_ID: bool> PartialEq for TestNetZone<CHECK_NODE_ID>
impl<const CHECK_NODE_ID: bool> PartialEq for TestNetZone<CHECK_NODE_ID>
impl<const CHECK_NODE_ID: bool> StructuralPartialEq for TestNetZone<CHECK_NODE_ID>
Auto Trait Implementations§
impl<const CHECK_NODE_ID: bool> Freeze for TestNetZone<CHECK_NODE_ID>
impl<const CHECK_NODE_ID: bool> RefUnwindSafe for TestNetZone<CHECK_NODE_ID>
impl<const CHECK_NODE_ID: bool> Send for TestNetZone<CHECK_NODE_ID>
impl<const CHECK_NODE_ID: bool> Sync for TestNetZone<CHECK_NODE_ID>
impl<const CHECK_NODE_ID: bool> Unpin for TestNetZone<CHECK_NODE_ID>
impl<const CHECK_NODE_ID: bool> UnsafeUnpin for TestNetZone<CHECK_NODE_ID>
impl<const CHECK_NODE_ID: bool> UnwindSafe for TestNetZone<CHECK_NODE_ID>
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes