pub struct ChunkBoundary {
pub index: u32,
pub start: u64,
pub end: u64,
}Expand description
Describes the byte boundaries of an individual upload chunk.
Fields§
§index: u321-based index of this chunk.
start: u64Inclusive byte offset where this chunk starts within the upload stream.
end: u64Exclusive byte offset where this chunk ends within the upload stream.
Implementations§
Trait Implementations§
Source§impl Clone for ChunkBoundary
impl Clone for ChunkBoundary
impl Copy for ChunkBoundary
Source§impl Debug for ChunkBoundary
impl Debug for ChunkBoundary
impl Eq for ChunkBoundary
Source§impl PartialEq for ChunkBoundary
impl PartialEq for ChunkBoundary
impl StructuralPartialEq for ChunkBoundary
Auto Trait Implementations§
impl Freeze for ChunkBoundary
impl RefUnwindSafe for ChunkBoundary
impl Send for ChunkBoundary
impl Sync for ChunkBoundary
impl Unpin for ChunkBoundary
impl UnsafeUnpin for ChunkBoundary
impl UnwindSafe for ChunkBoundary
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