pub enum AgentCaptureThreadCheck {
Ok,
Mismatch {
reserved_thread: String,
current_thread: String,
},
}Expand description
Outcome of comparing the reservation’s thread to the current checkout lane.
Variants§
Ok
No current lane, or current lane matches the reserved thread.
Mismatch
Checkout is attached to a different thread than the reservation owns.
Trait Implementations§
Source§impl Clone for AgentCaptureThreadCheck
impl Clone for AgentCaptureThreadCheck
Source§fn clone(&self) -> AgentCaptureThreadCheck
fn clone(&self) -> AgentCaptureThreadCheck
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentCaptureThreadCheck
impl Debug for AgentCaptureThreadCheck
impl Eq for AgentCaptureThreadCheck
Source§impl PartialEq for AgentCaptureThreadCheck
impl PartialEq for AgentCaptureThreadCheck
impl StructuralPartialEq for AgentCaptureThreadCheck
Auto Trait Implementations§
impl Freeze for AgentCaptureThreadCheck
impl RefUnwindSafe for AgentCaptureThreadCheck
impl Send for AgentCaptureThreadCheck
impl Sync for AgentCaptureThreadCheck
impl Unpin for AgentCaptureThreadCheck
impl UnsafeUnpin for AgentCaptureThreadCheck
impl UnwindSafe for AgentCaptureThreadCheck
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