pub struct DomainContext<'a>(pub &'a [u8]);
Expand description
When a message is signed or verified, it is accompanied with a domain
separation context, which is an arbitrary sequence of bytes of length
at most 255. Such a context is wrapped in a DomainContext
structure.
Tuple Fields§
§0: &'a [u8]
Auto Trait Implementations§
impl<'a> Freeze for DomainContext<'a>
impl<'a> RefUnwindSafe for DomainContext<'a>
impl<'a> Send for DomainContext<'a>
impl<'a> Sync for DomainContext<'a>
impl<'a> Unpin for DomainContext<'a>
impl<'a> UnwindSafe for DomainContext<'a>
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