pub enum SessionEndReason {
Finished,
CancelledBySender,
CancelledLocally,
TimedOut,
}Expand description
Reason why an upload session was closed.
Variants§
Finished
All accepted files finished transferring.
CancelledBySender
Cancelled by the remote sender.
CancelledLocally
Cancelled locally by the receiver.
TimedOut
Session timed out due to inactivity.
Trait Implementations§
Source§impl Clone for SessionEndReason
impl Clone for SessionEndReason
impl Copy for SessionEndReason
Source§impl Debug for SessionEndReason
impl Debug for SessionEndReason
impl Eq for SessionEndReason
Source§impl PartialEq for SessionEndReason
impl PartialEq for SessionEndReason
impl StructuralPartialEq for SessionEndReason
Auto Trait Implementations§
impl Freeze for SessionEndReason
impl RefUnwindSafe for SessionEndReason
impl Send for SessionEndReason
impl Sync for SessionEndReason
impl Unpin for SessionEndReason
impl UnsafeUnpin for SessionEndReason
impl UnwindSafe for SessionEndReason
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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
Compare self to
key and return true if they are equal.