pub struct SizeCheckResult {
pub exceeds_size_threshold: bool,
pub exceeds_count_threshold: bool,
pub info: QueueSizeInfo,
pub size_threshold_kb: u32,
pub count_threshold: u32,
}Expand description
Result of checking queue size against thresholds.
Fields§
§exceeds_size_threshold: boolWhether the file size exceeds the threshold.
exceeds_count_threshold: boolWhether the task count exceeds the threshold.
info: QueueSizeInfoThe size information that was checked.
size_threshold_kb: u32The size threshold that was used for the check (in KB).
count_threshold: u32The task count threshold that was used for the check.
Trait Implementations§
Source§impl Clone for SizeCheckResult
impl Clone for SizeCheckResult
Source§fn clone(&self) -> SizeCheckResult
fn clone(&self) -> SizeCheckResult
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 SizeCheckResult
impl Debug for SizeCheckResult
impl Copy for SizeCheckResult
Auto Trait Implementations§
impl Freeze for SizeCheckResult
impl RefUnwindSafe for SizeCheckResult
impl Send for SizeCheckResult
impl Sync for SizeCheckResult
impl Unpin for SizeCheckResult
impl UnsafeUnpin for SizeCheckResult
impl UnwindSafe for SizeCheckResult
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