pub struct PendingRepair {
pub message_id: u8,
pub fragment: Option<u8>,
pub deadline_ms: u64,
pub attempts: u8,
pub handle: Option<MessageHandle>,
}Expand description
A pending automatic repair request for one missing frame.
Fields§
§message_id: u8§fragment: Option<u8>Missing fragment index, or None for the whole-message 1-byte form.
deadline_ms: u64Earliest time the request may be transmitted (grace plus jitter).
attempts: u8§handle: Option<MessageHandle>Ordered-slot placeholder reserved for this missing whole message, so a
terminal repair outcome can flip the same slot to Unavailable.
None for fragment repairs (their slot already exists).
Trait Implementations§
Source§impl Clone for PendingRepair
impl Clone for PendingRepair
Source§fn clone(&self) -> PendingRepair
fn clone(&self) -> PendingRepair
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PendingRepair
impl Debug for PendingRepair
Source§impl PartialEq for PendingRepair
impl PartialEq for PendingRepair
impl Copy for PendingRepair
impl Eq for PendingRepair
impl StructuralPartialEq for PendingRepair
Auto Trait Implementations§
impl Freeze for PendingRepair
impl RefUnwindSafe for PendingRepair
impl Send for PendingRepair
impl Sync for PendingRepair
impl Unpin for PendingRepair
impl UnwindSafe for PendingRepair
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)