pub enum KeepAlivePdu<'a> {
Small(&'a KeepAlivePduSmall),
Large(&'a KeepAlivePduLarge),
}Expand description
A parsed Keep Alive PDU, dispatching between small and large file variants.
Variants§
Small(&'a KeepAlivePduSmall)
Keep Alive PDU for small file transactions (32-bit progress).
Large(&'a KeepAlivePduLarge)
Keep Alive PDU for large file transactions (64-bit progress).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for KeepAlivePdu<'a>
impl<'a> RefUnwindSafe for KeepAlivePdu<'a>
impl<'a> Send for KeepAlivePdu<'a>
impl<'a> Sync for KeepAlivePdu<'a>
impl<'a> Unpin for KeepAlivePdu<'a>
impl<'a> UnsafeUnpin for KeepAlivePdu<'a>
impl<'a> UnwindSafe for KeepAlivePdu<'a>
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