pub trait RawBind {
type Error: Error;
type Socket<'a>: RawReceive<Error = Self::Error, Error = Self::Error, Error = Self::Error, Error = Self::Error> + RawSend + RawSplit + Readable
where Self: 'a;
// Required method
async fn bind(&self) -> Result<Self::Socket<'_>, Self::Error>;
}Expand description
Re-export the edge-nal crate
This trait is implemented by raw socket stacks. The trait allows the underlying driver to
construct multiple connections that implement the raw socket traits
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".