pub struct EntryCapacity { /* private fields */ }Expand description
Positive maximum number of entries retained by a dynamic supervisor.
Implementations§
Source§impl EntryCapacity
impl EntryCapacity
Sourcepub fn new(maximum: usize) -> Result<Self, ZeroCapacity>
pub fn new(maximum: usize) -> Result<Self, ZeroCapacity>
Trait Implementations§
Source§impl Clone for EntryCapacity
impl Clone for EntryCapacity
Source§fn clone(&self) -> EntryCapacity
fn clone(&self) -> EntryCapacity
Returns a duplicate of the value. Read more
1.0.0 · 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 EntryCapacity
impl Debug for EntryCapacity
Source§impl PartialEq for EntryCapacity
impl PartialEq for EntryCapacity
impl Copy for EntryCapacity
impl Eq for EntryCapacity
impl StructuralPartialEq for EntryCapacity
Auto Trait Implementations§
impl Freeze for EntryCapacity
impl RefUnwindSafe for EntryCapacity
impl Send for EntryCapacity
impl Sync for EntryCapacity
impl Unpin for EntryCapacity
impl UnsafeUnpin for EntryCapacity
impl UnwindSafe for EntryCapacity
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