Struct postguard::Guard [−][src]
pub struct Guard { /* fields omitted */ }
Expand description
CORS-like statement analyzer for guarding queryable methods
Implementations
pub fn new(
allowed_statements: AllowedStatements,
allowed_functions: AllowedFunctions
) -> Self
pub fn new(
allowed_statements: AllowedStatements,
allowed_functions: AllowedFunctions
) -> Self
Create a new Guard from CORS-like ALLOWED-* configurations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Guard
impl UnwindSafe for Guard
Blanket Implementations
Mutably borrows from an owned value. Read more
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