Struct gotham::middleware::security::SecurityMiddleware [−][src]
pub struct SecurityMiddleware;
Expand description
Middleware binding for the Gotham security handlers.
This acts as nothing more than a trait implementation for the time being; there are no fields on the struct in use (yet).
Trait Implementations
Middleware
trait implementation.
NewMiddleware
trait implementation.
Clones the current middleware to a new instance.
type Instance = Self
type Instance = Self
The type of Middleware
created by the NewMiddleware
.
Auto Trait Implementations
impl RefUnwindSafe for SecurityMiddleware
impl Send for SecurityMiddleware
impl Sync for SecurityMiddleware
impl Unpin for SecurityMiddleware
impl UnwindSafe for SecurityMiddleware
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more