Trait dryoc::types::Bytes [−][src]
pub trait Bytes {
fn as_slice(&self) -> &[u8];
fn len(&self) -> usize;
fn is_empty(&self) -> bool;
}
Expand description
Arbitrary-length array of bytes.
Required methods
Implementations on Foreign Types
Implementors
impl<A: Zeroize + Bytes, LM: LockMode> Bytes for Protected<A, ReadOnly, LM>
This is supported on crate feature
nightly
only.impl<A: Zeroize + Bytes, LM: LockMode> Bytes for Protected<A, ReadWrite, LM>
This is supported on crate feature
nightly
only.impl<const LENGTH: usize> Bytes for HeapByteArray<LENGTH>
This is supported on crate feature
nightly
only.