#[non_exhaustive]pub struct ClaimGrantOutcome {
pub lease_id: LeaseId,
pub lease_epoch: LeaseEpoch,
pub attempt_index: AttemptIndex,
}Expand description
Outcome of crate::engine_backend::EngineBackend::issue_grant_and_claim.
Distinct from ClaimExecutionResult because the trait method
intentionally hides the grant-issuance step — callers only see the
resulting lease identity. If the backend’s transparent dispatch
routes through ff_claim_resumed_execution (when the execution was
suspended), the return is identical.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.lease_id: LeaseId§lease_epoch: LeaseEpoch§attempt_index: AttemptIndexImplementations§
Source§impl ClaimGrantOutcome
impl ClaimGrantOutcome
pub fn new( lease_id: LeaseId, lease_epoch: LeaseEpoch, attempt_index: AttemptIndex, ) -> Self
Trait Implementations§
Source§impl Clone for ClaimGrantOutcome
impl Clone for ClaimGrantOutcome
Source§fn clone(&self) -> ClaimGrantOutcome
fn clone(&self) -> ClaimGrantOutcome
Returns a duplicate of the value. Read more
1.0.0 · 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 ClaimGrantOutcome
impl Debug for ClaimGrantOutcome
Source§impl<'de> Deserialize<'de> for ClaimGrantOutcome
impl<'de> Deserialize<'de> for ClaimGrantOutcome
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
Source§impl PartialEq for ClaimGrantOutcome
impl PartialEq for ClaimGrantOutcome
Source§impl Serialize for ClaimGrantOutcome
impl Serialize for ClaimGrantOutcome
impl Eq for ClaimGrantOutcome
impl StructuralPartialEq for ClaimGrantOutcome
Auto Trait Implementations§
impl Freeze for ClaimGrantOutcome
impl RefUnwindSafe for ClaimGrantOutcome
impl Send for ClaimGrantOutcome
impl Sync for ClaimGrantOutcome
impl Unpin for ClaimGrantOutcome
impl UnsafeUnpin for ClaimGrantOutcome
impl UnwindSafe for ClaimGrantOutcome
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