push_packet/channels/error.rs
1#[non_exhaustive]
2#[allow(missing_docs)]
3#[derive(Debug, thiserror::Error)]
4pub enum ChannelError {
5 #[error("the channel cannot be polled.")]
6 Disconnected,
7 #[error("there is no available item in the socket or buffer")]
8 Empty,
9 #[error("poll on channel fd failed")]
10 Poll(#[source] nix::errno::Errno),
11}