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