pub struct Csrf { /* private fields */ }Expand description
Rejects unsafe requests that do not carry the session’s CSRF token.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Csrf
impl RefUnwindSafe for Csrf
impl Send for Csrf
impl Sync for Csrf
impl Unpin for Csrf
impl UnsafeUnpin for Csrf
impl UnwindSafe for Csrf
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