Struct nimble_rust::JoinGameAccepted
source · pub struct JoinGameAccepted {
pub client_request_id: ClientRequestId,
pub party_and_session_secret: PartyAndSessionSecret,
pub participants: JoinGameParticipants,
}
Fields§
§client_request_id: ClientRequestId
§party_and_session_secret: PartyAndSessionSecret
§participants: JoinGameParticipants
Implementations§
source§impl JoinGameAccepted
impl JoinGameAccepted
pub fn to_stream(&self, stream: &mut impl WriteOctetStream) -> Result<(), Error>
pub fn from_stream( stream: &mut impl ReadOctetStream, ) -> Result<JoinGameAccepted, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JoinGameAccepted
impl RefUnwindSafe for JoinGameAccepted
impl Send for JoinGameAccepted
impl Sync for JoinGameAccepted
impl Unpin for JoinGameAccepted
impl UnwindSafe for JoinGameAccepted
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