Struct age_core::plugin::Connection[][src]

pub struct Connection<R: Read, W: Write> { /* fields omitted */ }
This is supported on crate feature plugin only.
Expand description

A connection to a plugin binary.

Implementations

Start a plugin binary with the given state machine.

Initialise a connection from an age client.

Runs a unidirectional phase as the controller.

Runs a unidirectional phase as the recipient.

Arguments

command_a, command_b, and (optionally) command_c are the known commands that are expected to be received. All other received commands (including grease) will be ignored.

Runs a bidirectional phase as the controller.

Runs a bidirectional phase as the recipient.

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.

Should always be Self

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.