pub trait WireEndpoints: Sized + EndpointSet {
// Required method
fn bind(
limits: WireStreamLimits,
) -> Result<(Self, WireStreams), ServingError>;
// Provided method
fn empty() -> Option<Self> { ... }
}Required Methods§
fn bind(limits: WireStreamLimits) -> Result<(Self, WireStreams), ServingError>
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".