Struct oasis_core_runtime::dispatcher::PreInitState
source · pub struct PreInitState<'a> {
pub protocol: &'a Arc<Protocol>,
pub identity: &'a Arc<Identity>,
pub rpc_demux: &'a mut Demux,
pub rpc_dispatcher: &'a mut Dispatcher,
pub consensus_verifier: &'a Arc<dyn Verifier>,
}
Expand description
State available before initialization.
Fields§
§protocol: &'a Arc<Protocol>
Protocol instance.
identity: &'a Arc<Identity>
Runtime Attestation Key instance.
rpc_demux: &'a mut Demux
RPC demultiplexer instance.
rpc_dispatcher: &'a mut Dispatcher
RPC dispatcher instance.
consensus_verifier: &'a Arc<dyn Verifier>
Consensus verifier instance.
Auto Trait Implementations§
impl<'a> Freeze for PreInitState<'a>
impl<'a> !RefUnwindSafe for PreInitState<'a>
impl<'a> Send for PreInitState<'a>
impl<'a> Sync for PreInitState<'a>
impl<'a> Unpin for PreInitState<'a>
impl<'a> !UnwindSafe for PreInitState<'a>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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