Struct epp_proxy::client::ClientConf
source · [−]pub struct ClientConf<'a, C: Into<Option<&'a str>>> {Show 14 fields
pub host: &'a str,
pub tag: &'a str,
pub password: &'a str,
pub log_dir: PathBuf,
pub client_cert: Option<ClientCertConf<'a>>,
pub source_address: Option<&'a IpAddr>,
pub root_certs: &'a [&'a str],
pub danger_accept_invalid_certs: bool,
pub danger_accept_invalid_hostname: bool,
pub new_password: C,
pub pipelining: bool,
pub errata: Option<String>,
pub nominet_dac: Option<NominetDACConf<'a>>,
pub keepalive: bool,
}
Fields
host: &'a str
The server connection string, in the form domain:port
tag: &'a str
The client ID/tag to login with
password: &'a str
The password to login with
log_dir: PathBuf
Directory path to log commands to
client_cert: Option<ClientCertConf<'a>>
source_address: Option<&'a IpAddr>
Source address to bind the TLS connection to, for IP based ACLs etc.
root_certs: &'a [&'a str]
List of PEM file paths
danger_accept_invalid_certs: bool
Accept invalid TLS certs
danger_accept_invalid_hostname: bool
Accept TLS certs with a hostname that doesn’t match the DNS label
new_password: C
New password to set after login
pipelining: bool
Does the server support multiple commands in flight at once
errata: Option<String>
Errata of this server
nominet_dac: Option<NominetDACConf<'a>>
keepalive: bool
Should the client send keepalive commands automatically
Auto Trait Implementations
impl<'a, C> RefUnwindSafe for ClientConf<'a, C> where
C: RefUnwindSafe,
impl<'a, C> Send for ClientConf<'a, C> where
C: Send,
impl<'a, C> Sync for ClientConf<'a, C> where
C: Sync,
impl<'a, C> Unpin for ClientConf<'a, C> where
C: Unpin,
impl<'a, C> UnwindSafe for ClientConf<'a, C> where
C: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more