Struct sequoia_ipc::Descriptor

source ·
pub struct Descriptor { /* private fields */ }
Expand description

A descriptor is used to connect to a service.

Implementations

Create a descriptor given its rendezvous point, the path to the servers executable file, and a handler factory.

Returns the context.

Connects to a descriptor, starting the server if necessary.

Panic

This will panic if called outside of the Tokio runtime context. See See Handle::enter for more details.

Connects to a descriptor, starting the server if necessary.

This function does not use the context’s IPC policy, but uses the given one.

Panic

This will panic if called outside of the Tokio runtime context. See See Handle::enter for more details.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.