[−][src]Struct wharf::opts::ContainerLogsOpts
Options for container logs
Methods
impl ContainerLogsOpts
[src]
pub fn new() -> Self
[src]
pub fn follow(&mut self, follow: bool) -> &mut Self
[src]
Keep connection after returning logs.
pub fn stdout(&mut self, stdout: bool) -> &mut Self
[src]
Return logs from stdout
pub fn stderr(&mut self, stderr: bool) -> &mut Self
[src]
Return logs from stderr
pub fn since(&mut self, since: u32) -> &mut Self
[src]
Only return logs since this time, as a UNIX timestamp
pub fn until(&mut self, until: u32) -> &mut Self
[src]
Only return logs before this time, as a UNIX timestamp
pub fn timestamps(&mut self, timestamps: bool) -> &mut Self
[src]
Add timestamps to every log file
pub fn tail(&mut self, tail: String) -> &mut Self
[src]
Only return this number of log lines from the end of the logs. Specify as an integer or all to output all log lines
Trait Implementations
impl Default for ContainerLogsOpts
[src]
fn default() -> ContainerLogsOpts
[src]
impl DockerOpts for ContainerLogsOpts
[src]
Auto Trait Implementations
impl RefUnwindSafe for ContainerLogsOpts
impl Send for ContainerLogsOpts
impl Sync for ContainerLogsOpts
impl Unpin for ContainerLogsOpts
impl UnwindSafe for ContainerLogsOpts
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,