pub trait DebugControllerExt: 'static {
    // Required methods
    fn is_debug_enabled(&self) -> bool;
    fn set_debug_enabled(&self, debug_enabled: bool);
    fn connect_debug_enabled_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}
Available on crate feature v2_72 only.
Expand description

Required Methods§

source

fn is_debug_enabled(&self) -> bool

Get the value of debug-enabled.

Returns

true if debug output should be exposed, false otherwise

source

fn set_debug_enabled(&self, debug_enabled: bool)

Set the value of debug-enabled.

debug_enabled

true if debug output should be exposed, false otherwise

source

fn connect_debug_enabled_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Implementors§