pub enum NextChunk {
Sequence(ChunkIdentifier),
Volume(VolumeIndex),
}Expand description
Identifies where to find the next expected chunk.
Variants§
Sequence(ChunkIdentifier)
The next chunk is expected to be located in the same volume at this sequence. The ChunkIdentifier::with_sequence method can be used to create the next chunk’s identifier and it can be downloaded using the crate::aws::realtime::download_chunk() function. You may need to poll by checking if that function returns crate::result::aws::AWSError::S3ObjectNotFoundError.
Volume(VolumeIndex)
The chunk is expected to be located in the next volume. The next volume’s chunks can be listed using the crate::aws::realtime::list_chunks_in_volume() function.
Trait Implementations§
impl Eq for NextChunk
impl StructuralPartialEq for NextChunk
Auto Trait Implementations§
impl Freeze for NextChunk
impl RefUnwindSafe for NextChunk
impl Send for NextChunk
impl Sync for NextChunk
impl Unpin for NextChunk
impl UnsafeUnpin for NextChunk
impl UnwindSafe for NextChunk
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.