pub enum MsgType {
Int,
ExtIn,
ExtOut,
}Expand description
Message type.
Variants§
Implementations§
Source§impl MsgType
impl MsgType
Sourcepub const fn is_internal(&self) -> bool
pub const fn is_internal(&self) -> bool
Returns whether this message is internal.
Sourcepub const fn is_external_in(&self) -> bool
pub const fn is_external_in(&self) -> bool
Returns whether this message is external incoming.
Sourcepub const fn is_external_out(&self) -> bool
pub const fn is_external_out(&self) -> bool
Returns whether this message is external outgoing.
Trait Implementations§
Source§impl Store for MsgType
impl Store for MsgType
Source§fn store_into(
&self,
b: &mut CellBuilder,
_: &mut dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, b: &mut CellBuilder, _: &mut dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Copy for MsgType
impl Eq for MsgType
impl StructuralPartialEq for MsgType
Auto Trait Implementations§
impl Freeze for MsgType
impl RefUnwindSafe for MsgType
impl Send for MsgType
impl Sync for MsgType
impl Unpin for MsgType
impl UnwindSafe for MsgType
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> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.