pub enum KeyHashForm {
ZeroPadded,
Md5,
}Expand description
How the KeyHash is derived from the key holder. DDSI-RTPS 2.5 §9.6.3.8.
Variants§
ZeroPadded
The holder is at most sixteen bytes: it becomes the hash directly, zero-padded on the right.
Md5
The holder’s declared maximum exceeds sixteen bytes or is unbounded: the hash is its MD5, even when a particular value is shorter.
Trait Implementations§
Source§impl Clone for KeyHashForm
impl Clone for KeyHashForm
impl Copy for KeyHashForm
Source§impl Debug for KeyHashForm
impl Debug for KeyHashForm
impl Eq for KeyHashForm
Source§impl Hash for KeyHashForm
impl Hash for KeyHashForm
Source§impl PartialEq for KeyHashForm
impl PartialEq for KeyHashForm
impl StructuralPartialEq for KeyHashForm
Auto Trait Implementations§
impl Freeze for KeyHashForm
impl RefUnwindSafe for KeyHashForm
impl Send for KeyHashForm
impl Sync for KeyHashForm
impl Unpin for KeyHashForm
impl UnsafeUnpin for KeyHashForm
impl UnwindSafe for KeyHashForm
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