[][src]Enum glean_core::upload::PingUploadTask

pub enum PingUploadTask {
    Upload(PingRequest),
    Wait,
    Done,
}

When asking for the next ping request to upload, the requester may receive one out of three possible tasks.

If new variants are added, this should be reflected in glean-core/ffi/src/upload.rs as well.

Variants

Upload(PingRequest)

A PingRequest popped from the front of the queue. See PingRequest for more information.

Wait

A flag signaling that the pending pings directories are not done being processed, thus the requester should wait and come back later.

Done

A flag signaling that the pending pings queue is empty and requester is done.

Trait Implementations

impl Debug for PingUploadTask[src]

impl PartialEq<PingUploadTask> for PingUploadTask[src]

impl StructuralPartialEq for PingUploadTask[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,