pub enum SideChannelSink {
Stderr,
Stdout,
LogBuffer,
File,
Network,
Other,
}Expand description
Where a Purity::SideChannel node writes its observable
side effects. Hosts reasoning about side-channel
determinism (D2) pattern-match on this to know what
observable surface to expect.
Variants§
Stderr
Writes to the process’s stderr.
Stdout
Writes to the process’s stdout.
LogBuffer
Writes to a log buffer (e.g. tracing/log crate sink).
File
Writes to a file path determined at construction time.
Network
Writes to a network endpoint determined at construction time.
Other
Writes to an observable surface not covered by the other variants. The host should consult the node’s documentation for the specific contract.
Trait Implementations§
Source§impl Clone for SideChannelSink
impl Clone for SideChannelSink
Source§fn clone(&self) -> SideChannelSink
fn clone(&self) -> SideChannelSink
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 moreimpl Copy for SideChannelSink
Source§impl Debug for SideChannelSink
impl Debug for SideChannelSink
impl Eq for SideChannelSink
Source§impl Hash for SideChannelSink
impl Hash for SideChannelSink
Source§impl PartialEq for SideChannelSink
impl PartialEq for SideChannelSink
impl StructuralPartialEq for SideChannelSink
Auto Trait Implementations§
impl Freeze for SideChannelSink
impl RefUnwindSafe for SideChannelSink
impl Send for SideChannelSink
impl Sync for SideChannelSink
impl Unpin for SideChannelSink
impl UnsafeUnpin for SideChannelSink
impl UnwindSafe for SideChannelSink
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more