Struct docker_api::network::Network[][src]

pub struct Network<'docker> { /* fields omitted */ }
Expand description

Interface for accessing and manipulating a docker network

Implementations

Exports an interface exposing operations against a network instance

a getter for the Network id

Inspects the current docker network instance’s details

API Reference: https://docs.docker.com/engine/api/v1.41/#operation/NetworkInspect

Delete the network instance

API Reference: https://docs.docker.com/engine/api/v1.41/#operation/NetworkDelete

Connect container to network

API Reference: https://docs.docker.com/engine/api/v1.41/#operation/NetworkConnect

Disconnect container to network

API Reference: https://docs.docker.com/engine/api/v1.41/#operation/NetworkDisconnect

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.