[][src]Struct ckb_types::packed::AlertReader

pub struct AlertReader<'r>(_);

Implementations

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

pub const FIELD_COUNT: usize[src]

pub fn total_size(&self) -> usize[src]

pub fn field_count(&self) -> usize[src]

pub fn count_extra_fields(&self) -> usize[src]

pub fn has_extra_fields(&self) -> bool[src]

pub fn raw(&self) -> RawAlertReader<'r>[src]

pub fn signatures(&self) -> BytesVecReader<'r>[src]

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

pub fn calc_alert_hash(&self) -> Byte32[src]

Trait Implementations

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

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

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

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

impl<'r> LowerHex for AlertReader<'r>[src]

impl<'r> Reader<'r> for AlertReader<'r>[src]

type Entity = Alert

Auto Trait Implementations

impl<'r> RefUnwindSafe for AlertReader<'r>

impl<'r> Send for AlertReader<'r>

impl<'r> Sync for AlertReader<'r>

impl<'r> Unpin for AlertReader<'r>

impl<'r> UnwindSafe for AlertReader<'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<'r, R> FromSliceShouldBeOk<'r> for R where
    R: Reader<'r>, 
[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.