Trait rocket::mtls::oid::asn1_rs::nom::AsBytes

pub trait AsBytes {
    // Required method
    fn as_bytes(&self) -> &[u8] ;
}
Available on crate feature mtls only.
Expand description

Helper trait for types that can be viewed as a byte slice

Required Methods§

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

Casts the input type to a byte slice

Implementations on Foreign Types§

§

impl AsBytes for str

§

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

§

impl AsBytes for [u8; 0]

§

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

§

impl AsBytes for [u8; 1]

§

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

§

impl AsBytes for [u8; 2]

§

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

§

impl AsBytes for [u8; 3]

§

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

§

impl AsBytes for [u8; 4]

§

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

§

impl AsBytes for [u8; 5]

§

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

§

impl AsBytes for [u8; 6]

§

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

§

impl AsBytes for [u8; 7]

§

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

§

impl AsBytes for [u8; 8]

§

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

§

impl AsBytes for [u8; 9]

§

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

§

impl AsBytes for [u8; 10]

§

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

§

impl AsBytes for [u8; 11]

§

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

§

impl AsBytes for [u8; 12]

§

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

§

impl AsBytes for [u8; 13]

§

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

§

impl AsBytes for [u8; 14]

§

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

§

impl AsBytes for [u8; 15]

§

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

§

impl AsBytes for [u8; 16]

§

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

§

impl AsBytes for [u8; 17]

§

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

§

impl AsBytes for [u8; 18]

§

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

§

impl AsBytes for [u8; 19]

§

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

§

impl AsBytes for [u8; 20]

§

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

§

impl AsBytes for [u8; 21]

§

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

§

impl AsBytes for [u8; 22]

§

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

§

impl AsBytes for [u8; 23]

§

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

§

impl AsBytes for [u8; 24]

§

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

§

impl AsBytes for [u8; 25]

§

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

§

impl AsBytes for [u8; 26]

§

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

§

impl AsBytes for [u8; 27]

§

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

§

impl AsBytes for [u8; 28]

§

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

§

impl AsBytes for [u8; 29]

§

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

§

impl AsBytes for [u8; 30]

§

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

§

impl AsBytes for [u8; 31]

§

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

§

impl AsBytes for [u8; 32]

§

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

§

impl AsBytes for [u8]

§

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

§

impl<'a> AsBytes for &'a str

§

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

§

impl<'a> AsBytes for &'a [u8; 0]

§

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

§

impl<'a> AsBytes for &'a [u8; 1]

§

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

§

impl<'a> AsBytes for &'a [u8; 2]

§

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

§

impl<'a> AsBytes for &'a [u8; 3]

§

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

§

impl<'a> AsBytes for &'a [u8; 4]

§

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

§

impl<'a> AsBytes for &'a [u8; 5]

§

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

§

impl<'a> AsBytes for &'a [u8; 6]

§

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

§

impl<'a> AsBytes for &'a [u8; 7]

§

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

§

impl<'a> AsBytes for &'a [u8; 8]

§

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

§

impl<'a> AsBytes for &'a [u8; 9]

§

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

§

impl<'a> AsBytes for &'a [u8; 10]

§

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

§

impl<'a> AsBytes for &'a [u8; 11]

§

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

§

impl<'a> AsBytes for &'a [u8; 12]

§

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

§

impl<'a> AsBytes for &'a [u8; 13]

§

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

§

impl<'a> AsBytes for &'a [u8; 14]

§

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

§

impl<'a> AsBytes for &'a [u8; 15]

§

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

§

impl<'a> AsBytes for &'a [u8; 16]

§

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

§

impl<'a> AsBytes for &'a [u8; 17]

§

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

§

impl<'a> AsBytes for &'a [u8; 18]

§

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

§

impl<'a> AsBytes for &'a [u8; 19]

§

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

§

impl<'a> AsBytes for &'a [u8; 20]

§

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

§

impl<'a> AsBytes for &'a [u8; 21]

§

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

§

impl<'a> AsBytes for &'a [u8; 22]

§

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

§

impl<'a> AsBytes for &'a [u8; 23]

§

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

§

impl<'a> AsBytes for &'a [u8; 24]

§

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

§

impl<'a> AsBytes for &'a [u8; 25]

§

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

§

impl<'a> AsBytes for &'a [u8; 26]

§

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

§

impl<'a> AsBytes for &'a [u8; 27]

§

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

§

impl<'a> AsBytes for &'a [u8; 28]

§

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

§

impl<'a> AsBytes for &'a [u8; 29]

§

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

§

impl<'a> AsBytes for &'a [u8; 30]

§

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

§

impl<'a> AsBytes for &'a [u8; 31]

§

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

§

impl<'a> AsBytes for &'a [u8; 32]

§

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

§

impl<'a> AsBytes for &'a [u8]

§

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

Implementors§