Struct kmip_protocol::client::ClientBuilder[][src]

pub struct ClientBuilder<T> { /* fields omitted */ }
Expand description

Use this builder to construct a Client struct.

Implementations

Build a Client struct that will read/write from/to the given stream.

Creates a ClientBuilder which can be used to create a Client which will read/write from/to the given stream. The stream is expected to be a type which can read from and write to an established TCP connection to the KMIP server. In production the stream should also perform TLS de/encryption on the data read from/written to the stream.

The stream argument must implement the read and write traits which the Client will use to read/write from/to the stream.

Configure the Client to do include username/password authentication credentials in KMIP requests.

Configure the Client to use the given reader Config.

Build the configured Client struct instance.

Trait Implementations

Formats the value using the given formatter. 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.