pub struct ContainerAttach<'a> {
pub detach_keys: Option<&'a str>,
pub logs: Option<bool>,
pub stream: Option<bool>,
pub stdout: Option<bool>,
pub stderr: Option<bool>,
pub stdin: Option<bool>,
}
Available on crate feature
v4
only.Fields§
§detach_keys: Option<&'a str>
keys to use for detaching from the container
logs: Option<bool>
Stream all logs from the container across the connection. Happens before streaming attach (if requested). At least one of logs or stream must be set
stream: Option<bool>
Attach to the container. If unset, and logs is set, only the container’s logs will be sent. At least one of stream or logs must be set
stdout: Option<bool>
Attach to container STDOUT
stderr: Option<bool>
Attach to container STDERR
stdin: Option<bool>
Attach to container STDIN
Trait Implementations§
Source§impl<'a> Debug for ContainerAttach<'a>
impl<'a> Debug for ContainerAttach<'a>
Source§impl<'a> Default for ContainerAttach<'a>
impl<'a> Default for ContainerAttach<'a>
Source§fn default() -> ContainerAttach<'a>
fn default() -> ContainerAttach<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ContainerAttach<'a>
impl<'a> RefUnwindSafe for ContainerAttach<'a>
impl<'a> Send for ContainerAttach<'a>
impl<'a> Sync for ContainerAttach<'a>
impl<'a> Unpin for ContainerAttach<'a>
impl<'a> UnwindSafe for ContainerAttach<'a>
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