pub struct FullNetworkDiscovery<U> {
me: OffchainPublicKey,
cfg: ProberConfig,
graph: U,
}Fields§
§me: OffchainPublicKey§cfg: ProberConfig§graph: UImplementations§
Source§impl<U> FullNetworkDiscovery<U>
impl<U> FullNetworkDiscovery<U>
pub fn new(me: OffchainPublicKey, cfg: ProberConfig, graph: U) -> Self
Trait Implementations§
Source§impl<U> CoverTrafficGeneration for FullNetworkDiscovery<U>
impl<U> CoverTrafficGeneration for FullNetworkDiscovery<U>
Source§impl<U> ProbingTrafficGeneration for FullNetworkDiscovery<U>where
U: NetworkGraphView<NodeId = OffchainPublicKey, Observed = Observations> + NetworkGraphTraverse<NodeId = OffchainPublicKey> + Clone + Send + Sync + 'static,
impl<U> ProbingTrafficGeneration for FullNetworkDiscovery<U>where
U: NetworkGraphView<NodeId = OffchainPublicKey, Observed = Observations> + NetworkGraphTraverse<NodeId = OffchainPublicKey> + Clone + Send + Sync + 'static,
Auto Trait Implementations§
impl<U> Freeze for FullNetworkDiscovery<U>where
U: Freeze,
impl<U> RefUnwindSafe for FullNetworkDiscovery<U>where
U: RefUnwindSafe,
impl<U> Send for FullNetworkDiscovery<U>where
U: Send,
impl<U> Sync for FullNetworkDiscovery<U>where
U: Sync,
impl<U> Unpin for FullNetworkDiscovery<U>where
U: Unpin,
impl<U> UnwindSafe for FullNetworkDiscovery<U>where
U: UnwindSafe,
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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