Struct febug::Wrapper[][src]

pub struct Wrapper<T: ?Sized> { /* fields omitted */ }

Create this to register a variable to be debugged

Implementations

impl<T: ?Sized> Wrapper<T>[src]

pub fn new(tp: u64, data: &T, name: Arguments<'_>) -> Wrapper<T>[src]

Call new_signal() with FEBUG_SIGNUM (SIGUSR2 by default)

pub fn new_signal(
    tp: u64,
    data: &T,
    signal: u8,
    name: Arguments<'_>
) -> Wrapper<T>
[src]

Register the specified variable of the specified type with the specified name to be notified (if not SIGKILL) on the specified signal to format it

Trait Implementations

impl<T: ?Sized> Drop for Wrapper<T>[src]

fn drop(&mut self)[src]

Deregister the variable

Auto Trait Implementations

impl<T: ?Sized> RefUnwindSafe for Wrapper<T> where
    T: RefUnwindSafe
[src]

impl<T: ?Sized> Send for Wrapper<T> where
    T: Send
[src]

impl<T: ?Sized> Sync for Wrapper<T> where
    T: Sync
[src]

impl<T: ?Sized> Unpin for Wrapper<T> where
    T: Unpin
[src]

impl<T: ?Sized> UnwindSafe for Wrapper<T> where
    T: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticWrappable for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Wrappable for T where
    T: ?Sized
[src]