Struct custodian_password::ClientConfig [−][src]
pub struct ClientConfig { /* fields omitted */ }Expand description
Client configuration.
Implementations
Create a new ClientConfig.
A PublicKey can be used to ensure the servers identity
during registration or login. If no PublicKey could be obtained
beforehand, it can be retrieved after successful registration or login.
Errors
Error::Config if PublicKey was not created with the same
Config.
Returns the Config associated with this ClientConfig.
Returns the PublicKey associated with this ClientConfig.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl UnwindSafe for ClientConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
