pub trait LocalUpdate<R: RA>: Sized {
// Required methods
fn premise(self, from_auth: R, from_frag: R) -> bool;
fn update(self, from_auth: R, from_frag: R) -> (R, R);
fn frame_preserving(self, from_auth: R, from_frag: R, frame: Option<R>);
}Required Methods§
Sourcefn 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>)
⚠
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))
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.