[−][src]Struct postgres_protocol::types::Varbit
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][+]
U: From<T>,
impl<T> From<T> for T
[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self