pub enum EffectCapability {
FileSystemRead,
FileSystemWrite,
NetworkOutbound,
ExternalEffect,
ProcessSpawn,
EnvironmentRead,
EnvironmentWrite,
Clock,
}Expand description
External effect a node may request from the runtime boundary.
Variants§
FileSystemRead
Read from host filesystem resources.
FileSystemWrite
Write to host filesystem resources.
NetworkOutbound
Open outbound network connections.
ExternalEffect
Perform an external tool, service, database, or API effect.
ProcessSpawn
Spawn child processes.
EnvironmentRead
Read process environment.
EnvironmentWrite
Mutate process environment.
Clock
Use wall-clock time or timers.
Implementations§
Trait Implementations§
Source§impl Clone for EffectCapability
impl Clone for EffectCapability
Source§fn clone(&self) -> EffectCapability
fn clone(&self) -> EffectCapability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EffectCapability
impl Debug for EffectCapability
Source§impl Hash for EffectCapability
impl Hash for EffectCapability
Source§impl Ord for EffectCapability
impl Ord for EffectCapability
Source§fn cmp(&self, other: &EffectCapability) -> Ordering
fn cmp(&self, other: &EffectCapability) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EffectCapability
impl PartialEq for EffectCapability
Source§fn eq(&self, other: &EffectCapability) -> bool
fn eq(&self, other: &EffectCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for EffectCapability
impl PartialOrd for EffectCapability
impl Copy for EffectCapability
impl Eq for EffectCapability
impl StructuralPartialEq for EffectCapability
Auto Trait Implementations§
impl Freeze for EffectCapability
impl RefUnwindSafe for EffectCapability
impl Send for EffectCapability
impl Sync for EffectCapability
impl Unpin for EffectCapability
impl UnsafeUnpin for EffectCapability
impl UnwindSafe for EffectCapability
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).