Struct tonari_actor::Capacity [−][src]
pub struct Capacity { /* fields omitted */ }
Expand description
Capacity of actor’s normal- and high-priority inboxes.
For each inbox type, None
signifies default capacity. Converts from usize
.
Implementations
Set capacity of the normal priority channel, and use default for the high priority one.
Set capacity of the high priority channel, and use default for the normal priority one.
Trait Implementations
Set capacity of both normal and high priority channels to the same amount of messages.
Auto Trait Implementations
impl RefUnwindSafe for Capacity
impl UnwindSafe for Capacity
Blanket Implementations
Mutably borrows from an owned value. Read more