pub struct SendNotificationRef<'a>(/* private fields */);
Expand description
Reference to a deserialized SendNotification.
Implementations§
Source§impl<'a> SendNotificationRef<'a>
impl<'a> SendNotificationRef<'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.
Sourcepub fn subchannels(&self) -> Result<Option<Vector<'a, u16>>>
pub fn subchannels(&self) -> Result<Option<Vector<'a, u16>>>
Getter for the subchannels
field.
Sourcepub fn required_subchannel(&self) -> Result<Option<u16>>
pub fn required_subchannel(&self) -> Result<Option<u16>>
Getter for the required_subchannel
field.
Trait Implementations§
Source§impl<'a> Clone for SendNotificationRef<'a>
impl<'a> Clone for SendNotificationRef<'a>
Source§fn clone(&self) -> SendNotificationRef<'a>
fn clone(&self) -> SendNotificationRef<'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 SendNotificationRef<'a>
impl<'a> Debug for SendNotificationRef<'a>
Source§impl<'a> ReadAsRoot<'a> for SendNotificationRef<'a>
impl<'a> ReadAsRoot<'a> for SendNotificationRef<'a>
Source§impl<'a> TryFrom<SendNotificationRef<'a>> for SendNotification
impl<'a> TryFrom<SendNotificationRef<'a>> for SendNotification
impl<'a> Copy for SendNotificationRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for SendNotificationRef<'a>
impl<'a> RefUnwindSafe for SendNotificationRef<'a>
impl<'a> Send for SendNotificationRef<'a>
impl<'a> Sync for SendNotificationRef<'a>
impl<'a> Unpin for SendNotificationRef<'a>
impl<'a> UnwindSafe for SendNotificationRef<'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