pub type SentinelConfigForGuard = SentinelConfig<Outcome<SentinelGuard, BoxError>>;Aliased Type§
pub struct SentinelConfigForGuard {
pub extractor: Option<fn(&Request<'_>) -> String>,
pub fallback: Option<fn(&Request<'_>, Error) -> Outcome<SentinelGuard, (Status, Box<dyn Error + Sync + Send>), Status>>,
}Fields§
§extractor: Option<fn(&Request<'_>) -> String>§fallback: Option<fn(&Request<'_>, Error) -> Outcome<SentinelGuard, (Status, Box<dyn Error + Sync + Send>), Status>>