#[repr(u8)]pub enum JoinGameTypeValue {
NoSecret = 0,
SessionSecret = 1,
HostMigrationParticipantId = 2,
}
Variants§
Implementations§
source§impl JoinGameTypeValue
impl JoinGameTypeValue
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<JoinGameTypeValue, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JoinGameTypeValue
impl RefUnwindSafe for JoinGameTypeValue
impl Send for JoinGameTypeValue
impl Sync for JoinGameTypeValue
impl Unpin for JoinGameTypeValue
impl UnwindSafe for JoinGameTypeValue
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