Enum zenoh_protocol::core::SampleKind
source · #[repr(u8)]pub enum SampleKind {
Put = 0,
Delete = 1,
}Expand description
The kind of a Sample.
Variants§
Put = 0
if the Sample was issued by a put operation.
Delete = 1
if the Sample was issued by a delete operation.
Trait Implementations§
source§impl Clone for SampleKind
impl Clone for SampleKind
source§fn clone(&self) -> SampleKind
fn clone(&self) -> SampleKind
Returns a copy 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 SampleKind
impl Debug for SampleKind
source§impl Default for SampleKind
impl Default for SampleKind
source§fn default() -> SampleKind
fn default() -> SampleKind
Returns the “default value” for a type. Read more
source§impl Display for SampleKind
impl Display for SampleKind
source§impl PartialEq for SampleKind
impl PartialEq for SampleKind
source§fn eq(&self, other: &SampleKind) -> bool
fn eq(&self, other: &SampleKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<u64> for SampleKind
impl TryFrom<u64> for SampleKind
impl Copy for SampleKind
impl Eq for SampleKind
impl StructuralPartialEq for SampleKind
Auto Trait Implementations§
impl Freeze for SampleKind
impl RefUnwindSafe for SampleKind
impl Send for SampleKind
impl Sync for SampleKind
impl Unpin for SampleKind
impl UnwindSafe for SampleKind
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