Enum nexrad_data::aws::realtime::NextChunk
source · 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.
Auto Trait Implementations§
impl Freeze for NextChunk
impl RefUnwindSafe for NextChunk
impl Send for NextChunk
impl Sync for NextChunk
impl Unpin 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