pub enum PtySizeParseError {
MissingRows,
MissingColumns,
InvalidRows(ParseIntError),
InvalidColumns(ParseIntError),
InvalidPixelWidth(ParseIntError),
InvalidPixelHeight(ParseIntError),
}
Variants§
MissingRows
MissingColumns
InvalidRows(ParseIntError)
InvalidColumns(ParseIntError)
InvalidPixelWidth(ParseIntError)
InvalidPixelHeight(ParseIntError)
Trait Implementations§
Source§impl Clone for PtySizeParseError
impl Clone for PtySizeParseError
Source§fn clone(&self) -> PtySizeParseError
fn clone(&self) -> PtySizeParseError
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 PtySizeParseError
impl Debug for PtySizeParseError
Source§impl Display for PtySizeParseError
impl Display for PtySizeParseError
Source§impl Error for PtySizeParseError
impl Error for PtySizeParseError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for PtySizeParseError
impl PartialEq for PtySizeParseError
impl Eq for PtySizeParseError
impl StructuralPartialEq for PtySizeParseError
Auto Trait Implementations§
impl Freeze for PtySizeParseError
impl RefUnwindSafe for PtySizeParseError
impl Send for PtySizeParseError
impl Sync for PtySizeParseError
impl Unpin for PtySizeParseError
impl UnwindSafe for PtySizeParseError
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