pub trait SocketControlMessageImpl: ObjectImpl + SocketControlMessageImplExt {
// Provided methods
fn level(&self) -> i32 { ... }
fn msg_type(&self) -> i32 { ... }
fn size(&self) -> usize { ... }
fn serialize(&self, data: &mut [u8]) { ... }
fn deserialize(
level: i32,
type_: i32,
data: &[u8],
) -> Option<SocketControlMessage> { ... }
}
Provided Methods§
fn level(&self) -> i32
fn msg_type(&self) -> i32
fn size(&self) -> usize
fn serialize(&self, data: &mut [u8])
fn deserialize( level: i32, type_: i32, data: &[u8], ) -> Option<SocketControlMessage>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.