pub enum InboundAuthentication {
None,
UsernamePassword {
username: String,
password: String,
},
UsernamePasswordWithReuse {
username: String,
password: String,
reuse: Arc<AuthReuseCache>,
},
}Variants§
Trait Implementations§
Source§impl Clone for InboundAuthentication
impl Clone for InboundAuthentication
Source§fn clone(&self) -> InboundAuthentication
fn clone(&self) -> InboundAuthentication
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 moreSource§impl Debug for InboundAuthentication
impl Debug for InboundAuthentication
Auto Trait Implementations§
impl Freeze for InboundAuthentication
impl RefUnwindSafe for InboundAuthentication
impl Send for InboundAuthentication
impl Sync for InboundAuthentication
impl Unpin for InboundAuthentication
impl UnsafeUnpin for InboundAuthentication
impl UnwindSafe for InboundAuthentication
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