pub struct PartyAndSessionSecret {
pub session_secret: SessionConnectionSecret,
pub party_id: u8,
}
Fields§
§session_secret: SessionConnectionSecret
§party_id: u8
Implementations§
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
source§impl PartialEq for PartyAndSessionSecret
impl PartialEq for PartyAndSessionSecret
impl Eq for PartyAndSessionSecret
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 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