Enum sp_core::offchain::Capability [−][src]
#[repr(u8)] pub enum Capability { TransactionPool, Http, Keystore, Randomness, NetworkState, OffchainWorkerDbRead, OffchainWorkerDbWrite, NodeAuthorization, }
Execution context extra capabilities.
Variants
Access to transaction pool.
External http calls.
Keystore access.
Randomness source.
Access to opaque network state.
Access to offchain worker DB (read only).
Access to offchain worker DB (writes).
Manage the authorized nodes
Trait Implementations
impl Clone for Capability
[src]
impl Clone for Capability
[src]fn clone(&self) -> Capability
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<Capability> for Capability
[src]
impl PartialEq<Capability> for Capability
[src]impl Copy for Capability
[src]
impl Eq for Capability
[src]
impl StructuralEq for Capability
[src]
impl StructuralPartialEq for Capability
[src]
Auto Trait Implementations
impl RefUnwindSafe for Capability
impl Send for Capability
impl Sync for Capability
impl Unpin for Capability
impl UnwindSafe for Capability
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]pub fn unchecked_into(Self) -> T
[src]
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,