pub struct TransferSegment {
pub byte_offset: usize,
pub byte_len: usize,
}Fields§
§byte_offset: usizeSegment byte offset relative to the containing transfer chunk.
byte_len: usizeTrait Implementations§
Source§impl Clone for TransferSegment
impl Clone for TransferSegment
Source§fn clone(&self) -> TransferSegment
fn clone(&self) -> TransferSegment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TransferSegment
Source§impl Debug for TransferSegment
impl Debug for TransferSegment
impl Eq for TransferSegment
Source§impl PartialEq for TransferSegment
impl PartialEq for TransferSegment
Source§fn eq(&self, other: &TransferSegment) -> bool
fn eq(&self, other: &TransferSegment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TransferSegment
Auto Trait Implementations§
impl Freeze for TransferSegment
impl RefUnwindSafe for TransferSegment
impl Send for TransferSegment
impl Sync for TransferSegment
impl Unpin for TransferSegment
impl UnsafeUnpin for TransferSegment
impl UnwindSafe for TransferSegment
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