soroban_sdk::testutils

Trait BytesN

Source
pub trait BytesN<const N: usize> {
    // Required method
    fn random(env: &Env) -> BytesN<N>;
}
Available on crate feature testutils only.
Expand description

Test utilities for BytesN.

Required Methods§

Source

fn random(env: &Env) -> BytesN<N>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<const N: usize> BytesN<N> for BytesN<N>