#[non_exhaustive]#[repr(i32)]pub enum XmtpFfiDeliveryStatus {
XMTP_FFI_DELIVERY_STATUS_UNPUBLISHED = 0,
XMTP_FFI_DELIVERY_STATUS_PUBLISHED = 1,
XMTP_FFI_DELIVERY_STATUS_FAILED = 2,
}Expand description
Message delivery status.
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.
XMTP_FFI_DELIVERY_STATUS_UNPUBLISHED = 0
XMTP_FFI_DELIVERY_STATUS_PUBLISHED = 1
XMTP_FFI_DELIVERY_STATUS_FAILED = 2
Trait Implementations§
Source§impl Clone for XmtpFfiDeliveryStatus
impl Clone for XmtpFfiDeliveryStatus
Source§fn clone(&self) -> XmtpFfiDeliveryStatus
fn clone(&self) -> XmtpFfiDeliveryStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for XmtpFfiDeliveryStatus
Source§impl Debug for XmtpFfiDeliveryStatus
impl Debug for XmtpFfiDeliveryStatus
impl Eq for XmtpFfiDeliveryStatus
Source§impl Hash for XmtpFfiDeliveryStatus
impl Hash for XmtpFfiDeliveryStatus
Source§impl PartialEq for XmtpFfiDeliveryStatus
impl PartialEq for XmtpFfiDeliveryStatus
Source§fn eq(&self, other: &XmtpFfiDeliveryStatus) -> bool
fn eq(&self, other: &XmtpFfiDeliveryStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for XmtpFfiDeliveryStatus
Auto Trait Implementations§
impl Freeze for XmtpFfiDeliveryStatus
impl RefUnwindSafe for XmtpFfiDeliveryStatus
impl Send for XmtpFfiDeliveryStatus
impl Sync for XmtpFfiDeliveryStatus
impl Unpin for XmtpFfiDeliveryStatus
impl UnsafeUnpin for XmtpFfiDeliveryStatus
impl UnwindSafe for XmtpFfiDeliveryStatus
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