pub trait SocketControlMessageExt:
IsA<SocketControlMessage>
+ Sealed
+ 'static {
// Provided methods
fn level(&self) -> i32 { ... }
fn msg_type(&self) -> i32 { ... }
fn size(&self) -> usize { ... }
}
Expand description
Trait containing all SocketControlMessage
methods.
§Implementors
Provided Methods§
sourcefn level(&self) -> i32
fn level(&self) -> i32
Returns the “level” (i.e. the originating protocol) of the control message. This is often SOL_SOCKET.
§Returns
an integer describing the level
Object Safety§
This trait is not object safe.