pub struct UploadFacts<P> {
pub sending: bool,
pub stored: bool,
pub bound: bool,
pub retry_at: Option<SystemTime>,
pub record: Option<P>,
}Expand description
One 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.
bound: boolA bound reference’s, which the pause doesn’t hold (§17.4).
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§fn clone(&self) -> UploadFacts<P>
fn clone(&self) -> UploadFacts<P>
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<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> 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