Struct shiplift::volume::Volume[][src]

pub struct Volume<'docker> { /* fields omitted */ }

Interface for accessing and manipulating a named docker volume

API Reference:


impl<'docker> Volume<'docker>[src]

pub fn new<S>(docker: &'docker Docker, name: S) -> Self where
    S: Into<String>, 

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

pub async fn delete(&self) -> Result<()>[src]

Auto Trait Implementations

impl<'docker> !RefUnwindSafe for Volume<'docker>

impl<'docker> Send for Volume<'docker>

impl<'docker> Sync for Volume<'docker>

impl<'docker> Unpin for Volume<'docker>

impl<'docker> !UnwindSafe for Volume<'docker>

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.