pub struct ContainerConnectionOpts { /* private fields */ }
Expand description
Interface for connecting a container to a network.
Implementations§
Source§impl ContainerConnectionOpts
impl ContainerConnectionOpts
Sourcepub fn serialize_vec(&self) -> Result<Vec<u8>>
pub fn serialize_vec(&self) -> Result<Vec<u8>>
Serializes the options as a JSON bytes.
Sourcepub fn builder<I>(container_id: I) -> ContainerConnectionOptsBuilder
pub fn builder<I>(container_id: I) -> ContainerConnectionOptsBuilder
Return a new instance of a builder for connecting a container to a network.
Trait Implementations§
Source§impl Debug for ContainerConnectionOpts
impl Debug for ContainerConnectionOpts
Auto Trait Implementations§
impl Freeze for ContainerConnectionOpts
impl RefUnwindSafe for ContainerConnectionOpts
impl Send for ContainerConnectionOpts
impl Sync for ContainerConnectionOpts
impl Unpin for ContainerConnectionOpts
impl UnwindSafe for ContainerConnectionOpts
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