#[non_exhaustive]pub enum CIFileStatus {
Show 16 variants
SndStored,
SndTransfer {
snd_progress: i64,
snd_total: i64,
undocumented: BTreeMap<String, JsonObject>,
},
SndCancelled,
SndComplete,
SndError {
snd_file_error: FileError,
undocumented: BTreeMap<String, JsonObject>,
},
SndWarning {
snd_file_error: FileError,
undocumented: BTreeMap<String, JsonObject>,
},
RcvInvitation,
RcvAccepted,
RcvTransfer {
rcv_progress: i64,
rcv_total: i64,
undocumented: BTreeMap<String, JsonObject>,
},
RcvAborted,
RcvComplete,
RcvCancelled,
RcvError {
rcv_file_error: FileError,
undocumented: BTreeMap<String, JsonObject>,
},
RcvWarning {
rcv_file_error: FileError,
undocumented: BTreeMap<String, JsonObject>,
},
Invalid {
text: String,
undocumented: BTreeMap<String, JsonObject>,
},
Undocumented(BTreeMap<String, JsonObject>),
}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.
SndStored
SndTransfer
SndCancelled
SndComplete
SndError
SndWarning
RcvInvitation
RcvAccepted
RcvTransfer
RcvAborted
RcvComplete
RcvCancelled
RcvError
RcvWarning
Invalid
Undocumented(BTreeMap<String, JsonObject>)
Trait Implementations§
Source§impl Clone for CIFileStatus
impl Clone for CIFileStatus
Source§fn clone(&self) -> CIFileStatus
fn clone(&self) -> CIFileStatus
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 CIFileStatus
impl Debug for CIFileStatus
Source§impl<'de> Deserialize<'de> for CIFileStatus
impl<'de> Deserialize<'de> for CIFileStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CIFileStatus
impl PartialEq for CIFileStatus
Source§impl Serialize for CIFileStatus
impl Serialize for CIFileStatus
impl StructuralPartialEq for CIFileStatus
Auto Trait Implementations§
impl Freeze for CIFileStatus
impl RefUnwindSafe for CIFileStatus
impl Send for CIFileStatus
impl Sync for CIFileStatus
impl Unpin for CIFileStatus
impl UnwindSafe for CIFileStatus
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