pub struct ConsoleJsonState {
pub decisions: RuntimeDecisionState,
pub runtime: Option<MobRuntime>,
pub module_runtime: Option<Arc<Mutex<MobkitRuntimeHandle>>>,
pub contact_directory: Option<ContactDirectory>,
pub event_log: Option<Arc<dyn EventLogStore>>,
pub gateway_peer_keys: Option<GatewayPeerKeys>,
/* private fields */
}Fields§
§decisions: RuntimeDecisionState§runtime: Option<MobRuntime>§module_runtime: Option<Arc<Mutex<MobkitRuntimeHandle>>>§contact_directory: Option<ContactDirectory>§event_log: Option<Arc<dyn EventLogStore>>§gateway_peer_keys: Option<GatewayPeerKeys>Local gateway signing identity. Plumbed in so the console RPC
dispatch can answer mobkit/peer_pubkey and stamp non-inproc
cross_mob/wire_local descriptors with a real pubkey.
Trait Implementations§
Source§impl Clone for ConsoleJsonState
impl Clone for ConsoleJsonState
Source§fn clone(&self) -> ConsoleJsonState
fn clone(&self) -> ConsoleJsonState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConsoleJsonState
impl !RefUnwindSafe for ConsoleJsonState
impl Send for ConsoleJsonState
impl Sync for ConsoleJsonState
impl Unpin for ConsoleJsonState
impl UnsafeUnpin for ConsoleJsonState
impl !UnwindSafe for ConsoleJsonState
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