pub struct QueueCapacityExceeded {
pub channel: ChannelKind,
pub current_entries: usize,
pub current_bytes: usize,
pub limit_entries: usize,
pub limit_bytes: usize,
}Expand description
Error returned when queue bounds are exceeded.
Fields§
§channel: ChannelKind§current_entries: usize§current_bytes: usize§limit_entries: usize§limit_bytes: usizeTrait Implementations§
Source§impl Clone for QueueCapacityExceeded
impl Clone for QueueCapacityExceeded
Source§fn clone(&self) -> QueueCapacityExceeded
fn clone(&self) -> QueueCapacityExceeded
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 QueueCapacityExceeded
impl Debug for QueueCapacityExceeded
Source§impl<'de> Deserialize<'de> for QueueCapacityExceeded
impl<'de> Deserialize<'de> for QueueCapacityExceeded
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<QueueCapacityExceeded, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<QueueCapacityExceeded, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for QueueCapacityExceeded
impl Display for QueueCapacityExceeded
impl Eq for QueueCapacityExceeded
Source§impl Error for QueueCapacityExceeded
impl Error for QueueCapacityExceeded
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for QueueCapacityExceeded
impl PartialEq for QueueCapacityExceeded
Source§impl Serialize for QueueCapacityExceeded
impl Serialize for QueueCapacityExceeded
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for QueueCapacityExceeded
Auto Trait Implementations§
impl Forget for QueueCapacityExceeded
impl Freeze for QueueCapacityExceeded
impl Move for QueueCapacityExceeded
impl RefUnwindSafe for QueueCapacityExceeded
impl Send for QueueCapacityExceeded
impl Sync for QueueCapacityExceeded
impl Unpin for QueueCapacityExceeded
impl UnsafeUnpin for QueueCapacityExceeded
impl UnwindSafe for QueueCapacityExceeded
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.