pub struct Context<'ctx> {
pub initiator_id: &'ctx str,
pub responder_id: &'ctx str,
pub associated_data: &'ctx [u8],
}
Expand description
Fields§
§initiator_id: &'ctx str
A representation of the identity of the initiator.
responder_id: &'ctx str
A representation of the identity of the responder.
associated_data: &'ctx [u8]
Optional associated data the key will be bound to (can be empty).
Trait Implementations§
Auto Trait Implementations§
impl<'ctx> Freeze for Context<'ctx>
impl<'ctx> RefUnwindSafe for Context<'ctx>
impl<'ctx> Send for Context<'ctx>
impl<'ctx> Sync for Context<'ctx>
impl<'ctx> Unpin for Context<'ctx>
impl<'ctx> UnwindSafe for Context<'ctx>
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