pub enum ProcessIoStream {
Stdin,
Stdout,
Stderr,
}Expand description
Enumerates the finite process io stream cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Stdin
Use this variant when the contract needs to represent stdin; selecting it has no side effect by itself.
Stdout
Use this variant when the contract needs to represent stdout; selecting it has no side effect by itself.
Stderr
Use this variant when the contract needs to represent stderr; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for ProcessIoStream
impl Clone for ProcessIoStream
Source§fn clone(&self) -> ProcessIoStream
fn clone(&self) -> ProcessIoStream
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 ProcessIoStream
impl Debug for ProcessIoStream
Source§impl<'de> Deserialize<'de> for ProcessIoStream
impl<'de> Deserialize<'de> for ProcessIoStream
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProcessIoStream
impl PartialEq for ProcessIoStream
Source§fn eq(&self, other: &ProcessIoStream) -> bool
fn eq(&self, other: &ProcessIoStream) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProcessIoStream
impl Serialize for ProcessIoStream
impl Copy for ProcessIoStream
impl Eq for ProcessIoStream
impl StructuralPartialEq for ProcessIoStream
Auto Trait Implementations§
impl Freeze for ProcessIoStream
impl RefUnwindSafe for ProcessIoStream
impl Send for ProcessIoStream
impl Sync for ProcessIoStream
impl Unpin for ProcessIoStream
impl UnsafeUnpin for ProcessIoStream
impl UnwindSafe for ProcessIoStream
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