#[non_exhaustive]pub enum ReportingDetails {
Unknown,
None,
Synthetic,
Subchain,
Monitor,
All,
Smart,
Count,
}
Expand description
Setting the reporting level allows to control the way issues are reported
when calling gst_validate_runner_printf
.
The reporting level can be set through the “GST_VALIDATE_REPORTING_DETAILS” environment variable, as a comma-separated list of (optional) object categories / names and levels. No object category / name sets the global level.
Examples: GST_VALIDATE_REPORTING_DETAILS=synthetic,h264parse:all GST_VALIDATE_REPORTING_DETAILS=none,h264parse::sink_0:synthetic
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Unknown
No reporting level known, reporting will default to the global reporting level.
None
No debugging level specified or desired. Used to deactivate debugging output.
Synthetic
Summary of the issues found, with no details.
Subchain
If set as the default level, similar issues can be reported multiple times for different subchains. If set as the level for a particular object (my_object:subchain), validate will report the issues where the object is the first to report an issue for a subchain.
Monitor
If set as the default level, all the distinct issues for all the monitors will be reported. If set as the level for a particular object, all the distinct issues for this object will be reported. Note that if the same issue happens twice on the same object, up until this level that issue is only reported once.
All
All the issues will be reported, even those that repeat themselves inside the same object. This can be very verbose if set globally.
Smart
Sythetic for not fatal issues and detailed for others
Count
Trait Implementations§
source§impl Clone for ReportingDetails
impl Clone for ReportingDetails
source§fn clone(&self) -> ReportingDetails
fn clone(&self) -> ReportingDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReportingDetails
impl Debug for ReportingDetails
source§impl From<ReportingDetails> for Value
impl From<ReportingDetails> for Value
source§fn from(v: ReportingDetails) -> Self
fn from(v: ReportingDetails) -> Self
source§impl<'a> FromValue<'a> for ReportingDetails
impl<'a> FromValue<'a> for ReportingDetails
§type Checker = GenericValueTypeChecker<ReportingDetails>
type Checker = GenericValueTypeChecker<ReportingDetails>
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Value
. Read moresource§impl HasParamSpec for ReportingDetails
impl HasParamSpec for ReportingDetails
type ParamSpec = ParamSpecEnum
§type SetValue = ReportingDetails
type SetValue = ReportingDetails
type BuilderFn = fn(_: &str, _: ReportingDetails) -> ParamSpecEnumBuilder<'_, ReportingDetails>
fn param_spec_builder() -> Self::BuilderFn
source§impl Hash for ReportingDetails
impl Hash for ReportingDetails
source§impl Ord for ReportingDetails
impl Ord for ReportingDetails
source§fn cmp(&self, other: &ReportingDetails) -> Ordering
fn cmp(&self, other: &ReportingDetails) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ReportingDetails
impl PartialEq for ReportingDetails
source§impl PartialOrd for ReportingDetails
impl PartialOrd for ReportingDetails
source§impl StaticType for ReportingDetails
impl StaticType for ReportingDetails
source§fn static_type() -> Type
fn static_type() -> Type
Self
.source§impl ToValue for ReportingDetails
impl ToValue for ReportingDetails
source§impl ValueType for ReportingDetails
impl ValueType for ReportingDetails
§type Type = ReportingDetails
type Type = ReportingDetails
Type
from. Read moreimpl Copy for ReportingDetails
impl Eq for ReportingDetails
impl StructuralPartialEq for ReportingDetails
Auto Trait Implementations§
impl Freeze for ReportingDetails
impl RefUnwindSafe for ReportingDetails
impl Send for ReportingDetails
impl Sync for ReportingDetails
impl Unpin for ReportingDetails
impl UnwindSafe for ReportingDetails
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
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>
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>
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> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
SendValue
clone of self
.