pub struct ActiveSession<T, D> {
pub time: Instant<u32, 1, 1000000>,
pub transfer_id: T,
pub data: D,
}Expand description
A session with an incoming transfer undergoing reassembly
Fields§
§time: Instant<u32, 1, 1000000>The timestamp of the first frame in this transfer
transfer_id: TThe ID of this transfer
data: DAdditional transport-specific data
Trait Implementations§
Auto Trait Implementations§
impl<T, D> Freeze for ActiveSession<T, D>
impl<T, D> RefUnwindSafe for ActiveSession<T, D>where
T: RefUnwindSafe,
D: RefUnwindSafe,
impl<T, D> Send for ActiveSession<T, D>
impl<T, D> Sync for ActiveSession<T, D>
impl<T, D> Unpin for ActiveSession<T, D>
impl<T, D> UnsafeUnpin for ActiveSession<T, D>where
T: UnsafeUnpin,
D: UnsafeUnpin,
impl<T, D> UnwindSafe for ActiveSession<T, D>where
T: UnwindSafe,
D: UnwindSafe,
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