pub enum ParticipantDispatchError {
InvalidGenericFrame,
Semantic(ParticipantSemanticError),
Encode(CodecError),
}Expand description
Failure after a generic frame has entered participant dispatch.
Variants§
InvalidGenericFrame
The preserved generic frame could not represent a canonical participant frame.
Semantic(ParticipantSemanticError)
The semantic handler could not produce a protocol value.
Encode(CodecError)
The crate-produced value could not be encoded into the generic transport.
Trait Implementations§
Source§impl Debug for ParticipantDispatchError
impl Debug for ParticipantDispatchError
Source§impl Display for ParticipantDispatchError
impl Display for ParticipantDispatchError
Source§impl Error for ParticipantDispatchError
impl Error for ParticipantDispatchError
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<ParticipantSemanticError> for ParticipantDispatchError
impl From<ParticipantSemanticError> for ParticipantDispatchError
Source§fn from(source: ParticipantSemanticError) -> Self
fn from(source: ParticipantSemanticError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParticipantDispatchError
impl RefUnwindSafe for ParticipantDispatchError
impl Send for ParticipantDispatchError
impl Sync for ParticipantDispatchError
impl Unpin for ParticipantDispatchError
impl UnsafeUnpin for ParticipantDispatchError
impl UnwindSafe for ParticipantDispatchError
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