pub struct CallerId(pub String);Expand description
Opaque per-orchestrator identity. The Planner uses this to verify that the caller releasing a lock is the same caller who acquired it.
The string form is implementation-defined; it must be stable for the lifetime of a single orchestrator session.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CallerId
impl<'de> Deserialize<'de> for CallerId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CallerId
impl StructuralPartialEq for CallerId
Auto Trait Implementations§
impl Freeze for CallerId
impl RefUnwindSafe for CallerId
impl Send for CallerId
impl Sync for CallerId
impl Unpin for CallerId
impl UnsafeUnpin for CallerId
impl UnwindSafe for CallerId
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