pub struct UploadFacts<P> {
pub sending: bool,
pub stored: bool,
pub retry_at: Option<SystemTime>,
pub record: Option<P>,
}Expand description
One bound upload in the queue, as the sync state reads it.
Fields§
§sending: boolThis process is sending it now.
stored: boolStorage holds its bytes; it waits for the rest of its move.
retry_at: Option<SystemTime>Its last attempt failed, and it retries then (§6.7).
record: Option<P>Its own pending record, if it has one.
Trait Implementations§
Source§impl<P: Clone> Clone for UploadFacts<P>
impl<P: Clone> Clone for UploadFacts<P>
Source§impl<P: Debug> Debug for UploadFacts<P>
impl<P: Debug> Debug for UploadFacts<P>
Source§impl<P: PartialEq> PartialEq for UploadFacts<P>
impl<P: PartialEq> PartialEq for UploadFacts<P>
impl<P: PartialEq> StructuralPartialEq for UploadFacts<P>
Auto Trait Implementations§
impl<P> Freeze for UploadFacts<P>where
P: Freeze,
impl<P> RefUnwindSafe for UploadFacts<P>where
P: RefUnwindSafe,
impl<P> Send for UploadFacts<P>where
P: Send,
impl<P> Sync for UploadFacts<P>where
P: Sync,
impl<P> Unpin for UploadFacts<P>where
P: Unpin,
impl<P> UnsafeUnpin for UploadFacts<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for UploadFacts<P>where
P: UnwindSafe,
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