pub struct InterfaceFingerprint(pub Digest);Expand description
Client-visible interface identity of a whole host composition:
H_interface = H("hostbat.interface.v1" ‖ canonical(client-visible surface)).
Tuple Fields§
§0: DigestImplementations§
Trait Implementations§
Source§impl Clone for InterfaceFingerprint
impl Clone for InterfaceFingerprint
Source§fn clone(&self) -> InterfaceFingerprint
fn clone(&self) -> InterfaceFingerprint
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 InterfaceFingerprint
Source§impl Debug for InterfaceFingerprint
impl Debug for InterfaceFingerprint
Source§impl Display for InterfaceFingerprint
impl Display for InterfaceFingerprint
impl Eq for InterfaceFingerprint
Source§impl Hash for InterfaceFingerprint
impl Hash for InterfaceFingerprint
Source§impl Ord for InterfaceFingerprint
impl Ord for InterfaceFingerprint
Source§fn cmp(&self, other: &InterfaceFingerprint) -> Ordering
fn cmp(&self, other: &InterfaceFingerprint) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InterfaceFingerprint
impl PartialEq for InterfaceFingerprint
Source§fn eq(&self, other: &InterfaceFingerprint) -> bool
fn eq(&self, other: &InterfaceFingerprint) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for InterfaceFingerprint
impl PartialOrd for InterfaceFingerprint
impl StructuralPartialEq for InterfaceFingerprint
Auto Trait Implementations§
impl Freeze for InterfaceFingerprint
impl RefUnwindSafe for InterfaceFingerprint
impl Send for InterfaceFingerprint
impl Sync for InterfaceFingerprint
impl Unpin for InterfaceFingerprint
impl UnsafeUnpin for InterfaceFingerprint
impl UnwindSafe for InterfaceFingerprint
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more