Trait gio::prelude::SocketControlMessageExt
source · pub trait SocketControlMessageExt: 'static {
// Required methods
fn level(&self) -> i32;
fn msg_type(&self) -> i32;
fn size(&self) -> usize;
}
Expand description
Trait containing all SocketControlMessage
methods.
Implementors
Required 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