pub struct AudioProviderProofEntries { /* private fields */ }Expand description
Proof-only table of provider entry points keyed by provider library id.
Native provider discovery is driven by Export::Site manifest records. This
table exists for in-process tests and trusted host-registered proof loaders
that need an FFI-free way to call the provider entry symbol.
Implementations§
Source§impl AudioProviderProofEntries
impl AudioProviderProofEntries
Sourcepub fn with_proof_entry(
self,
provider: Symbol,
entry: AudioProviderEntry,
) -> Self
pub fn with_proof_entry( self, provider: Symbol, entry: AudioProviderEntry, ) -> Self
Adds a proof provider entry, builder-style.
Sourcepub fn insert(&mut self, provider: Symbol, entry: AudioProviderEntry)
pub fn insert(&mut self, provider: Symbol, entry: AudioProviderEntry)
Adds or replaces a proof provider entry.
Trait Implementations§
Source§impl Clone for AudioProviderProofEntries
impl Clone for AudioProviderProofEntries
Source§fn clone(&self) -> AudioProviderProofEntries
fn clone(&self) -> AudioProviderProofEntries
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for AudioProviderProofEntries
impl Default for AudioProviderProofEntries
Source§fn default() -> AudioProviderProofEntries
fn default() -> AudioProviderProofEntries
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AudioProviderProofEntries
impl RefUnwindSafe for AudioProviderProofEntries
impl Send for AudioProviderProofEntries
impl Sync for AudioProviderProofEntries
impl Unpin for AudioProviderProofEntries
impl UnsafeUnpin for AudioProviderProofEntries
impl UnwindSafe for AudioProviderProofEntries
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