pub struct WakeSignal {
pub payload: Vec<u8>,
}Expand description
A wake signal produced by Push::handle_notification.
Indicates that the application should wake up and process pending messages. The payload carries transport-specific context (e.g., which context has new messages). See ADR-006.
Fields§
§payload: Vec<u8>The raw notification payload that triggered this wake signal.
Implementations§
Trait Implementations§
Source§impl Clone for WakeSignal
impl Clone for WakeSignal
Source§fn clone(&self) -> WakeSignal
fn clone(&self) -> WakeSignal
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WakeSignal
impl Debug for WakeSignal
Source§impl PartialEq for WakeSignal
impl PartialEq for WakeSignal
impl Eq for WakeSignal
impl StructuralPartialEq for WakeSignal
Auto Trait Implementations§
impl Freeze for WakeSignal
impl RefUnwindSafe for WakeSignal
impl Send for WakeSignal
impl Sync for WakeSignal
impl Unpin for WakeSignal
impl UnsafeUnpin for WakeSignal
impl UnwindSafe for WakeSignal
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