pub struct Message<Id, Fd> {
pub sender_id: Id,
pub opcode: u16,
pub args: SmallVec<[Argument<Id, Fd>; 4]>,
}Expand description
Represents a message that has been sent from some object.
Fields§
§sender_id: IdThe id of the object that sent the message.
opcode: u16The opcode of the message.
args: SmallVec<[Argument<Id, Fd>; 4]>The arguments of the message.
Implementations§
Trait Implementations§
impl<Id: Eq, Fd: AsRawFd> Eq for Message<Id, Fd>
Auto Trait Implementations§
impl<Id, Fd> Freeze for Message<Id, Fd>
impl<Id, Fd> RefUnwindSafe for Message<Id, Fd>where
Id: RefUnwindSafe,
Fd: RefUnwindSafe,
impl<Id, Fd> Send for Message<Id, Fd>
impl<Id, Fd> Sync for Message<Id, Fd>
impl<Id, Fd> Unpin for Message<Id, Fd>
impl<Id, Fd> UnsafeUnpin for Message<Id, Fd>where
Id: UnsafeUnpin,
Fd: UnsafeUnpin,
impl<Id, Fd> UnwindSafe for Message<Id, Fd>
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