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.