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§
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more