pub struct SecurityCtx {
pub tls: Option<Arc<ServerConfig>>,
pub auth: Arc<AuthMode>,
pub acl: Arc<Acl>,
}Expand description
Aufgelöste Security-Config — Output dieser Schicht.
Fields§
§tls: Option<Arc<ServerConfig>>Some(...) ⇒ TLS aktiv; rustls-ServerConfig (mit oder ohne mTLS).
auth: Arc<AuthMode>Auth-Mode (none/bearer/jwt/mtls/sasl).
acl: Arc<Acl>Topic-ACL.
Trait Implementations§
Source§impl Clone for SecurityCtx
impl Clone for SecurityCtx
Source§fn clone(&self) -> SecurityCtx
fn clone(&self) -> SecurityCtx
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SecurityCtx
impl !RefUnwindSafe for SecurityCtx
impl Send for SecurityCtx
impl Sync for SecurityCtx
impl Unpin for SecurityCtx
impl UnsafeUnpin for SecurityCtx
impl !UnwindSafe for SecurityCtx
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