Enum pty::prelude::SlaveError
[−]
[src]
pub enum SlaveError { BadDescriptor(DescriptorError), Dup2Error, }
The enum SlaveError
defines the possible errors from constructor Slave.
Variants
BadDescriptor(DescriptorError)
Dup2Error
Trait Implementations
impl Clone for SlaveError
[src]
fn clone(&self) -> SlaveError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for SlaveError
[src]
impl Debug for SlaveError
[src]
impl Display for SlaveError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
The function fmt
formats the value using the given formatter.
impl Error for SlaveError
[src]
fn description(&self) -> &str
The function description
returns a short description of the error.
fn cause(&self) -> Option<&Error>
The function cause
returns the lower-level cause of this error, if any.