#[repr(u8)]pub enum SampleKind {
Alive = 0,
NotAliveDisposed = 1,
NotAliveUnregistered = 2,
}Expand description
Sample-Kind nach DDS-Spec §2.2.4.4.5.
Variants§
Alive = 0
ALIVE — Reader sieht ein lebendes Sample.
NotAliveDisposed = 1
NOT_ALIVE_DISPOSED — Writer hat dispose()’d.
NotAliveUnregistered = 2
NOT_ALIVE_UNREGISTERED — Writer hat unregister()’d.
Implementations§
Trait Implementations§
Source§impl Clone for SampleKind
impl Clone for SampleKind
Source§fn clone(&self) -> SampleKind
fn clone(&self) -> SampleKind
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 moreSource§impl Debug for SampleKind
impl Debug for SampleKind
Source§impl PartialEq for SampleKind
impl PartialEq for SampleKind
Source§fn eq(&self, other: &SampleKind) -> bool
fn eq(&self, other: &SampleKind) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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