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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

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

Implementors§