pub enum PayloadRouteError {
UnknownRuntime(PayloadRuntimeKey),
Wfb(WfbError),
}Expand description
Error returned while routing a WFB frame or decrypted fragment.
Variants§
UnknownRuntime(PayloadRuntimeKey)
Caller referenced a runtime key that is not registered.
Wfb(WfbError)
Underlying WFB parser/decrypt/FEC error.
Trait Implementations§
Source§impl Debug for PayloadRouteError
impl Debug for PayloadRouteError
Source§impl Display for PayloadRouteError
impl Display for PayloadRouteError
impl Eq for PayloadRouteError
Source§impl Error for PayloadRouteError
impl Error for PayloadRouteError
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 From<WfbError> for PayloadRouteError
impl From<WfbError> for PayloadRouteError
Source§impl PartialEq for PayloadRouteError
impl PartialEq for PayloadRouteError
Source§fn eq(&self, other: &PayloadRouteError) -> bool
fn eq(&self, other: &PayloadRouteError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PayloadRouteError
Auto Trait Implementations§
impl Freeze for PayloadRouteError
impl RefUnwindSafe for PayloadRouteError
impl Send for PayloadRouteError
impl Sync for PayloadRouteError
impl Unpin for PayloadRouteError
impl UnsafeUnpin for PayloadRouteError
impl UnwindSafe for PayloadRouteError
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