Enum pty::prelude::MasterError
[−]
[src]
pub enum MasterError {
BadDescriptor(DescriptorError),
GrantptError,
UnlockptError,
PtsnameError,
}The enum MasterError defines the possible errors from constructor Master.
Variants
BadDescriptor(DescriptorError)GrantptErrorUnlockptErrorPtsnameErrorTrait Implementations
impl Clone for MasterError[src]
fn clone(&self) -> MasterError
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 MasterError[src]
impl Debug for MasterError[src]
impl Display for MasterError[src]
fn fmt(&self, f: &mut Formatter) -> Result
The function fmt formats the value using the given formatter.
impl Error for MasterError[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.