Struct fizyr_rpc::UnixBody[][src]

pub struct UnixBody {
    pub data: Vec<u8>,
    pub fds: Vec<FileDesc>,
}
Expand description

Body for the unix tranport.

The body includes data for a datagram, and a list of file descriptors to attach.

Fields

data: Vec<u8>

The contents for the datagram.

fds: Vec<FileDesc>

The file descriptors to attach.

Implementations

Create a new unix body with datagram contents and file descriptors to attach.

Trait Implementations

Create an empty message body.

Create a message body from an error message.

Interpret a body as error message. Read more

Interpret a body as error message. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.