Struct postgres_protocol::types::Varbit [] [src]

pub struct Varbit<'a> {
    // some fields omitted
}
[]

A VARBIT value.

Methods

impl<'a> Varbit<'a>
[src]

fn len(&self) -> usize[]

Returns the number of bits.

fn bytes(&self) -> &'a [u8][]

Returns the bits as a slice of bytes.