pub struct SurfacePolicy {
pub domain: &'static str,
pub class: SyncClass,
pub note: &'static str,
}Expand description
A named on-device state domain and its sync classification.
Fields§
§domain: &'static strStable identifier (matches the daemon’s config/tee surface name).
class: SyncClass§note: &'static strWhy — the load-bearing rationale (secret? OS-bound? pure policy?).
Trait Implementations§
Source§impl Clone for SurfacePolicy
impl Clone for SurfacePolicy
Source§fn clone(&self) -> SurfacePolicy
fn clone(&self) -> SurfacePolicy
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 moreimpl Copy for SurfacePolicy
Auto Trait Implementations§
impl Freeze for SurfacePolicy
impl RefUnwindSafe for SurfacePolicy
impl Send for SurfacePolicy
impl Sync for SurfacePolicy
impl Unpin for SurfacePolicy
impl UnsafeUnpin for SurfacePolicy
impl UnwindSafe for SurfacePolicy
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