[][src]Struct value_trait::generator::DumpGenerator

pub struct DumpGenerator<VT: Value> { /* fields omitted */ }

Simple dump Generator

Methods

impl<VT: Value> DumpGenerator<VT>[src]

#[must_use]pub fn new() -> Self[src]

Creates a new generator

#[must_use]pub fn consume(self) -> String[src]

Returns the data as a String

Trait Implementations

impl<VT: Value> BaseGenerator for DumpGenerator<VT>[src]

type T = Vec<u8>

The writer

impl<VT: Value> Default for DumpGenerator<VT>[src]

Auto Trait Implementations

impl<VT> RefUnwindSafe for DumpGenerator<VT> where
    VT: RefUnwindSafe

impl<VT> Send for DumpGenerator<VT> where
    VT: Send

impl<VT> Sync for DumpGenerator<VT> where
    VT: Sync

impl<VT> Unpin for DumpGenerator<VT> where
    VT: Unpin

impl<VT> UnwindSafe for DumpGenerator<VT> where
    VT: 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, 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.