Struct capsules::rng::SimpleRng [] [src]

pub struct SimpleRng<'a, RNG: RNG + 'a> {
    rng: &'a RNG,
    apps: Grant<App>,
    getting_randomness: Cell<bool>,
}

Fields

Methods

impl<'a, RNG: RNG> SimpleRng<'a, RNG>
[src]

[src]

Trait Implementations

impl<'a, RNG: RNG> Client for SimpleRng<'a, RNG>
[src]

[src]
[]

Called by the (RNG)[trait.RNG.html] when there are one or more random numbers available Read more

impl<'a, RNG: RNG> Driver for SimpleRng<'a, RNG>
[src]

[src]
[]

allow lets an application give the driver access to a buffer in the application's memory. This returns ENOSUPPORT if not used. Read more

[src]
[]

subscribe lets an application pass a callback to the driver to be called later. This returns ENOSUPPORT if not used. Read more

[src]
[]

command instructs a driver to perform some action synchronously. This returns ENOSUPPORT if not used. Read more