pub struct PartyAndSessionSecret {
pub session_secret: SessionConnectionSecret,
pub party_id: u8,
}Fields§
§session_secret: SessionConnectionSecret§party_id: u8Implementations§
Source§impl PartyAndSessionSecret
impl PartyAndSessionSecret
Sourcepub fn to_stream(&self, stream: &mut impl WriteOctetStream) -> Result<()>
pub fn to_stream(&self, stream: &mut impl WriteOctetStream) -> Result<()>
§Errors
io::Error // TODO:
Sourcepub fn from_stream(stream: &mut impl ReadOctetStream) -> Result<Self>
pub fn from_stream(stream: &mut impl ReadOctetStream) -> Result<Self>
§Errors
io::Error // TODO:
Trait Implementations§
Source§impl Debug for PartyAndSessionSecret
impl Debug for PartyAndSessionSecret
impl Eq for PartyAndSessionSecret
Source§impl PartialEq for PartyAndSessionSecret
impl PartialEq for PartyAndSessionSecret
Source§fn eq(&self, other: &PartyAndSessionSecret) -> bool
fn eq(&self, other: &PartyAndSessionSecret) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PartyAndSessionSecret
Auto Trait Implementations§
impl Freeze for PartyAndSessionSecret
impl RefUnwindSafe for PartyAndSessionSecret
impl Send for PartyAndSessionSecret
impl Sync for PartyAndSessionSecret
impl Unpin for PartyAndSessionSecret
impl UnsafeUnpin for PartyAndSessionSecret
impl UnwindSafe for PartyAndSessionSecret
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