pub struct ClaimFence { /* private fields */ }Implementations§
Source§impl ClaimFence
impl ClaimFence
pub fn accept_claim( &mut self, claim: CoordinatorClaim, now_unix_ms: u64, ) -> ClaimDecision
pub fn validate_load( &self, load: &LoadClaimRef, now_unix_ms: u64, ) -> Result<(), LoadRejection>
pub fn current_claim_for( &self, model_id: &str, package_ref: &str, manifest_sha256: &str, ) -> Option<&CoordinatorClaim>
Trait Implementations§
Source§impl Clone for ClaimFence
impl Clone for ClaimFence
Source§fn clone(&self) -> ClaimFence
fn clone(&self) -> ClaimFence
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 ClaimFence
impl Debug for ClaimFence
Source§impl Default for ClaimFence
impl Default for ClaimFence
Source§fn default() -> ClaimFence
fn default() -> ClaimFence
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClaimFence
impl RefUnwindSafe for ClaimFence
impl Send for ClaimFence
impl Sync for ClaimFence
impl Unpin for ClaimFence
impl UnsafeUnpin for ClaimFence
impl UnwindSafe for ClaimFence
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