pub enum CancelFileResponses {
SndFileCancelled(Arc<SndFileCancelledResponse>),
RcvFileCancelled(Arc<RcvFileCancelledResponse>),
}Variants§
SndFileCancelled(Arc<SndFileCancelledResponse>)
SndFileCancelled: Cancelled sending file.
RcvFileCancelled(Arc<RcvFileCancelledResponse>)
RcvFileCancelled: Cancelled receiving file.
Implementations§
Source§impl CancelFileResponses
impl CancelFileResponses
pub fn snd_file_cancelled(&self) -> Option<&SndFileCancelledResponse>
pub fn rcv_file_cancelled(&self) -> Option<&RcvFileCancelledResponse>
Trait Implementations§
Source§impl Clone for CancelFileResponses
impl Clone for CancelFileResponses
Source§fn clone(&self) -> CancelFileResponses
fn clone(&self) -> CancelFileResponses
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 CancelFileResponses
impl Debug for CancelFileResponses
Source§impl<'de> Deserialize<'de> for CancelFileResponses
impl<'de> Deserialize<'de> for CancelFileResponses
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 CancelFileResponses
impl PartialEq for CancelFileResponses
Source§impl Serialize for CancelFileResponses
impl Serialize for CancelFileResponses
impl StructuralPartialEq for CancelFileResponses
Auto Trait Implementations§
impl Freeze for CancelFileResponses
impl RefUnwindSafe for CancelFileResponses
impl Send for CancelFileResponses
impl Sync for CancelFileResponses
impl Unpin for CancelFileResponses
impl UnwindSafe for CancelFileResponses
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