Skip to main content

RngTypeIdentifier

Trait RngTypeIdentifier 

Source
pub trait RngTypeIdentifier {
    // Required method
    fn botan_name(&self) -> String;
}
Expand description

A type that identifies a Botan random number generator.

Required Methods§

Source

fn botan_name(&self) -> String

Return the Botan interface string for this identifier.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl RngTypeIdentifier for String

Source§

impl RngTypeIdentifier for str

Source§

impl<T: RngTypeIdentifier + ?Sized> RngTypeIdentifier for &T

Implementors§