pub struct LsClientConfig {
pub timeout: Duration,
pub connect_timeout: Duration,
pub tls_identity: Option<TlsIdentity>,
pub target_fingerprint: Option<String>,
}Expand description
Configuration options for building an LsClient.
Fields§
§timeout: DurationClient timeout for requests (default: 30s).
connect_timeout: DurationConnect timeout (default: 5s).
tls_identity: Option<TlsIdentity>Local TLS identity used for mTLS client authentication.
target_fingerprint: Option<String>Pinned SHA-256 server certificate fingerprint (expected from receiver).
Trait Implementations§
Source§impl Clone for LsClientConfig
impl Clone for LsClientConfig
Source§impl Debug for LsClientConfig
impl Debug for LsClientConfig
Auto Trait Implementations§
impl Freeze for LsClientConfig
impl RefUnwindSafe for LsClientConfig
impl Send for LsClientConfig
impl Sync for LsClientConfig
impl Unpin for LsClientConfig
impl UnsafeUnpin for LsClientConfig
impl UnwindSafe for LsClientConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more