pub struct PacketRange {
pub start: PacketPosition,
pub end: Option<PacketPosition>,
}Expand description
Range of packets for partitioning.
Fields§
§start: PacketPositionStart position (inclusive)
end: Option<PacketPosition>End position (exclusive). None means read to EOF.
Implementations§
Trait Implementations§
Source§impl Clone for PacketRange
impl Clone for PacketRange
Source§fn clone(&self) -> PacketRange
fn clone(&self) -> PacketRange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PacketRange
impl RefUnwindSafe for PacketRange
impl Send for PacketRange
impl Sync for PacketRange
impl Unpin for PacketRange
impl UnwindSafe for PacketRange
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