[][src]Struct ckb_standalone_types::packed::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]) -> ByteReader<'r>[src]

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

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

pub fn from_slice(slice: &'r [u8]) -> Result<ByteReader<'r>, VerificationError>[src]

pub fn from_compatible_slice(
    slice: &'r [u8]
) -> Result<ByteReader<'r>, VerificationError>
[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<'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.