pub enum EmitWithAckError {
Encode(ParserError),
Adapter(Box<dyn Error + Send>),
}Expand description
Error type for the emit_with_ack method.
Variants§
Encode(ParserError)
An error occurred while encoding the data.
Adapter(Box<dyn Error + Send>)
An error occurred while broadcasting to other nodes.
Trait Implementations§
Source§impl Debug for EmitWithAckError
impl Debug for EmitWithAckError
Source§impl Display for EmitWithAckError
impl Display for EmitWithAckError
Source§impl Error for EmitWithAckError
impl Error for EmitWithAckError
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 From<ParserError> for EmitWithAckError
impl From<ParserError> for EmitWithAckError
Source§fn from(source: ParserError) -> Self
fn from(source: ParserError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EmitWithAckError
impl !RefUnwindSafe for EmitWithAckError
impl Send for EmitWithAckError
impl !Sync for EmitWithAckError
impl Unpin for EmitWithAckError
impl !UnwindSafe for EmitWithAckError
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