#[non_exhaustive]#[repr(i32)]pub enum XmtpFfiMessageKind {
XMTP_FFI_MESSAGE_KIND_APPLICATION = 0,
XMTP_FFI_MESSAGE_KIND_MEMBERSHIP_CHANGE = 1,
}Expand description
Message kind.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for XmtpFfiMessageKind
impl Clone for XmtpFfiMessageKind
Source§fn clone(&self) -> XmtpFfiMessageKind
fn clone(&self) -> XmtpFfiMessageKind
Returns a duplicate 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 Debug for XmtpFfiMessageKind
impl Debug for XmtpFfiMessageKind
Source§impl Hash for XmtpFfiMessageKind
impl Hash for XmtpFfiMessageKind
Source§impl PartialEq for XmtpFfiMessageKind
impl PartialEq for XmtpFfiMessageKind
impl Copy for XmtpFfiMessageKind
impl Eq for XmtpFfiMessageKind
impl StructuralPartialEq for XmtpFfiMessageKind
Auto Trait Implementations§
impl Freeze for XmtpFfiMessageKind
impl RefUnwindSafe for XmtpFfiMessageKind
impl Send for XmtpFfiMessageKind
impl Sync for XmtpFfiMessageKind
impl Unpin for XmtpFfiMessageKind
impl UnsafeUnpin for XmtpFfiMessageKind
impl UnwindSafe for XmtpFfiMessageKind
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