pub struct QueueDepth { /* private fields */ }Available on crate feature
messaging only.Implementations§
Source§impl QueueDepth
impl QueueDepth
pub fn bytes<T>(self, value: T) -> QueueDepth
pub fn count<T>(self, value: T) -> QueueDepth
pub fn delivered_unacked<T>(self, value: T) -> QueueDepth
pub fn limit<T>(self, value: T) -> QueueDepth
pub fn oldest_age_seconds<T>(self, value: T) -> QueueDepth
pub fn saturation<T>(self, value: T) -> QueueDepth
Trait Implementations§
Source§impl Clone for QueueDepth
impl Clone for QueueDepth
Source§fn clone(&self) -> QueueDepth
fn clone(&self) -> QueueDepth
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 QueueDepth
impl Debug for QueueDepth
Source§impl Default for QueueDepth
impl Default for QueueDepth
Source§fn default() -> QueueDepth
fn default() -> QueueDepth
Returns the “default value” for a type. Read more
Source§impl From<QueueDepth> for QueueDepth
impl From<QueueDepth> for QueueDepth
Source§fn from(value: QueueDepth) -> QueueDepth
fn from(value: QueueDepth) -> QueueDepth
Converts to this type from the input type.
Source§impl TryFrom<QueueDepth> for QueueDepth
impl TryFrom<QueueDepth> for QueueDepth
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: QueueDepth) -> Result<QueueDepth, ConversionError>
fn try_from(value: QueueDepth) -> Result<QueueDepth, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for QueueDepth
impl RefUnwindSafe for QueueDepth
impl Send for QueueDepth
impl Sync for QueueDepth
impl Unpin for QueueDepth
impl UnsafeUnpin for QueueDepth
impl UnwindSafe for QueueDepth
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