pub enum SendProbeError {
NotCommitted(ClientError),
AfterCommit {
receipt: SendReceipt,
source: Box<ClientError>,
},
}Expand description
Probe-send failure with an explicit socket-acceptance commitment boundary.
There is deliberately no blanket conversion from ClientError: each send
failure must be classified at the point where its commitment is known.
Variants§
NotCommitted(ClientError)
No datagram was accepted and no probe state or sequence was committed.
AfterCommit
The probe was committed, then post-send processing failed. The pending probe and advanced sequence/count remain committed.
Fields
§
receipt: SendReceiptAuthoritative receipt for the accepted send.
§
source: Box<ClientError>Operational cause of the post-send failure.
Trait Implementations§
Source§impl Debug for SendProbeError
impl Debug for SendProbeError
Source§impl Display for SendProbeError
impl Display for SendProbeError
Source§impl Error for SendProbeError
impl Error for SendProbeError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for SendProbeError
impl !UnwindSafe for SendProbeError
impl Freeze for SendProbeError
impl Send for SendProbeError
impl Sync for SendProbeError
impl Unpin for SendProbeError
impl UnsafeUnpin for SendProbeError
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