[][src]Struct shipliftExp::Volumes

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

Interface for docker volumes

Methods

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

pub fn new(docker: &'a Docker) -> Volumes<'a>[src]

Exports an interface for interacting with docker volumes

pub fn create(
    &self,
    opts: &VolumeCreateOptions
) -> impl Future<Item = VolumeCreateInfo, Error = Error>
[src]

pub fn list(&self) -> impl Future<Item = Vec<VolumeRep>, Error = Error>[src]

Lists the docker volumes on the current docker host

pub fn get<'b>(&self, name: &'b str) -> Volume<'a, 'b>[src]

Returns a reference to a set of operations available for a named volume

Auto Trait Implementations

impl<'a> Send for Volumes<'a>

impl<'a> Sync for Volumes<'a>

impl<'a> Unpin for Volumes<'a>

impl<'a> !UnwindSafe for Volumes<'a>

impl<'a> !RefUnwindSafe for Volumes<'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 = 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> 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]