pub struct IoTargetKey(pub u64);Expand description
The consumer’s identity for a file, supplied when the file is given to dioring and used in every report, so a report stays meaningful after the file’s handle is gone (DI-D-11).
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for IoTargetKey
impl Clone for IoTargetKey
Source§fn clone(&self) -> IoTargetKey
fn clone(&self) -> IoTargetKey
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 IoTargetKey
Source§impl Debug for IoTargetKey
impl Debug for IoTargetKey
impl Eq for IoTargetKey
Source§impl<A> From<Key<A>> for IoTargetKeywhere
A: HasData,
impl<A> From<Key<A>> for IoTargetKeywhere
A: HasData,
Source§fn from(key: Key<A>) -> IoTargetKey
fn from(key: Key<A>) -> IoTargetKey
Converts to this type from the input type.
Source§impl Hash for IoTargetKey
impl Hash for IoTargetKey
Source§impl PartialEq for IoTargetKey
impl PartialEq for IoTargetKey
impl ReadKey for IoTargetKey
impl StructuralPartialEq for IoTargetKey
Source§impl TargetKey for IoTargetKey
impl TargetKey for IoTargetKey
Source§fn untyped(&self) -> IoTargetKey
fn untyped(&self) -> IoTargetKey
The number the ring addresses the target by.
Source§fn declared(&self) -> Option<Access>
fn declared(&self) -> Option<Access>
The access this key declares for its target, or
None for an untyped key.Source§fn admitted_by(&self, actual: Access) -> Result<(), AddTargetCause>
fn admitted_by(&self, actual: Access) -> Result<(), AddTargetCause>
Whether a target that states
actual may be registered under this key: a declaration the
target covers, or none. What it refuses is the cause to report. Read moreimpl WriteKey for IoTargetKey
Auto Trait Implementations§
impl Freeze for IoTargetKey
impl RefUnwindSafe for IoTargetKey
impl Send for IoTargetKey
impl Sync for IoTargetKey
impl Unpin for IoTargetKey
impl UnsafeUnpin for IoTargetKey
impl UnwindSafe for IoTargetKey
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