[][src]Struct shiplift::Volume

pub struct Volume<'a, 'b> { /* fields omitted */ }

Interface for accessing and manipulating a named docker volume

Methods

impl<'a, 'b> Volume<'a, 'b>[src]

pub fn new<S>(docker: &'a Docker, name: S) -> Volume<'a, 'b> where
    S: Into<Cow<'b, str>>, 
[src]

Exports an interface for operations that may be performed against a named volume

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

Deletes a volume

Auto Trait Implementations

impl<'a, 'b> Unpin for Volume<'a, 'b>

impl<'a, 'b> Sync for Volume<'a, 'b>

impl<'a, 'b> Send for Volume<'a, 'b>

impl<'a, 'b> !UnwindSafe for Volume<'a, 'b>

impl<'a, 'b> !RefUnwindSafe for Volume<'a, 'b>

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]