#[repr(C)]pub struct YDeleteSet {
pub entries_count: u32,
pub client_ids: *mut u64,
pub ranges: *mut YIdRangeSeq,
}Expand description
Delete set is a map of (ClientID, Range[]) entries. Length of a map is stored in
entries_count field. ClientIDs reside under client_ids and their corresponding range
sequences can be found under the same index of ranges field.
Fields§
§entries_count: u32Number of client identifier entries.
client_ids: *mut u64Array of unique client identifiers (length is given in entries_count field). Each client
ID has corresponding sequence of ranges attached, which can be found in ranges field under
the same index.
ranges: *mut YIdRangeSeqArray of range sequences (length is given in entries_count field). Each sequence has
a corresponding client ID attached, which can be found in client_ids field under
the same index.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for YDeleteSet
impl RefUnwindSafe for YDeleteSet
impl !Send for YDeleteSet
impl !Sync for YDeleteSet
impl Unpin for YDeleteSet
impl UnwindSafe for YDeleteSet
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