pub struct Guest;Expand description
The identity of Open: everyone is a guest.
Trait Implementations§
impl Copy for Guest
impl Eq for Guest
Source§impl Identity for Guest
impl Identity for Guest
Source§fn csrf_binding(&self) -> Option<&[u8]>
fn csrf_binding(&self) -> Option<&[u8]>
The value CSRF tokens are bound to: the session id, or a pre-session
id for a guest.
None means no binding exists, and an unsafe method
on a CSRF-protected route is refused.impl StructuralPartialEq for Guest
Auto Trait Implementations§
impl Forget for Guest
impl Freeze for Guest
impl RefUnwindSafe for Guest
impl Send for Guest
impl Sync for Guest
impl Unpin for Guest
impl UnsafeUnpin for Guest
impl UnwindSafe for Guest
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