pub enum SessionSlotState {
Pending(PendingSession),
Active(ActiveUploadSession),
}Expand description
Lifecycle state machine for the server’s transfer session slot.
Variants§
Pending(PendingSession)
Pending decision from receiver/user.
Active(ActiveUploadSession)
Active upload session in progress.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionSlotState
impl RefUnwindSafe for SessionSlotState
impl Send for SessionSlotState
impl Sync for SessionSlotState
impl Unpin for SessionSlotState
impl UnsafeUnpin for SessionSlotState
impl UnwindSafe for SessionSlotState
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