Enum cybergrape::gui::error::GrapeGuiError   
source · pub enum GrapeGuiError {
    FmtError(Error),
    IOError(Error),
    MPSCSendError,
    MPSCRecvError(RecvError),
    MPSCTryRecvError(TryRecvError),
    JoinError,
}Expand description
The various kinds of errors that can be produced while runing this TUI.
Variants§
FmtError(Error)
Errors generated by std::fmt
IOError(Error)
Errors generated by std::io
MPSCSendError
Errors generated when mpsc::send fails
MPSCRecvError(RecvError)
Errors generated when mpsc::recv fails
MPSCTryRecvError(TryRecvError)
Errors generated when mpsc::try_recv fails
JoinError
Errors generated when a thread fails to join
Trait Implementations§
source§impl Debug for GrapeGuiError
 
impl Debug for GrapeGuiError
source§impl Display for GrapeGuiError
 
impl Display for GrapeGuiError
source§impl Error for GrapeGuiError
 
impl Error for GrapeGuiError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<Error> for GrapeGuiError
 
impl From<Error> for GrapeGuiError
source§impl From<Error> for GrapeGuiError
 
impl From<Error> for GrapeGuiError
source§impl From<RecvError> for GrapeGuiError
 
impl From<RecvError> for GrapeGuiError
source§impl<T> From<SendError<T>> for GrapeGuiError
 
impl<T> From<SendError<T>> for GrapeGuiError
source§impl From<TryRecvError> for GrapeGuiError
 
impl From<TryRecvError> for GrapeGuiError
source§fn from(value: TryRecvError) -> Self
 
fn from(value: TryRecvError) -> Self
Converts to this type from the input type.
source§impl<T> From<TrySendError<T>> for GrapeGuiError
 
impl<T> From<TrySendError<T>> for GrapeGuiError
source§fn from(_: TrySendError<T>) -> Self
 
fn from(_: TrySendError<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GrapeGuiError
impl !RefUnwindSafe for GrapeGuiError
impl Send for GrapeGuiError
impl Sync for GrapeGuiError
impl Unpin for GrapeGuiError
impl !UnwindSafe for GrapeGuiError
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> IntoEither for T
 
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> ToCompactString for Twhere
    T: Display,
 
impl<T> ToCompactString for Twhere
    T: Display,
§fn to_compact_string(&self) -> CompactString
 
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more