[][src]Struct couchbase::Bucket

pub struct Bucket { /* fields omitted */ }

Provides access to Bucket level operations and Collections.

Methods

impl Bucket[src]

pub fn default_collection(&self) -> Collection[src]

Opens the default Collection.

This method provides access to the default collection, which is present if you do not have any collections (upgrading from an older cluster) or if you are on a Couchbase Server version which does not support collections yet.

Auto Trait Implementations

impl !Send for Bucket

impl !Sync for Bucket

Blanket Implementations

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

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

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

type Error = Infallible

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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