Enum pharos::ErrorKind [−][src]
#[non_exhaustive] pub enum ErrorKind { Closed, MinChannelSizeOne, // some variants omitted }
Expand description
The different kind of errors that can happen when you use the pharos
API.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
The pharos object is already closed. You can no longer send messages or observe it. This should only happen if you call SinkExt::close on it.
The minimum valid buffer size for Channel::Bounded
is 1
, you sent in 0
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more