pub struct ClientAuthConfig {
pub hmac_key: Option<Vec<u8>>,
}Expand description
Authentication settings used by client sessions.
ClientConfig keeps its existing top-level HMAC field for source
compatibility. Managed multi-target callers can use this smaller type for
per-target auth overrides without carrying a full independent
ClientConfig.
Fields§
§hmac_key: Option<Vec<u8>>Optional HMAC key used to authenticate IRTT packets.
Trait Implementations§
Source§impl Clone for ClientAuthConfig
impl Clone for ClientAuthConfig
Source§impl Debug for ClientAuthConfig
impl Debug for ClientAuthConfig
Source§impl Default for ClientAuthConfig
impl Default for ClientAuthConfig
impl Eq for ClientAuthConfig
Source§impl From<ClientAuthConfig> for Option<Vec<u8>>
impl From<ClientAuthConfig> for Option<Vec<u8>>
Source§fn from(auth: ClientAuthConfig) -> Self
fn from(auth: ClientAuthConfig) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ClientAuthConfig
impl PartialEq for ClientAuthConfig
impl StructuralPartialEq for ClientAuthConfig
Auto Trait Implementations§
impl Freeze for ClientAuthConfig
impl RefUnwindSafe for ClientAuthConfig
impl Send for ClientAuthConfig
impl Sync for ClientAuthConfig
impl Unpin for ClientAuthConfig
impl UnsafeUnpin for ClientAuthConfig
impl UnwindSafe for ClientAuthConfig
Blanket Implementations§
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