pub struct DhtChannels {
pub rx_dht_from_signal_handler: AquaReceiver<InternalCommand>,
}Fields§
§rx_dht_from_signal_handler: AquaReceiver<InternalCommand>Implementations§
Source§impl DhtChannels
impl DhtChannels
Sourcepub fn receive_from_signal_handler(
&mut self,
) -> Result<InternalCommand, AquaChannelError>
pub fn receive_from_signal_handler( &mut self, ) -> Result<InternalCommand, AquaChannelError>
Receives a command from the signal handler (non-blocking).
This wrapper function performs a non-blocking receive-operation for a command and increments
the associated debug counter if the debug_channels feature is enabled and a
message is successfully received.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DhtChannels
impl RefUnwindSafe for DhtChannels
impl Send for DhtChannels
impl !Sync for DhtChannels
impl Unpin for DhtChannels
impl UnwindSafe for DhtChannels
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