Trait miniotp::Array[][src]

pub trait Array {
    fn as_bytes(&self) -> &[u8];
}

A type that can be coerced to a byte slice.

Required methods

fn as_bytes(&self) -> &[u8][src]

Coerce a type to a byte slice.

Loading content...

Implementors

impl<T> Array for T where
    T: AsRef<[u8]>, 
[src]

Loading content...