pub struct ExecutionScope(/* private fields */);Expand description
One durable managed migration scope.
Implementations§
Source§impl ExecutionScope
impl ExecutionScope
Sourcepub const fn new(scope: ManagedScopeId) -> Self
pub const fn new(scope: ManagedScopeId) -> Self
Bind execution to an existing managed-scope identity.
Sourcepub const fn managed_scope_id(&self) -> &ManagedScopeId
pub const fn managed_scope_id(&self) -> &ManagedScopeId
Return the managed-scope identity.
Trait Implementations§
Source§impl Clone for ExecutionScope
impl Clone for ExecutionScope
Source§fn clone(&self) -> ExecutionScope
fn clone(&self) -> ExecutionScope
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 ExecutionScope
impl Debug for ExecutionScope
impl Eq for ExecutionScope
Source§impl Hash for ExecutionScope
impl Hash for ExecutionScope
Source§impl Ord for ExecutionScope
impl Ord for ExecutionScope
Source§fn cmp(&self, other: &ExecutionScope) -> Ordering
fn cmp(&self, other: &ExecutionScope) -> Ordering
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 ExecutionScope
impl PartialEq for ExecutionScope
Source§impl PartialOrd for ExecutionScope
impl PartialOrd for ExecutionScope
impl StructuralPartialEq for ExecutionScope
Auto Trait Implementations§
impl Freeze for ExecutionScope
impl RefUnwindSafe for ExecutionScope
impl Send for ExecutionScope
impl Sync for ExecutionScope
impl Unpin for ExecutionScope
impl UnsafeUnpin for ExecutionScope
impl UnwindSafe for ExecutionScope
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