pub struct AppState {Show 18 fields
pub scheduler: Arc<Scheduler<App>>,
pub worker: Arc<WorkerPool>,
pub request: Request,
pub acme_challenge_map: RwLock<HashMap<Box<str>, Box<str>>>,
pub certs: RwLock<HashMap<Box<str>, Arc<CertifiedKey>>>,
pub opts: AppBuilderOpts,
pub broadcast: BroadcastManager,
pub permission_checker: Arc<RwLock<PermissionChecker>>,
pub auth_adapter: Arc<dyn AuthAdapter>,
pub meta_adapter: Arc<dyn MetaAdapter>,
pub blob_adapter: Arc<dyn BlobAdapter>,
pub crdt_adapter: Arc<dyn CrdtAdapter>,
pub rtdb_adapter: Arc<dyn RtdbAdapter>,
pub idp_adapter: Option<Arc<dyn IdentityProviderAdapter>>,
pub settings: Arc<SettingsService>,
pub settings_registry: Arc<FrozenSettingsRegistry>,
pub rate_limiter: Arc<RateLimitManager>,
pub extensions: Extensions,
}Fields§
§scheduler: Arc<Scheduler<App>>§worker: Arc<WorkerPool>§request: Request§acme_challenge_map: RwLock<HashMap<Box<str>, Box<str>>>§certs: RwLock<HashMap<Box<str>, Arc<CertifiedKey>>>§opts: AppBuilderOpts§broadcast: BroadcastManager§permission_checker: Arc<RwLock<PermissionChecker>>§auth_adapter: Arc<dyn AuthAdapter>§meta_adapter: Arc<dyn MetaAdapter>§blob_adapter: Arc<dyn BlobAdapter>§crdt_adapter: Arc<dyn CrdtAdapter>§rtdb_adapter: Arc<dyn RtdbAdapter>§idp_adapter: Option<Arc<dyn IdentityProviderAdapter>>§settings: Arc<SettingsService>§settings_registry: Arc<FrozenSettingsRegistry>§rate_limiter: Arc<RateLimitManager>§extensions: ExtensionsImplementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for AppState
impl !RefUnwindSafe for AppState
impl Send for AppState
impl Sync for AppState
impl Unpin for AppState
impl UnsafeUnpin for AppState
impl !UnwindSafe for AppState
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more