Enum nannou_osc::CommunicationError
source · pub enum CommunicationError {
Io(Error),
Osc(Error),
Poisoned,
}
Expand description
Errors that might occur whilst attempting to send or receive an OSC packet.
Variants§
Trait Implementations§
source§impl Debug for CommunicationError
impl Debug for CommunicationError
source§impl Display for CommunicationError
impl Display for CommunicationError
source§impl Error for CommunicationError
impl Error for CommunicationError
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 CommunicationError
impl From<Error> for CommunicationError
source§impl From<OscError> for CommunicationError
impl From<OscError> for CommunicationError
source§impl<T> From<PoisonError<T>> for CommunicationError
impl<T> From<PoisonError<T>> for CommunicationError
source§fn from(_: PoisonError<T>) -> Self
fn from(_: PoisonError<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CommunicationError
impl Send for CommunicationError
impl Sync for CommunicationError
impl Unpin for CommunicationError
impl !UnwindSafe for CommunicationError
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