Enum nimble_rust::client_to_host::JoinGameType
source · pub enum JoinGameType {
NoSecret,
UseSessionSecret(SessionConnectionSecret),
HostMigrationParticipantId(ParticipantId),
}
Variants§
Implementations§
source§impl JoinGameType
impl JoinGameType
pub fn to_octet(&self) -> u8
pub fn to_stream(&self, stream: &mut impl WriteOctetStream) -> Result<(), Error>
pub fn from_stream( stream: &mut impl ReadOctetStream, ) -> Result<JoinGameType, Error>
Trait Implementations§
source§impl Clone for JoinGameType
impl Clone for JoinGameType
source§fn clone(&self) -> JoinGameType
fn clone(&self) -> JoinGameType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for JoinGameType
impl Debug for JoinGameType
source§impl PartialEq for JoinGameType
impl PartialEq for JoinGameType
impl Copy for JoinGameType
impl StructuralPartialEq for JoinGameType
Auto Trait Implementations§
impl Freeze for JoinGameType
impl RefUnwindSafe for JoinGameType
impl Send for JoinGameType
impl Sync for JoinGameType
impl Unpin for JoinGameType
impl UnwindSafe for JoinGameType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)