pub struct OpaqueContextValue {
pub id: Id,
/* private fields */
}Expand description
Retain an owner-issued lease until its frame and physical consumers settle.
Fields§
§id: IdImplementations§
Trait Implementations§
Source§impl Clone for OpaqueContextValue
impl Clone for OpaqueContextValue
Source§impl ContextDatum for OpaqueContextValue
impl ContextDatum for OpaqueContextValue
Source§fn into_value(self) -> ContextValue
fn into_value(self) -> ContextValue
Move the value into shared context metadata.
Source§fn from_value(value: ContextValue) -> Result<Self>
fn from_value(value: ContextValue) -> Result<Self>
Decode only the declared scalar kind.
const KIND: ContextKind = ContextKind::Opaque
Source§impl Debug for OpaqueContextValue
impl Debug for OpaqueContextValue
Auto Trait Implementations§
impl !RefUnwindSafe for OpaqueContextValue
impl !Send for OpaqueContextValue
impl !Sync for OpaqueContextValue
impl !UnwindSafe for OpaqueContextValue
impl Forget for OpaqueContextValue
impl Freeze for OpaqueContextValue
impl Unpin for OpaqueContextValue
impl UnsafeUnpin for OpaqueContextValue
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