Struct oasis_core_runtime::app::NoopApp
source · pub struct NoopApp;
Expand description
An application which doesn’t do anything.
Trait Implementations§
source§impl App for NoopApp
impl App for NoopApp
source§fn on_init(&mut self, host: Arc<dyn Host>) -> Result<()>
fn on_init(&mut self, host: Arc<dyn Host>) -> Result<()>
Called on application initialization.
source§fn quote_policy<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<QuotePolicy>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn quote_policy<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<QuotePolicy>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Quote policy to use for verifying our own enclave identity.
source§fn on_runtime_block<'life0, 'life1, 'async_trait>(
&'life0 self,
blk: &'life1 AnnotatedBlock,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn on_runtime_block<'life0, 'life1, 'async_trait>(
&'life0 self,
blk: &'life1 AnnotatedBlock,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Called on new runtime block being received.
source§fn on_runtime_event<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
blk: &'life1 AnnotatedBlock,
tags: &'life2 [Vec<u8>],
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn on_runtime_event<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
blk: &'life1 AnnotatedBlock,
tags: &'life2 [Vec<u8>],
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Called on new runtime event being detected.
Auto Trait Implementations§
impl Freeze for NoopApp
impl RefUnwindSafe for NoopApp
impl Send for NoopApp
impl Sync for NoopApp
impl Unpin for NoopApp
impl UnwindSafe for NoopApp
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