pub struct LinuxObserverBridge;Implementations§
Source§impl LinuxObserverBridge
impl LinuxObserverBridge
pub fn start() -> bool
pub fn stop() -> bool
pub fn acquire() -> bool
pub fn release() -> bool
pub fn is_active() -> bool
pub fn push_event<T: Into<String>>(text: T) -> bool
pub fn drain_events(max_events: usize) -> Vec<String>
pub fn dropped_events() -> u64
pub fn set_lifecycle_hook(hook: Option<LinuxObserverLifecycleHook>)
pub fn lifecycle_hook_registered() -> bool
Auto Trait Implementations§
impl Freeze for LinuxObserverBridge
impl RefUnwindSafe for LinuxObserverBridge
impl Send for LinuxObserverBridge
impl Sync for LinuxObserverBridge
impl Unpin for LinuxObserverBridge
impl UnsafeUnpin for LinuxObserverBridge
impl UnwindSafe for LinuxObserverBridge
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