pub struct SetScopeId(/* private fields */);Expand description
Identifies one Foo/set method call’s SetScope.
Unique within the process. The dispatcher picks one per conditional
method call, passes it in SetScopeRequest::scope and runs the method
under it, so a backend can tell which of its calls belong to which open
scope (current_set_scope).
Implementations§
Source§impl SetScopeId
impl SetScopeId
Trait Implementations§
Source§impl Clone for SetScopeId
impl Clone for SetScopeId
impl Copy for SetScopeId
Source§impl Debug for SetScopeId
impl Debug for SetScopeId
Source§impl Display for SetScopeId
impl Display for SetScopeId
impl Eq for SetScopeId
Source§impl Hash for SetScopeId
impl Hash for SetScopeId
Source§impl Ord for SetScopeId
impl Ord for SetScopeId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SetScopeId
impl PartialEq for SetScopeId
Source§impl PartialOrd for SetScopeId
impl PartialOrd for SetScopeId
impl StructuralPartialEq for SetScopeId
Auto Trait Implementations§
impl Forget for SetScopeId
impl Freeze for SetScopeId
impl Move for SetScopeId
impl RefUnwindSafe for SetScopeId
impl Send for SetScopeId
impl Sync for SetScopeId
impl Unpin for SetScopeId
impl UnsafeUnpin for SetScopeId
impl UnwindSafe for SetScopeId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.