pub struct CsrfLayer {
pub(crate) config: CsrfConfig,
}
Expand description
CSRF layer struct used to pass key and CsrfConfig around.
Fields§
§config: CsrfConfig
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CsrfLayer
impl Send for CsrfLayer
impl Sync for CsrfLayer
impl Unpin for CsrfLayer
impl UnwindSafe for CsrfLayer
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