Enum postgres_types::Format
source · [−]pub enum Format {
Text,
Binary,
}
Expand description
Supported Postgres message format types
Using Text format in a message assumes a Postgres SERVER_ENCODING
of UTF8
Variants
Text
Text format (UTF-8)
Binary
Compact, typed binary format
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more