pub struct MessageNotificationRef<'a>(/* private fields */);
Expand description
Reference to a deserialized MessageNotification.
Implementations§
Source§impl<'a> MessageNotificationRef<'a>
impl<'a> MessageNotificationRef<'a>
Sourcepub fn ppid(&self) -> Result<u32>
pub fn ppid(&self) -> Result<u32>
Getter for the ppid
field.
Sourcepub fn data(&self) -> Result<&'a [u8]>
pub fn data(&self) -> Result<&'a [u8]>
Getter for the data
field.
Trait Implementations§
Source§impl<'a> Clone for MessageNotificationRef<'a>
impl<'a> Clone for MessageNotificationRef<'a>
Source§fn clone(&self) -> MessageNotificationRef<'a>
fn clone(&self) -> MessageNotificationRef<'a>
Returns a copy 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<'a> Debug for MessageNotificationRef<'a>
impl<'a> Debug for MessageNotificationRef<'a>
Source§impl<'a> ReadAsRoot<'a> for MessageNotificationRef<'a>
impl<'a> ReadAsRoot<'a> for MessageNotificationRef<'a>
Source§impl<'a> TryFrom<MessageNotificationRef<'a>> for MessageNotification
impl<'a> TryFrom<MessageNotificationRef<'a>> for MessageNotification
impl<'a> Copy for MessageNotificationRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for MessageNotificationRef<'a>
impl<'a> RefUnwindSafe for MessageNotificationRef<'a>
impl<'a> Send for MessageNotificationRef<'a>
impl<'a> Sync for MessageNotificationRef<'a>
impl<'a> Unpin for MessageNotificationRef<'a>
impl<'a> UnwindSafe for MessageNotificationRef<'a>
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