[][src]Struct molecule::prelude::ByteReader

pub struct ByteReader<'r>(_);

Methods

impl<'r> ByteReader<'r>[src]

pub const NAME: &'r str[src]

pub fn to_entity(self) -> Byte[src]

pub fn new_unchecked(slice: &'r [u8]) -> Self[src]

pub fn as_slice(&self) -> &'r [u8][src]

pub fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>[src]

pub fn from_slice(slice: &'r [u8]) -> VerificationResult<Self>[src]

pub fn from_compatible_slice(slice: &'r [u8]) -> VerificationResult<Self>[src]

Trait Implementations

impl<'r> Clone for ByteReader<'r>[src]

impl<'r> Copy for ByteReader<'r>[src]

impl<'r> Debug for ByteReader<'r>[src]

impl<'r> Display for ByteReader<'r>[src]

impl<'r> Eq for ByteReader<'r>[src]

impl<'_, '_> From<&'_ ByteReader<'_>> for u8[src]

impl<'_> From<ByteReader<'_>> for u8[src]

impl<'r> Hash for ByteReader<'r>[src]

impl<'r> Ord for ByteReader<'r>[src]

impl<'r> PartialEq<ByteReader<'r>> for ByteReader<'r>[src]

impl<'r> PartialOrd<ByteReader<'r>> for ByteReader<'r>[src]

impl<'r> StructuralEq for ByteReader<'r>[src]

impl<'r> StructuralPartialEq for ByteReader<'r>[src]

Auto Trait Implementations

impl<'r> Send for ByteReader<'r>

impl<'r> Sync for ByteReader<'r>

impl<'r> Unpin for ByteReader<'r>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.