pub(crate) enum AsyncStart {
Reply(Status, Vec<u8>),
Pending(u64),
}Expand description
Block until a conflicting byte-range lock is released and the requested ranges can be acquired, then emit the final LOCK response ([MS-SMB2] §3.3.5.14). Cancellation yields STATUS_CANCELLED. How an async-capable command (LOCK / CHANGE_NOTIFY) starts: either an immediate reply, or a deferral parked under an async id whose final reply a background worker sends later ([MS-SMB2] §3.3.4.2).
Variants§
Auto Trait Implementations§
impl Freeze for AsyncStart
impl RefUnwindSafe for AsyncStart
impl Send for AsyncStart
impl Sync for AsyncStart
impl Unpin for AsyncStart
impl UnsafeUnpin for AsyncStart
impl UnwindSafe for AsyncStart
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