pub struct Capacity {
pub normal: usize,
pub high: usize,
}Expand description
Capacity of actor’s normal- and high-priority inboxes. Converts from usize.
Fields§
§normal: usize§high: usizeTrait Implementations§
Source§impl From<usize> for Capacity
Set capacity of both normal and high priority channels to the same amount of messages.
impl From<usize> for Capacity
Set capacity of both normal and high priority channels to the same amount of messages.
impl Copy for Capacity
Auto Trait Implementations§
impl Freeze for Capacity
impl RefUnwindSafe for Capacity
impl Send for Capacity
impl Sync for Capacity
impl Unpin for Capacity
impl UnwindSafe for Capacity
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