pub struct RawRand;Expand description
Return 32 bytes of random data.
Trait Implementations§
Source§impl Method for RawRand
impl Method for RawRand
const NAME: &'static str = "raw_rand"
type Arguments = ()
type Response = (Vec<u8>,)
fn perform(id: Principal, args: Self::Arguments) -> CallResponse<Self::Response>
fn perform_with_payment( id: Principal, args: Self::Arguments, cycles: u64, ) -> CallResponse<Self::Response>
Auto Trait Implementations§
impl Freeze for RawRand
impl RefUnwindSafe for RawRand
impl Send for RawRand
impl Sync for RawRand
impl Unpin for RawRand
impl UnwindSafe for RawRand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more