pub struct LogFilterArgs {Show 28 fields
pub filter: Vec<String>,
pub moniker: Vec<String>,
pub component: Vec<String>,
pub exclude: Vec<String>,
pub exclude_regex: Vec<String>,
pub exclude_regex_file: Option<String>,
pub tag: Vec<String>,
pub exclude_tags: Vec<String>,
pub severity: Option<Severity>,
pub kernel: bool,
pub since: Option<DetailedDateTime>,
pub since_boot: Option<Duration>,
pub until: Option<DetailedDateTime>,
pub until_boot: Option<Duration>,
pub hide_tags: bool,
pub hide_file: bool,
pub no_color: bool,
pub case_sensitive: bool,
pub show_metadata: bool,
pub show_full_moniker: bool,
pub prefer_url_component_name: bool,
pub hide_moniker: bool,
pub clock: Option<TimeFormat>,
pub pid: Option<u64>,
pub tid: Option<u64>,
pub force_set_severity: bool,
pub encoding: Option<LogEncoding>,
pub json: bool,
}Expand description
Container for log filtering and display arguments.
Fields§
§filter: Vec<String>§moniker: Vec<String>§component: Vec<String>§exclude: Vec<String>§exclude_regex: Vec<String>§exclude_regex_file: Option<String>§tag: Vec<String>§severity: Option<Severity>§kernel: bool§since: Option<DetailedDateTime>§since_boot: Option<Duration>§until: Option<DetailedDateTime>§until_boot: Option<Duration>§hide_file: bool§no_color: bool§case_sensitive: bool§show_metadata: bool§show_full_moniker: bool§prefer_url_component_name: bool§hide_moniker: bool§clock: Option<TimeFormat>§pid: Option<u64>§tid: Option<u64>§force_set_severity: bool§encoding: Option<LogEncoding>§json: boolImplementations§
Source§impl LogFilterArgs
impl LogFilterArgs
Sourcepub fn merge(&mut self, other: LogFilterArgs)
pub fn merge(&mut self, other: LogFilterArgs)
Merges other filter arguments into self, extending list filters and overlaying non-default scalar/flag values.
Trait Implementations§
Source§impl Clone for LogFilterArgs
impl Clone for LogFilterArgs
Source§fn clone(&self) -> LogFilterArgs
fn clone(&self) -> LogFilterArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LogFilterArgs
impl Debug for LogFilterArgs
Source§impl Default for LogFilterArgs
impl Default for LogFilterArgs
Source§impl PartialEq for LogFilterArgs
impl PartialEq for LogFilterArgs
Source§fn eq(&self, other: &LogFilterArgs) -> bool
fn eq(&self, other: &LogFilterArgs) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LogFilterArgs
Auto Trait Implementations§
impl Freeze for LogFilterArgs
impl RefUnwindSafe for LogFilterArgs
impl Send for LogFilterArgs
impl Sync for LogFilterArgs
impl Unpin for LogFilterArgs
impl UnsafeUnpin for LogFilterArgs
impl UnwindSafe for LogFilterArgs
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<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
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 more