pub struct Session<S, P>where
S: Clone,{ /* private fields */ }Expand description
This endpoint implements the Session component.
It can be mounted on the following components:
Implementations§
Source§impl<S, P> Session<S, P>where
S: AsRef<dyn AuthenticateRequest> + Clone + Send + Sync + 'static,
P: OperationPrivilegeMapping + 'static,
<P as OperationPrivilegeMapping>::Get: Send,
<P as OperationPrivilegeMapping>::Delete: Send,
impl<S, P> Session<S, P>where
S: AsRef<dyn AuthenticateRequest> + Clone + Send + Sync + 'static,
P: OperationPrivilegeMapping + 'static,
<P as OperationPrivilegeMapping>::Get: Send,
<P as OperationPrivilegeMapping>::Delete: Send,
Trait Implementations§
Auto Trait Implementations§
impl<S, P> Freeze for Session<S, P>
impl<S, P> !RefUnwindSafe for Session<S, P>
impl<S, P> Send for Session<S, P>
impl<S, P> !Sync for Session<S, P>
impl<S, P> Unpin for Session<S, P>
impl<S, P> !UnwindSafe for Session<S, P>
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