#[repr(i32)]pub enum StdioStream {
InvalidStream = 0,
StdinStream = 1,
StdoutStream = 2,
StderrStream = 3,
}
Expand description
Type of stdio stream that is being sent.
Variants§
InvalidStream = 0
The stream is invalid.
StdinStream = 1
This is a stdin stream, flowing from client to server.
StdoutStream = 2
This is a stdout stream, flowing from server to client.
StderrStream = 3
This is a stderr stream, flowing from server to client.
Implementations§
Source§impl StdioStream
impl StdioStream
Source§impl StdioStream
impl StdioStream
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Trait Implementations§
Source§impl Clone for StdioStream
impl Clone for StdioStream
Source§fn clone(&self) -> StdioStream
fn clone(&self) -> StdioStream
Returns a copy of the value. Read more
1.0.0 · 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 StdioStream
impl Debug for StdioStream
Source§impl Default for StdioStream
impl Default for StdioStream
Source§fn default() -> StdioStream
fn default() -> StdioStream
Returns the “default value” for a type. Read more
Source§impl From<StdioStream> for i32
impl From<StdioStream> for i32
Source§fn from(value: StdioStream) -> i32
fn from(value: StdioStream) -> i32
Converts to this type from the input type.
Source§impl Hash for StdioStream
impl Hash for StdioStream
Source§impl Ord for StdioStream
impl Ord for StdioStream
Source§fn cmp(&self, other: &StdioStream) -> Ordering
fn cmp(&self, other: &StdioStream) -> Ordering
1.21.0 · 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 StdioStream
impl PartialEq for StdioStream
Source§impl PartialOrd for StdioStream
impl PartialOrd for StdioStream
impl Copy for StdioStream
impl Eq for StdioStream
impl StructuralPartialEq for StdioStream
Auto Trait Implementations§
impl Freeze for StdioStream
impl RefUnwindSafe for StdioStream
impl Send for StdioStream
impl Sync for StdioStream
impl Unpin for StdioStream
impl UnwindSafe for StdioStream
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)