pub struct BoolDecoder;Expand description
Decoder for boolean columns.
Trait Implementations§
Source§impl Clone for BoolDecoder
impl Clone for BoolDecoder
impl Copy for BoolDecoder
Source§impl Debug for BoolDecoder
impl Debug for BoolDecoder
Source§impl<S, B> Decoder<PgBinary, S, B> for BoolDecoder
impl<S, B> Decoder<PgBinary, S, B> for BoolDecoder
Source§fn decode(
&self,
payload: PgBinaryColumn<'_>,
) -> Result<Value<S, B>, DecodeError>
fn decode( &self, payload: PgBinaryColumn<'_>, ) -> Result<Value<S, B>, DecodeError>
Decode one payload. Read more
Auto Trait Implementations§
impl Freeze for BoolDecoder
impl RefUnwindSafe for BoolDecoder
impl Send for BoolDecoder
impl Sync for BoolDecoder
impl Unpin for BoolDecoder
impl UnsafeUnpin for BoolDecoder
impl UnwindSafe for BoolDecoder
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