pub struct MessageId<M: Message> {
pub id: usize,
pub caller: MaybeLocation,
/* private fields */
}Expand description
Fields§
§id: usizeUniquely identifies the message associated with this ID.
caller: MaybeLocationThe source code location that triggered this message.
Trait Implementations§
Source§impl<M: Message> Ord for MessageId<M>
impl<M: Message> Ord for MessageId<M>
Source§impl<M: Message> PartialOrd for MessageId<M>
impl<M: Message> PartialOrd for MessageId<M>
impl<M: Message> Copy for MessageId<M>
impl<M: Message> Eq for MessageId<M>
Auto Trait Implementations§
impl<M> Freeze for MessageId<M>
impl<M> RefUnwindSafe for MessageId<M>where
M: RefUnwindSafe,
impl<M> Send for MessageId<M>
impl<M> Sync for MessageId<M>
impl<M> Unpin for MessageId<M>where
M: Unpin,
impl<M> UnwindSafe for MessageId<M>where
M: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
Source§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.