Skip to main content

SocketDiagnosticsSeed

Trait SocketDiagnosticsSeed 

Source
pub trait SocketDiagnosticsSeed {
    type Output;

    // Required method
    fn resolve(self) -> Option<Self::Output>;
}
Expand description

A trait abstracting over the data required to calculate socket diagnostics. Allows delaying the computation arbitrarily long.

Required Associated Types§

Source

type Output

The concrete output type.

Required Methods§

Source

fn resolve(self) -> Option<Self::Output>

Completes the diagnostics construction.

Implementations on Foreign Types§

Source§

impl<I, D, BT> SocketDiagnosticsSeed for TcpSocketDiagnosticsSeed<I, D, BT>

Implementors§