pub trait RawSend: ErrorType {
// Required method
async fn send(
&mut self,
addr: [u8; 6],
data: &[u8],
) -> Result<(), Self::Error>;
}Expand description
Re-export the edge-nal crate
This trait is implemented by UDP sockets and models their datagram sending functionality.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".