Struct oasis_core_runtime::dispatcher::PostInitState
source · pub struct PostInitState {
pub txn_dispatcher: Option<Box<dyn TxnDispatcher>>,
pub app: Option<Box<dyn App>>,
}
Expand description
State returned by the initializer.
Fields§
§txn_dispatcher: Option<Box<dyn TxnDispatcher>>
Optional transaction dispatcher that should be used.
app: Option<Box<dyn App>>
Optional ROFL application.
Trait Implementations§
source§impl Default for PostInitState
impl Default for PostInitState
source§fn default() -> PostInitState
fn default() -> PostInitState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PostInitState
impl !RefUnwindSafe for PostInitState
impl Send for PostInitState
impl Sync for PostInitState
impl Unpin for PostInitState
impl !UnwindSafe for PostInitState
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