pub enum PingEngineError {
SendFailed {
seq: SequenceNumber,
message: String,
},
PollFailed {
message: String,
},
NonMonotonicPoll,
InvalidProbeRequest {
seq: SequenceNumber,
message: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for PingEngineError
impl Clone for PingEngineError
Source§fn clone(&self) -> PingEngineError
fn clone(&self) -> PingEngineError
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 PingEngineError
impl Debug for PingEngineError
Source§impl Display for PingEngineError
impl Display for PingEngineError
Source§impl Error for PingEngineError
impl Error for PingEngineError
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<PingEngineError> for AppError
impl From<PingEngineError> for AppError
Source§fn from(source: PingEngineError) -> Self
fn from(source: PingEngineError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PingEngineError
impl PartialEq for PingEngineError
impl Eq for PingEngineError
impl StructuralPartialEq for PingEngineError
Auto Trait Implementations§
impl Freeze for PingEngineError
impl RefUnwindSafe for PingEngineError
impl Send for PingEngineError
impl Sync for PingEngineError
impl Unpin for PingEngineError
impl UnsafeUnpin for PingEngineError
impl UnwindSafe for PingEngineError
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