pub enum Network {
Bridge,
Host,
None,
}
Expand description
Network mode, refer to the docker documentation for an explanation on the different modes.
Variants§
Bridge
The default network driver.
Host
Remove network isolation between the container and the Docker host.
None
Completely isolate a container from the host and other containers.
Auto Trait Implementations§
impl Freeze for Network
impl RefUnwindSafe for Network
impl Send for Network
impl Sync for Network
impl Unpin for Network
impl UnwindSafe for Network
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more