pub struct AaplQuery {
pub bitmap: u64,
pub client_caps: u64,
}Expand description
A server query: CommandCode, Reserved, RequestBitmap and ClientCaps.
Fields§
§bitmap: u64What the client asks the reply to carry.
client_caps: u64The extensions the client has.
Implementations§
Source§impl AaplQuery
impl AaplQuery
Sourcepub fn parse(data: &[u8]) -> Result<Self, ProtoError>
pub fn parse(data: &[u8]) -> Result<Self, ProtoError>
Parses exactly AAPL_QUERY_LEN bytes whose CommandCode is
AAPL_SERVER_QUERY. Reserved is ignored.
Trait Implementations§
impl Copy for AaplQuery
impl Eq for AaplQuery
impl StructuralPartialEq for AaplQuery
Auto Trait Implementations§
impl Forget for AaplQuery
impl Freeze for AaplQuery
impl Move for AaplQuery
impl RefUnwindSafe for AaplQuery
impl Send for AaplQuery
impl Sync for AaplQuery
impl Unpin for AaplQuery
impl UnsafeUnpin for AaplQuery
impl UnwindSafe for AaplQuery
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