pub struct ConnectionOptions<'a> {
pub security_policy: SecurityPolicy,
pub user_identity: UserIdentity<'a>,
}Expand description
Select a channel policy and session user. The default is pinned Basic256Sha256 with an anonymous user.
Fields§
§security_policy: SecurityPolicyExplicit channel policy. A failed connection never falls back to a weaker policy.
user_identity: UserIdentity<'a>User token, independent of the client application certificate.
Trait Implementations§
Source§impl<'a> Clone for ConnectionOptions<'a>
impl<'a> Clone for ConnectionOptions<'a>
impl<'a> Copy for ConnectionOptions<'a>
Auto Trait Implementations§
impl<'a> Forget for ConnectionOptions<'a>
impl<'a> Freeze for ConnectionOptions<'a>
impl<'a> Move for ConnectionOptions<'a>
impl<'a> RefUnwindSafe for ConnectionOptions<'a>
impl<'a> Send for ConnectionOptions<'a>
impl<'a> Sync for ConnectionOptions<'a>
impl<'a> Unpin for ConnectionOptions<'a>
impl<'a> UnsafeUnpin for ConnectionOptions<'a>
impl<'a> UnwindSafe for ConnectionOptions<'a>
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