Struct febug::Wrapper [−][src]
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]
tp: u64,
data: &T,
signal: u8,
name: Arguments<'_>
) -> Wrapper<T>
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
Auto Trait Implementations
impl<T: ?Sized> RefUnwindSafe for Wrapper<T> where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T: ?Sized> Send for Wrapper<T> where
T: Send,
[src]
T: Send,
impl<T: ?Sized> Sync for Wrapper<T> where
T: Sync,
[src]
T: Sync,
impl<T: ?Sized> Unpin for Wrapper<T> where
T: Unpin,
[src]
T: Unpin,
impl<T: ?Sized> UnwindSafe for Wrapper<T> where
T: UnwindSafe,
[src]
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticWrappable for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
pub fn wrap(&Self, Arguments<'_>) -> Wrapper<T>
[src]
pub fn wrap_signal(&Self, u8, Arguments<'_>) -> Wrapper<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Wrappable for T where
T: ?Sized,
[src]
T: ?Sized,