pub struct EventLeafNode {
pub keys: Vec<Position>,
pub values: Vec<EventValue>,
}Fields§
§keys: Vec<Position>§values: Vec<EventValue>Implementations§
Source§impl EventLeafNode
impl EventLeafNode
pub fn calc_serialized_size(&self) -> usize
Sourcepub fn serialize_into(&self, buf: &mut [u8]) -> usize
pub fn serialize_into(&self, buf: &mut [u8]) -> usize
No-allocation serialization into the provided buffer. Returns number of bytes written.
pub fn from_slice(slice: &[u8]) -> DCBResult<Self>
pub fn pop_last_key_and_value(&mut self) -> DCBResult<(Position, EventValue)>
Trait Implementations§
Source§impl Clone for EventLeafNode
impl Clone for EventLeafNode
Source§fn clone(&self) -> EventLeafNode
fn clone(&self) -> EventLeafNode
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 moreSource§impl Debug for EventLeafNode
impl Debug for EventLeafNode
Source§impl PartialEq for EventLeafNode
impl PartialEq for EventLeafNode
impl Eq for EventLeafNode
impl StructuralPartialEq for EventLeafNode
Auto Trait Implementations§
impl Freeze for EventLeafNode
impl RefUnwindSafe for EventLeafNode
impl Send for EventLeafNode
impl Sync for EventLeafNode
impl Unpin for EventLeafNode
impl UnwindSafe for EventLeafNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more