pub enum Concurrency {
Shared,
Exclusive,
}Expand description
Whether a call may overlap with others.
The local node serialises its own mutations anyway, but two tailscale set
calls racing produce a result neither caller asked for, and the failure is
invisible. Mutating calls therefore queue.
Variants§
Trait Implementations§
Source§impl Clone for Concurrency
impl Clone for Concurrency
impl Copy for Concurrency
Source§impl Debug for Concurrency
impl Debug for Concurrency
impl Eq for Concurrency
Source§impl PartialEq for Concurrency
impl PartialEq for Concurrency
impl StructuralPartialEq for Concurrency
Auto Trait Implementations§
impl Freeze for Concurrency
impl RefUnwindSafe for Concurrency
impl Send for Concurrency
impl Sync for Concurrency
impl Unpin for Concurrency
impl UnsafeUnpin for Concurrency
impl UnwindSafe for Concurrency
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