gio::subclass::prelude

Trait SocketControlMessageImpl

Source
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§

Source

fn level(&self) -> i32

Source

fn msg_type(&self) -> i32

Source

fn size(&self) -> usize

Source

fn serialize(&self, data: &mut [u8])

Source

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.

Implementors§