Enum glib::LogWriterOutput
source · [−]#[non_exhaustive]
pub enum LogWriterOutput {
Handled,
Unhandled,
// some variants omitted
}
v2_50
only.Expand description
Return values from GLogWriterFuncs
to indicate whether the given log entry
was successfully handled by the writer, or whether there was an error in
handling it (and hence a fallback writer should be used).
If a GLogWriterFunc
ignores a log entry, it should return
Handled
.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Handled
Log writer has handled the log entry.
Unhandled
Log writer could not handle the log entry.
Trait Implementations
sourceimpl Clone for LogWriterOutput
impl Clone for LogWriterOutput
sourcefn clone(&self) -> LogWriterOutput
fn clone(&self) -> LogWriterOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LogWriterOutput
impl Debug for LogWriterOutput
sourceimpl Display for LogWriterOutput
impl Display for LogWriterOutput
sourceimpl Hash for LogWriterOutput
impl Hash for LogWriterOutput
sourceimpl Ord for LogWriterOutput
impl Ord for LogWriterOutput
sourceimpl PartialEq<LogWriterOutput> for LogWriterOutput
impl PartialEq<LogWriterOutput> for LogWriterOutput
sourcefn eq(&self, other: &LogWriterOutput) -> bool
fn eq(&self, other: &LogWriterOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LogWriterOutput) -> bool
fn ne(&self, other: &LogWriterOutput) -> bool
This method tests for !=
.
sourceimpl PartialOrd<LogWriterOutput> for LogWriterOutput
impl PartialOrd<LogWriterOutput> for LogWriterOutput
sourcefn partial_cmp(&self, other: &LogWriterOutput) -> Option<Ordering>
fn partial_cmp(&self, other: &LogWriterOutput) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for LogWriterOutput
impl Eq for LogWriterOutput
impl StructuralEq for LogWriterOutput
impl StructuralPartialEq for LogWriterOutput
Auto Trait Implementations
impl RefUnwindSafe for LogWriterOutput
impl Send for LogWriterOutput
impl Sync for LogWriterOutput
impl Unpin for LogWriterOutput
impl UnwindSafe for LogWriterOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more