pub struct ServerInfoMessagePart1 {
pub version: u16,
pub server_count: u32,
pub stv: bool,
pub dedicated: bool,
pub max_crc: u32,
pub max_classes: u16,
}Fields§
§version: u16§server_count: u32§stv: bool§dedicated: bool§max_crc: u32§max_classes: u16Trait Implementations§
Source§impl<'a, _E: Endianness> BitRead<'a, _E> for ServerInfoMessagePart1
impl<'a, _E: Endianness> BitRead<'a, _E> for ServerInfoMessagePart1
Source§impl<'a, _E: Endianness> BitWrite<_E> for ServerInfoMessagePart1
impl<'a, _E: Endianness> BitWrite<_E> for ServerInfoMessagePart1
Auto Trait Implementations§
impl Freeze for ServerInfoMessagePart1
impl RefUnwindSafe for ServerInfoMessagePart1
impl Send for ServerInfoMessagePart1
impl Sync for ServerInfoMessagePart1
impl Unpin for ServerInfoMessagePart1
impl UnwindSafe for ServerInfoMessagePart1
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> Encode for Twhere
T: BitWrite<LittleEndian>,
impl<T> Encode for Twhere
T: BitWrite<LittleEndian>,
fn encode( &self, stream: &mut BitWriteStream<'_, LittleEndian>, _state: &ParserState, ) -> Result<(), ParseError>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more