Skip to main content

default_provider

Function default_provider 

Source
pub fn default_provider() -> Result<Arc<dyn RTCCryptoProvider>, CryptoError>
Expand description

Constructs the built-in default provider.

Ring remains the default whenever its feature is enabled. AWS-LC-RS is selected only when it is the sole built-in. With no built-in features this returns CryptoError::NoDefaultProvider.