[−][src]Struct casper_node::components::contract_runtime::ContractRuntime
The contract runtime components.
Trait Implementations
impl<REv> Component<REv> for ContractRuntime where
REv: From<Event> + Send, [src]
REv: From<Event> + Send,
type Event = Event
Event associated with Component. Read more
type ConstructionError = ConfigError
Error emitted when constructing the component.
fn handle_event(
&mut self,
_effect_builder: EffectBuilder<REv>,
_rng: &mut dyn CryptoRngCore,
event: Self::Event
) -> Effects<Self::Event>[src]
&mut self,
_effect_builder: EffectBuilder<REv>,
_rng: &mut dyn CryptoRngCore,
event: Self::Event
) -> Effects<Self::Event>
impl DataSize for ContractRuntime[src]
const IS_DYNAMIC: bool[src]
const STATIC_HEAP_SIZE: usize[src]
fn estimate_heap_size(&self) -> usize[src]
impl Debug for ContractRuntime[src]
Auto Trait Implementations
impl RefUnwindSafe for ContractRuntime
impl Send for ContractRuntime
impl Sync for ContractRuntime
impl Unpin for ContractRuntime
impl UnwindSafe for ContractRuntime
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<REv, S> Component<REv> for S where
REv: From<NetworkRequest<KeyFingerprint, Message>> + Send,
S: StorageType + 'static, [src]
REv: From<NetworkRequest<KeyFingerprint, Message>> + Send,
S: StorageType + 'static,
type Event = Event<S>
Event associated with Component. Read more
type ConstructionError = Error
Error emitted when constructing the component.
pub fn handle_event(
&mut Self,
EffectBuilder<REv>,
&mut dyn CryptoRngCore,
<S as Component<REv>>::Event
) -> SmallVec<[Pin<Box<dyn Future<Output = SmallVec<[<S as Component<REv>>::Event; 2]>> + 'static + Send, Global>>; 2]>[src]
&mut Self,
EffectBuilder<REv>,
&mut dyn CryptoRngCore,
<S as Component<REv>>::Event
) -> SmallVec<[Pin<Box<dyn Future<Output = SmallVec<[<S as Component<REv>>::Event; 2]>> + 'static + Send, Global>>; 2]>
impl<T> From<T> for T[src]
impl<T> FromBits<T> for T[src]
impl<T> Instrument for T[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>, [src]
S: Into<Dispatch>,