Struct tokio_unix_ipc::Handle[][src]

pub struct Handle<F>(_);
Expand description

Can transfer a unix file handle across processes.

The basic requirement is that you have an object that can be converted into a raw file handle and back. This for instance is the case for regular file objects, sockets and many more things.

Once the handle has been serialized the handle no longer lets you extract the value contained in it.

For customizing the serialization of libraries the HandleRef object should be used instead.

Implementations

Wraps the value in a handle.

Extracts the internal value.

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

Performs the conversion.

Serialize this value into the given Serde serializer. Read more

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.