pub struct Segment {
pub index: u32,
pub offset: u64,
pub length: u64,
pub status: SegmentStatus,
pub data: Option<Bytes>,
pub assigned_mirror: Option<usize>,
pub retry_count: u32,
}Fields§
§index: u32§offset: u64§length: u64§status: SegmentStatus§data: Option<Bytes>§assigned_mirror: Option<usize>§retry_count: u32Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Segment
impl RefUnwindSafe for Segment
impl Send for Segment
impl Sync for Segment
impl Unpin for Segment
impl UnsafeUnpin for Segment
impl UnwindSafe for Segment
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