pub(crate) trait CredentialsContainerMethods<D>where
D: DomTypes,{
// Required methods
fn Get(
&self,
realm: &mut CurrentRealm<'_>,
options: &CredentialRequestOptions<D>,
) -> Result<<<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot, Error>;
fn Store(
&self,
realm: &mut CurrentRealm<'_>,
credential: &<D as DomTypes>::Credential,
) -> Result<<<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot, Error>;
fn Create(
&self,
realm: &mut CurrentRealm<'_>,
options: &CredentialCreationOptions<D>,
) -> Result<<<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot, Error>;
fn PreventSilentAccess(
&self,
realm: &mut CurrentRealm<'_>,
) -> Result<<<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot, Error>;
}Required Methods§
fn Get( &self, realm: &mut CurrentRealm<'_>, options: &CredentialRequestOptions<D>, ) -> Result<<<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot, Error>
fn Store( &self, realm: &mut CurrentRealm<'_>, credential: &<D as DomTypes>::Credential, ) -> Result<<<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot, Error>
fn Create( &self, realm: &mut CurrentRealm<'_>, options: &CredentialCreationOptions<D>, ) -> Result<<<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot, Error>
fn PreventSilentAccess( &self, realm: &mut CurrentRealm<'_>, ) -> Result<<<D as DomTypes>::Promise as PromiseHelpers<D>>::StackRoot, Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".