pub struct CapabilityIdGenerator { /* private fields */ }
Expand description
A helper struct to generate unused capability ids.
This is clonable and thread safe. There should generally be one of these
for each fuchsia.component.sandbox.CapabilityStore
connection.
Implementations§
Trait Implementations§
Source§impl Clone for CapabilityIdGenerator
impl Clone for CapabilityIdGenerator
Source§fn clone(&self) -> CapabilityIdGenerator
fn clone(&self) -> CapabilityIdGenerator
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for CapabilityIdGenerator
impl RefUnwindSafe for CapabilityIdGenerator
impl Send for CapabilityIdGenerator
impl Sync for CapabilityIdGenerator
impl Unpin for CapabilityIdGenerator
impl UnwindSafe for CapabilityIdGenerator
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