pub struct Sessions<'a> { /* private fields */ }Expand description
Session mode: the credentials the proxy accepts and where their taint is read.
Implementations§
Source§impl<'a> Sessions<'a>
impl<'a> Sessions<'a>
Sourcepub fn new(credentials: Vec<Credential>, taint: &'a dyn TaintLookup) -> Self
pub fn new(credentials: Vec<Credential>, taint: &'a dyn TaintLookup) -> Self
Accept credentials; look each session’s taint up in taint.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Sessions<'a>
impl<'a> !UnwindSafe for Sessions<'a>
impl<'a> Freeze for Sessions<'a>
impl<'a> Send for Sessions<'a>
impl<'a> Sync for Sessions<'a>
impl<'a> Unpin for Sessions<'a>
impl<'a> UnsafeUnpin for Sessions<'a>
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