pub struct SampleRejectedStatus {
pub total_count: i32,
pub total_count_change: i32,
pub last_reason: SampleRejectedStatusKind,
pub last_instance_handle: InstanceHandle,
}Expand description
SAMPLE_REJECTED_STATUS — Spec §2.2.4.1 + §2.2.2.5.6.
Wird ausgelöst, wenn der Reader ein Sample wegen einer RESOURCE_LIMITS-Verletzung verworfen hat.
Fields§
§total_count: i32Total cumulative count of rejected samples.
total_count_change: i32Increment since last read.
last_reason: SampleRejectedStatusKindReason for the most recent rejection.
last_instance_handle: InstanceHandleHandle of the instance that was the target of the most recent rejection.
Trait Implementations§
Source§impl Clone for SampleRejectedStatus
impl Clone for SampleRejectedStatus
Source§fn clone(&self) -> SampleRejectedStatus
fn clone(&self) -> SampleRejectedStatus
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 SampleRejectedStatus
impl Debug for SampleRejectedStatus
Source§impl Default for SampleRejectedStatus
impl Default for SampleRejectedStatus
Source§fn default() -> SampleRejectedStatus
fn default() -> SampleRejectedStatus
Returns the “default value” for a type. Read more
Source§impl Hash for SampleRejectedStatus
impl Hash for SampleRejectedStatus
Source§impl PartialEq for SampleRejectedStatus
impl PartialEq for SampleRejectedStatus
Source§fn eq(&self, other: &SampleRejectedStatus) -> bool
fn eq(&self, other: &SampleRejectedStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SampleRejectedStatus
impl Eq for SampleRejectedStatus
impl StructuralPartialEq for SampleRejectedStatus
Auto Trait Implementations§
impl Freeze for SampleRejectedStatus
impl RefUnwindSafe for SampleRejectedStatus
impl Send for SampleRejectedStatus
impl Sync for SampleRejectedStatus
impl Unpin for SampleRejectedStatus
impl UnsafeUnpin for SampleRejectedStatus
impl UnwindSafe for SampleRejectedStatus
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