pub struct CancelLocalUpdateUnit;Expand description
Remove (cancel) a fragment from an authority, setting the fragment to unit.
This requires the fragment to remove to be cancelable.
Trait Implementations§
Source§impl<R: UnitRA> LocalUpdate<R> for CancelLocalUpdateUnit
impl<R: UnitRA> LocalUpdate<R> for CancelLocalUpdateUnit
Source§fn update(self, from_auth: R, from_frag: R) -> (R, R)
fn update(self, from_auth: R, from_frag: R) -> (R, R)
logic(open)
from_auth.factor(from_frag).unwrap_logic(), R::unit()Source§fn frame_preserving(self, from_auth: R, from_frag: R, frame: Option<R>)
fn frame_preserving(self, from_auth: R, from_frag: R, frame: Option<R>)
logic ⚠
requires
self.premise(from_auth, from_frag)requires
Some(from_frag).op(frame) == Some(Some(from_auth))ensures
let (to_auth, to_frag) = self.update(from_auth, from_frag); Some(to_frag).op(frame) == Some(Some(to_auth))
Auto Trait Implementations§
impl Freeze for CancelLocalUpdateUnit
impl Objective for CancelLocalUpdateUnit
impl RefUnwindSafe for CancelLocalUpdateUnit
impl Send for CancelLocalUpdateUnit
impl Sync for CancelLocalUpdateUnit
impl Unpin for CancelLocalUpdateUnit
impl UnsafeUnpin for CancelLocalUpdateUnit
impl UnwindSafe for CancelLocalUpdateUnit
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