#[repr(C)]pub struct HddsSampleRejectedStatus {
pub total_count: u32,
pub total_count_change: i32,
pub last_reason: u32,
}Expand description
Sample rejected status (C-compatible mirror of Rust SampleRejectedStatus).
Reports samples rejected due to resource limits.
last_reason values: 0=NotRejected, 1=ResourceLimit, 2=InstanceLimit,
3=SamplesPerInstanceLimit.
Fields§
§total_count: u32Total cumulative count of rejected samples.
total_count_change: i32Change in total_count since last callback.
last_reason: u32Reason for rejection (0=NotRejected, 1=ResourceLimit, 2=InstanceLimit, 3=SamplesPerInstanceLimit).
Trait Implementations§
Source§impl Clone for HddsSampleRejectedStatus
impl Clone for HddsSampleRejectedStatus
Source§fn clone(&self) -> HddsSampleRejectedStatus
fn clone(&self) -> HddsSampleRejectedStatus
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 HddsSampleRejectedStatus
impl Debug for HddsSampleRejectedStatus
Source§impl Default for HddsSampleRejectedStatus
impl Default for HddsSampleRejectedStatus
Source§fn default() -> HddsSampleRejectedStatus
fn default() -> HddsSampleRejectedStatus
Returns the “default value” for a type. Read more
impl Copy for HddsSampleRejectedStatus
Auto Trait Implementations§
impl Freeze for HddsSampleRejectedStatus
impl RefUnwindSafe for HddsSampleRejectedStatus
impl Send for HddsSampleRejectedStatus
impl Sync for HddsSampleRejectedStatus
impl Unpin for HddsSampleRejectedStatus
impl UnsafeUnpin for HddsSampleRejectedStatus
impl UnwindSafe for HddsSampleRejectedStatus
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