pub trait NewBytes: MutBytes {
// Required method
fn new_bytes() -> Self;
}
Expand description
Arbitrary-length byte array that can be created and initialized.
Required Methods§
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
Implementors§
impl NewBytes for HeapBytes
Available on crate feature
nightly
only.impl NewBytes for Protected<HeapBytes, ReadWrite, Locked>
Available on crate feature
nightly
only.impl<const LENGTH: usize> NewBytes for HeapByteArray<LENGTH>
Available on crate feature
nightly
only.impl<const LENGTH: usize> NewBytes for Protected<HeapByteArray<LENGTH>, ReadWrite, Locked>
Available on crate feature
nightly
only.