pub struct AppCreatorBase<S: Server> {
pub running_state: Option<RunningState<S::ExtraRunningState>>,
pub phc_url: Url,
pub self_check_code: String,
pub jwt_key: SigningKey,
pub enc_key: PrivateKey,
pub admin_key: VerifyingKey,
pub shared: SharedState<S>,
pub version: Option<String>,
}Expand description
What’s internally common between PubHubs AppCreators.
Fields§
§running_state: Option<RunningState<S::ExtraRunningState>>§phc_url: Url§self_check_code: String§jwt_key: SigningKey§enc_key: PrivateKey§admin_key: VerifyingKey§version: Option<String>Implementations§
Source§impl<S: Server> AppCreatorBase<S>
impl<S: Server> AppCreatorBase<S>
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for AppCreatorBase<S>
impl<S> RefUnwindSafe for AppCreatorBase<S>where
<S as Server>::ExtraRunningState: RefUnwindSafe,
<S as Server>::ObjectStoreT: RefUnwindSafe,
<S as Server>::ExtraSharedState: RefUnwindSafe,
impl<S> Send for AppCreatorBase<S>where
<S as Server>::ExtraRunningState: Send,
<S as Server>::ExtraSharedState: Sync + Send,
<S as Server>::ObjectStoreT: Send,
impl<S> Sync for AppCreatorBase<S>where
<S as Server>::ExtraRunningState: Sync,
<S as Server>::ExtraSharedState: Sync + Send,
<S as Server>::ObjectStoreT: Send,
impl<S> Unpin for AppCreatorBase<S>
impl<S> UnsafeUnpin for AppCreatorBase<S>
impl<S> UnwindSafe for AppCreatorBase<S>where
<S as Server>::ExtraRunningState: UnwindSafe,
<S as Server>::ObjectStoreT: RefUnwindSafe,
<S as Server>::ExtraSharedState: RefUnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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