pub enum AppInstanceMatch {
None,
ForceClose {
path: String,
owner: LockOwner,
},
Reject,
}Expand description
Outcome of matching a CREATE’s AppInstanceId against existing opens.
Variants§
None
No matching prior open; proceed normally.
ForceClose
A prior open was force-closed; drop its share-mode entry for owner.
Fields
Reject
The prior open is newer or equal; the new CREATE must be rejected.
Auto Trait Implementations§
impl Freeze for AppInstanceMatch
impl RefUnwindSafe for AppInstanceMatch
impl Send for AppInstanceMatch
impl Sync for AppInstanceMatch
impl Unpin for AppInstanceMatch
impl UnsafeUnpin for AppInstanceMatch
impl UnwindSafe for AppInstanceMatch
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