pub struct DockerRef(/* private fields */);Expand description
Wrapper enabling impl Into<DockerRef> on operation constructors.
This allows passing either a DockerClient or a
&DockerClient to any operation constructor without explicit conversion.
Trait Implementations§
Source§impl From<&DockerClient> for DockerRef
impl From<&DockerClient> for DockerRef
Source§fn from(client: &DockerClient) -> Self
fn from(client: &DockerClient) -> Self
Converts to this type from the input type.
Source§impl From<DockerClient> for DockerRef
impl From<DockerClient> for DockerRef
Source§fn from(client: DockerClient) -> Self
fn from(client: DockerClient) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DockerRef
impl !UnwindSafe for DockerRef
impl Freeze for DockerRef
impl Send for DockerRef
impl Sync for DockerRef
impl Unpin for DockerRef
impl UnsafeUnpin for DockerRef
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