pub struct FragmentRange {
pub offset: u32,
pub len: u32,
}Expand description
Byte range covered by one message fragment.
Fields§
§offset: u32Fragment start offset inside the complete message.
len: u32Fragment length in bytes.
Implementations§
Source§impl FragmentRange
impl FragmentRange
Trait Implementations§
Source§impl Clone for FragmentRange
impl Clone for FragmentRange
Source§fn clone(&self) -> FragmentRange
fn clone(&self) -> FragmentRange
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 FragmentRange
Source§impl Debug for FragmentRange
impl Debug for FragmentRange
impl Eq for FragmentRange
Source§impl PartialEq for FragmentRange
impl PartialEq for FragmentRange
Source§fn eq(&self, other: &FragmentRange) -> bool
fn eq(&self, other: &FragmentRange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FragmentRange
Auto Trait Implementations§
impl Freeze for FragmentRange
impl RefUnwindSafe for FragmentRange
impl Send for FragmentRange
impl Sync for FragmentRange
impl Unpin for FragmentRange
impl UnsafeUnpin for FragmentRange
impl UnwindSafe for FragmentRange
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