pub enum OutputSendError {
PinNotFound {
node_name: String,
pin_name: String,
},
ChannelClosed {
node_name: String,
pin_name: String,
},
}Expand description
Error returned by OutputSender::send when a packet cannot be delivered.
Variants§
PinNotFound
The requested output pin does not exist on this node.
ChannelClosed
The downstream channel (direct) or engine channel (routed) is closed.
Trait Implementations§
Source§impl Clone for OutputSendError
impl Clone for OutputSendError
Source§fn clone(&self) -> OutputSendError
fn clone(&self) -> OutputSendError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OutputSendError
impl Debug for OutputSendError
Source§impl Display for OutputSendError
impl Display for OutputSendError
Source§impl Error for OutputSendError
impl Error for OutputSendError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for OutputSendError
impl PartialEq for OutputSendError
impl Eq for OutputSendError
impl StructuralPartialEq for OutputSendError
Auto Trait Implementations§
impl Freeze for OutputSendError
impl RefUnwindSafe for OutputSendError
impl Send for OutputSendError
impl Sync for OutputSendError
impl Unpin for OutputSendError
impl UnwindSafe for OutputSendError
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