Struct diesel::serialize::Output[][src]

pub struct Output<'a, T, DB> where
    DB: TypeMetadata,
    DB::MetadataLookup: 'a, 
{ /* fields omitted */ }
[]

Wraps a buffer to be written by ToSql with additional backend specific utilities.

Methods

impl<'a, T, DB: TypeMetadata> Output<'a, T, DB>
[src]
[]

[]

Construct a new Output

Important traits for Output<'a, T, DB>
[]

Create a new Output with the given buffer

[]

Return the raw buffer this type is wrapping

[]

Returns the backend's mechanism for dynamically looking up type metadata at runtime, if relevant for the given backend.

Trait Implementations

impl<'a, T: Clone, DB: Clone> Clone for Output<'a, T, DB> where
    DB: TypeMetadata,
    DB::MetadataLookup: 'a,
    DB::MetadataLookup: Clone
[src]
[+]

Important traits for Output<'a, T, DB>
[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl<'a, T: Copy, DB: Copy> Copy for Output<'a, T, DB> where
    DB: TypeMetadata,
    DB::MetadataLookup: 'a,
    DB::MetadataLookup: Copy
[src]

impl<'a, T: Write, DB: TypeMetadata> Write for Output<'a, T, DB>
[src]
[+]

[]

Write a buffer into this object, returning how many bytes were written. Read more

[]

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

[]

Attempts to write an entire buffer into this write. Read more

[]

Writes a formatted string into this writer, returning any error encountered. Read more

[]

Creates a "by reference" adaptor for this instance of Write. Read more

impl<'a, T, DB: TypeMetadata> Deref for Output<'a, T, DB>
[src]
[+]

The resulting type after dereferencing.

[]

Dereferences the value.

impl<'a, T, DB: TypeMetadata> DerefMut for Output<'a, T, DB>
[src]
[+]

[]

Mutably dereferences the value.

impl<'a, T, U, DB> PartialEq<U> for Output<'a, T, DB> where
    DB: TypeMetadata,
    T: PartialEq<U>, 
[src]
[+]

[]

This method tests for self and other values to be equal, and is used by ==. Read more

[]

This method tests for !=.

impl<'a, T, DB> Debug for Output<'a, T, DB> where
    T: Debug,
    DB: TypeMetadata
[src]
[+]

[]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a, T, DB> Send for Output<'a, T, DB> where
    T: Send,
    <DB as TypeMetadata>::MetadataLookup: Sync

impl<'a, T, DB> Sync for Output<'a, T, DB> where
    T: Sync,
    <DB as TypeMetadata>::MetadataLookup: Sync