Struct gstreamer::LoggableError
source · pub struct LoggableError { /* private fields */ }
Implementations§
source§impl LoggableError
impl LoggableError
pub fn new(category: DebugCategory, bool_error: BoolError) -> LoggableError
pub fn log(&self)
pub fn log_with_object<O: IsA<Object>>(&self, obj: &O)
pub fn log_with_imp<I: ObjectSubclass>(&self, imp: &I)
pub fn category(&self) -> DebugCategory
Trait Implementations§
source§impl Clone for LoggableError
impl Clone for LoggableError
source§fn clone(&self) -> LoggableError
fn clone(&self) -> LoggableError
Returns a copy 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 LoggableError
impl Debug for LoggableError
source§impl Display for LoggableError
impl Display for LoggableError
source§impl Error for LoggableError
impl Error for LoggableError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()