pub struct LogcatOptions {
pub expr: Option<String>,
pub dump: bool,
pub filename: Option<String>,
pub tags: Option<Vec<LogcatTag>>,
pub format: Option<String>,
pub since: Option<DateTime<Local>>,
pub pid: Option<i32>,
pub timeout: Option<Duration>,
}Fields§
§expr: Option<String>-e Only prints lines where the log message matches expr, where expr is a regular expression.
dump: bool-d Dumps the log to the screen and exits.
filename: Option<String>-f filename Writes log message output to filename. The default is stdout.
-s Equivalent to the filter expression ‘*:S’, which sets priority for all tags to silent and is used to precede a list of filter expressions that add content.
format: Option<String>-v format Sets the output format for log messages. The default is the thread time format
since: Option<DateTime<Local>>-t ‘time’ Prints the most recent lines since the specified time. This option includes -d functionality. See the -P option for information about quoting parameters with embedded spaces.
pid: Option<i32>§timeout: Option<Duration>Trait Implementations§
Source§impl Clone for LogcatOptions
impl Clone for LogcatOptions
Source§fn clone(&self) -> LogcatOptions
fn clone(&self) -> LogcatOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LogcatOptions
impl Debug for LogcatOptions
Source§impl Default for LogcatOptions
impl Default for LogcatOptions
Source§impl IntoIterator for LogcatOptions
impl IntoIterator for LogcatOptions
Source§impl PartialEq for LogcatOptions
impl PartialEq for LogcatOptions
impl Eq for LogcatOptions
impl StructuralPartialEq for LogcatOptions
Auto Trait Implementations§
impl Freeze for LogcatOptions
impl RefUnwindSafe for LogcatOptions
impl Send for LogcatOptions
impl Sync for LogcatOptions
impl Unpin for LogcatOptions
impl UnwindSafe for LogcatOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().