[][src]Struct shiplift::Networks

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

Interface for docker network

Methods

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

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

Exports an interface for interacting with docker Networks

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

List the docker networks on the current docker host

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

Returns a reference to a set of operations available to a specific network instance

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

Create a new Network instance

Auto Trait Implementations

impl<'a> Send for Networks<'a>

impl<'a> Sync for Networks<'a>

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]

impl<T> Erased for T