[][src]Struct pb_jelly::Lazy

pub struct Lazy<B: PbBuffer> { /* fields omitted */ }

A wrapper around a lazily-evaluted PbBufferReader which implements Message.

Implementations

impl<B: PbBuffer> Lazy<B>[src]

pub fn new(r: B) -> Self[src]

pub fn into_buffer(self) -> B[src]

Trait Implementations

impl<B: Clone + PbBuffer> Clone for Lazy<B>[src]

impl<B: PbBuffer> Debug for Lazy<B>[src]

impl<B: Default + PbBuffer> Default for Lazy<B>[src]

impl<B: PbBuffer + PartialEq> Message for Lazy<B>[src]

impl<B: PartialEq + PbBuffer> PartialEq<Lazy<B>> for Lazy<B>[src]

impl<B: PbBuffer> StructuralPartialEq for Lazy<B>[src]

Auto Trait Implementations

impl<B> RefUnwindSafe for Lazy<B> where
    B: RefUnwindSafe

impl<B> Send for Lazy<B> where
    B: Send

impl<B> Sync for Lazy<B> where
    B: Sync

impl<B> Unpin for Lazy<B> where
    B: Unpin

impl<B> UnwindSafe for Lazy<B> where
    B: UnwindSafe

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, E> Message for T where
    E: Debug,
    T: TryFrom<i32, Error = E> + Into<i32> + ProtoEnum
[src]

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

type Owned = T

The resulting type after obtaining ownership.

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.