pub struct MpscTxEntity {
pub queue_len: u32,
pub capacity: Option<u32>,
}Fields§
§queue_len: u32Current queue length.
capacity: Option<u32>Configured capacity (None for unbounded).
Trait Implementations§
Source§impl EntityBodySlot for MpscTxEntity
impl EntityBodySlot for MpscTxEntity
const KIND_NAME: &'static str = "MpscTx"
type Value = MpscTxEntity
fn project(body: &EntityBody) -> Option<&Self::Value>
fn project_mut(body: &mut EntityBody) -> Option<&mut Self::Value>
Source§impl<'ʄ> Facet<'ʄ> for MpscTxEntity
impl<'ʄ> Facet<'ʄ> for MpscTxEntity
Source§impl From<MpscTxEntity> for EntityBody
impl From<MpscTxEntity> for EntityBody
Source§fn from(value: MpscTxEntity) -> Self
fn from(value: MpscTxEntity) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MpscTxEntity
impl RefUnwindSafe for MpscTxEntity
impl Send for MpscTxEntity
impl Sync for MpscTxEntity
impl Unpin for MpscTxEntity
impl UnsafeUnpin for MpscTxEntity
impl UnwindSafe for MpscTxEntity
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