Struct diesel::serialize::Output [−][src]
pub struct Output<'a, T, DB> where
DB: TypeMetadata,
DB::MetadataLookup: 'a, { /* fields omitted */ }
Expand description
Wraps a buffer to be written by ToSql
with additional backend specific
utilities.
Implementations
Construct a new Output
pub fn with_buffer<U>(&self, new_out: U) -> Output<'a, U, DB>ⓘNotable traits for Output<'a, T, DB>impl<'a, T: Write, DB: TypeMetadata> Write for Output<'a, T, DB>
pub fn with_buffer<U>(&self, new_out: U) -> Output<'a, U, DB>ⓘNotable traits for Output<'a, T, DB>impl<'a, T: Write, DB: TypeMetadata> Write for Output<'a, T, DB>
impl<'a, T: Write, DB: TypeMetadata> Write 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,
impl<'a, T: Clone, DB: Clone> Clone for Output<'a, T, DB> where
DB: TypeMetadata,
DB::MetadataLookup: 'a,
DB::MetadataLookup: Clone,
Write a buffer into this writer, 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 writer. Read more
Writes a formatted string into this writer, returning any error encountered. Read more
can_vector
)Determines if this Write
r has an efficient write_vectored
implementation. Read more
write_all_vectored
)Attempts to write multiple buffers into this writer. Read more
impl<'a, T: Copy, DB: Copy> Copy for Output<'a, T, DB> where
DB: TypeMetadata,
DB::MetadataLookup: 'a,
DB::MetadataLookup: Copy,
Auto Trait Implementations
impl<'a, T, DB> RefUnwindSafe for Output<'a, T, DB> where
T: RefUnwindSafe,
<DB as TypeMetadata>::MetadataLookup: RefUnwindSafe,
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,
impl<'a, T, DB> UnwindSafe for Output<'a, T, DB> where
T: UnwindSafe,
<DB as TypeMetadata>::MetadataLookup: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more
Writes an unsigned 8 bit integer to the underlying writer. Read more
Writes a signed 8 bit integer to the underlying writer. Read more
Writes an unsigned 16 bit integer to the underlying writer. Read more
Writes a signed 16 bit integer to the underlying writer. Read more
Writes an unsigned 24 bit integer to the underlying writer. Read more
Writes a signed 24 bit integer to the underlying writer. Read more
Writes an unsigned 32 bit integer to the underlying writer. Read more
Writes a signed 32 bit integer to the underlying writer. Read more
Writes an unsigned 48 bit integer to the underlying writer. Read more
Writes a signed 48 bit integer to the underlying writer. Read more
Writes an unsigned 64 bit integer to the underlying writer. Read more
Writes a signed 64 bit integer to the underlying writer. Read more
Writes an unsigned 128 bit integer to the underlying writer.
Writes a signed 128 bit integer to the underlying writer.
Writes an unsigned n-bytes integer to the underlying writer. Read more
Writes a signed n-bytes integer to the underlying writer. Read more
Writes an unsigned n-bytes integer to the underlying writer. Read more
Writes a signed n-bytes integer to the underlying writer. Read more
Writes a IEEE754 single-precision (4 bytes) floating point number to the underlying writer. Read more