Struct SignalQuery
pub struct SignalQuery(/* private fields */);Expand description
In-depth information of a specific signal
Implementations§
§impl SignalQuery
impl SignalQuery
pub fn signal_name<'a>(&self) -> &'a str
pub fn signal_name<'a>(&self) -> &'a str
The name of the signal.
pub fn flags(&self) -> SignalFlags
pub fn flags(&self) -> SignalFlags
The signal flags.
pub fn return_type(&self) -> SignalType
pub fn return_type(&self) -> SignalType
The return type for the user callback.
pub fn param_types(&self) -> &[SignalType]
pub fn param_types(&self) -> &[SignalType]
The parameters for the user callback.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SignalQuery
impl RefUnwindSafe for SignalQuery
impl Unpin for SignalQuery
impl UnwindSafe for SignalQuery
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more