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

pub struct Varbit<'a> { /* fields omitted */ }

A VARBIT value.

Methods

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

pub fn len(&self) -> usize[src]

Returns the number of bits.

pub fn is_empty(&self) -> bool[src]

Determines if the value has no bits.

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

Returns the bits as a slice of bytes.

Auto Trait Implementations

impl<'a> Send for Varbit<'a>

impl<'a> Sync for Varbit<'a>

impl<'a> Unpin for Varbit<'a>

impl<'a> UnwindSafe for Varbit<'a>

impl<'a> RefUnwindSafe for Varbit<'a>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,