mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-13 06:20:02 -04:00
they should add a cancellation safety lint
This commit is contained in:
parent
9d1604cc3e
commit
9d697416d9
3 changed files with 62 additions and 43 deletions
|
@ -96,6 +96,8 @@ pub enum WispError {
|
|||
MuxMessageFailedToRecv,
|
||||
/// Multiplexor task ended.
|
||||
MuxTaskEnded,
|
||||
/// Multiplexor task already started.
|
||||
MuxTaskStarted,
|
||||
}
|
||||
|
||||
impl From<std::str::Utf8Error> for WispError {
|
||||
|
@ -150,6 +152,7 @@ impl std::fmt::Display for WispError {
|
|||
Self::MuxMessageFailedToSend => write!(f, "Failed to send multiplexor message"),
|
||||
Self::MuxMessageFailedToRecv => write!(f, "Failed to receive multiplexor message"),
|
||||
Self::MuxTaskEnded => write!(f, "Multiplexor task ended"),
|
||||
Self::MuxTaskStarted => write!(f, "Multiplexor task already started"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue