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]

[src]

Construct a new Output

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

Create a new Output with the given buffer

[src]

Return the raw buffer this type is wrapping

[src]

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>
[src]

Returns a copy of the value. Read more

1.0.0
[src]

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]

[src]

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

[src]

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

[src]

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

[src]

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

1.0.0
[src]

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.

[src]

Dereferences the value.

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

[src]

Mutably dereferences the value.

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

[src]

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

1.0.0
[src]

This method tests for !=.

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

[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