pub struct MsftCommand { /* private fields */ }Implementations§
Source§impl MsftCommand
impl MsftCommand
pub fn parse(bytes: &[u8]) -> Result<Self, Error>
pub fn specialize(&self) -> MsftCommandChild
pub fn get_op_code(&self) -> OpCode
pub fn get_subcommand_opcode(&self) -> MsftSubcommandOpcode
pub fn get_size(&self) -> usize
Trait Implementations§
Source§impl Clone for MsftCommand
impl Clone for MsftCommand
Source§fn clone(&self) -> MsftCommand
fn clone(&self) -> MsftCommand
Returns a duplicate 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 MsftCommand
impl Debug for MsftCommand
Source§impl From<MsftCommand> for Bytes
impl From<MsftCommand> for Bytes
Source§fn from(packet: MsftCommand) -> Self
fn from(packet: MsftCommand) -> Self
Converts to this type from the input type.
Source§impl From<MsftCommand> for Command
impl From<MsftCommand> for Command
Source§fn from(packet: MsftCommand) -> Command
fn from(packet: MsftCommand) -> Command
Converts to this type from the input type.
Source§impl From<MsftCommand> for Vec<u8>
impl From<MsftCommand> for Vec<u8>
Source§fn from(packet: MsftCommand) -> Self
fn from(packet: MsftCommand) -> Self
Converts to this type from the input type.
Source§impl From<MsftCommandBuilder> for MsftCommand
impl From<MsftCommandBuilder> for MsftCommand
Source§fn from(builder: MsftCommandBuilder) -> MsftCommand
fn from(builder: MsftCommandBuilder) -> MsftCommand
Converts to this type from the input type.
Source§impl From<MsftLeCancelMonitorAdv> for MsftCommand
impl From<MsftLeCancelMonitorAdv> for MsftCommand
Source§fn from(packet: MsftLeCancelMonitorAdv) -> MsftCommand
fn from(packet: MsftLeCancelMonitorAdv) -> MsftCommand
Converts to this type from the input type.
Source§impl From<MsftLeCancelMonitorAdvBuilder> for MsftCommand
impl From<MsftLeCancelMonitorAdvBuilder> for MsftCommand
Source§fn from(builder: MsftLeCancelMonitorAdvBuilder) -> MsftCommand
fn from(builder: MsftLeCancelMonitorAdvBuilder) -> MsftCommand
Converts to this type from the input type.
Source§impl From<MsftLeMonitorAdv> for MsftCommand
impl From<MsftLeMonitorAdv> for MsftCommand
Source§fn from(packet: MsftLeMonitorAdv) -> MsftCommand
fn from(packet: MsftLeMonitorAdv) -> MsftCommand
Converts to this type from the input type.
Source§impl From<MsftLeMonitorAdvBuilder> for MsftCommand
impl From<MsftLeMonitorAdvBuilder> for MsftCommand
Source§fn from(builder: MsftLeMonitorAdvBuilder) -> MsftCommand
fn from(builder: MsftLeMonitorAdvBuilder) -> MsftCommand
Converts to this type from the input type.
Source§impl From<MsftLeMonitorAdvConditionPatterns> for MsftCommand
impl From<MsftLeMonitorAdvConditionPatterns> for MsftCommand
Source§fn from(packet: MsftLeMonitorAdvConditionPatterns) -> MsftCommand
fn from(packet: MsftLeMonitorAdvConditionPatterns) -> MsftCommand
Converts to this type from the input type.
Source§impl From<MsftLeMonitorAdvConditionPatternsBuilder> for MsftCommand
impl From<MsftLeMonitorAdvConditionPatternsBuilder> for MsftCommand
Source§fn from(builder: MsftLeMonitorAdvConditionPatternsBuilder) -> MsftCommand
fn from(builder: MsftLeMonitorAdvConditionPatternsBuilder) -> MsftCommand
Converts to this type from the input type.
Source§impl From<MsftLeMonitorAdvConditionUuid> for MsftCommand
impl From<MsftLeMonitorAdvConditionUuid> for MsftCommand
Source§fn from(packet: MsftLeMonitorAdvConditionUuid) -> MsftCommand
fn from(packet: MsftLeMonitorAdvConditionUuid) -> MsftCommand
Converts to this type from the input type.
Source§impl From<MsftLeMonitorAdvConditionUuid16> for MsftCommand
impl From<MsftLeMonitorAdvConditionUuid16> for MsftCommand
Source§fn from(packet: MsftLeMonitorAdvConditionUuid16) -> MsftCommand
fn from(packet: MsftLeMonitorAdvConditionUuid16) -> MsftCommand
Converts to this type from the input type.
Source§impl From<MsftLeMonitorAdvConditionUuid16Builder> for MsftCommand
impl From<MsftLeMonitorAdvConditionUuid16Builder> for MsftCommand
Source§fn from(builder: MsftLeMonitorAdvConditionUuid16Builder) -> MsftCommand
fn from(builder: MsftLeMonitorAdvConditionUuid16Builder) -> MsftCommand
Converts to this type from the input type.
Source§impl From<MsftLeMonitorAdvConditionUuid2> for MsftCommand
impl From<MsftLeMonitorAdvConditionUuid2> for MsftCommand
Source§fn from(packet: MsftLeMonitorAdvConditionUuid2) -> MsftCommand
fn from(packet: MsftLeMonitorAdvConditionUuid2) -> MsftCommand
Converts to this type from the input type.
Source§impl From<MsftLeMonitorAdvConditionUuid2Builder> for MsftCommand
impl From<MsftLeMonitorAdvConditionUuid2Builder> for MsftCommand
Source§fn from(builder: MsftLeMonitorAdvConditionUuid2Builder) -> MsftCommand
fn from(builder: MsftLeMonitorAdvConditionUuid2Builder) -> MsftCommand
Converts to this type from the input type.
Source§impl From<MsftLeMonitorAdvConditionUuid4> for MsftCommand
impl From<MsftLeMonitorAdvConditionUuid4> for MsftCommand
Source§fn from(packet: MsftLeMonitorAdvConditionUuid4) -> MsftCommand
fn from(packet: MsftLeMonitorAdvConditionUuid4) -> MsftCommand
Converts to this type from the input type.
Source§impl From<MsftLeMonitorAdvConditionUuid4Builder> for MsftCommand
impl From<MsftLeMonitorAdvConditionUuid4Builder> for MsftCommand
Source§fn from(builder: MsftLeMonitorAdvConditionUuid4Builder) -> MsftCommand
fn from(builder: MsftLeMonitorAdvConditionUuid4Builder) -> MsftCommand
Converts to this type from the input type.
Source§impl From<MsftLeMonitorAdvConditionUuidBuilder> for MsftCommand
impl From<MsftLeMonitorAdvConditionUuidBuilder> for MsftCommand
Source§fn from(builder: MsftLeMonitorAdvConditionUuidBuilder) -> MsftCommand
fn from(builder: MsftLeMonitorAdvConditionUuidBuilder) -> MsftCommand
Converts to this type from the input type.
Source§impl From<MsftLeSetAdvFilterEnable> for MsftCommand
impl From<MsftLeSetAdvFilterEnable> for MsftCommand
Source§fn from(packet: MsftLeSetAdvFilterEnable) -> MsftCommand
fn from(packet: MsftLeSetAdvFilterEnable) -> MsftCommand
Converts to this type from the input type.
Source§impl From<MsftLeSetAdvFilterEnableBuilder> for MsftCommand
impl From<MsftLeSetAdvFilterEnableBuilder> for MsftCommand
Source§fn from(builder: MsftLeSetAdvFilterEnableBuilder) -> MsftCommand
fn from(builder: MsftLeSetAdvFilterEnableBuilder) -> MsftCommand
Converts to this type from the input type.
Source§impl From<MsftReadSupportedFeatures> for MsftCommand
impl From<MsftReadSupportedFeatures> for MsftCommand
Source§fn from(packet: MsftReadSupportedFeatures) -> MsftCommand
fn from(packet: MsftReadSupportedFeatures) -> MsftCommand
Converts to this type from the input type.
Source§impl From<MsftReadSupportedFeaturesBuilder> for MsftCommand
impl From<MsftReadSupportedFeaturesBuilder> for MsftCommand
Source§fn from(builder: MsftReadSupportedFeaturesBuilder) -> MsftCommand
fn from(builder: MsftReadSupportedFeaturesBuilder) -> MsftCommand
Converts to this type from the input type.
Source§impl Packet for MsftCommand
impl Packet for MsftCommand
Source§impl PartialEq for MsftCommand
impl PartialEq for MsftCommand
Source§impl TryFrom<Command> for MsftCommand
impl TryFrom<Command> for MsftCommand
impl Eq for MsftCommand
impl StructuralPartialEq for MsftCommand
Auto Trait Implementations§
impl !Freeze for MsftCommand
impl RefUnwindSafe for MsftCommand
impl Send for MsftCommand
impl Sync for MsftCommand
impl Unpin for MsftCommand
impl UnwindSafe for MsftCommand
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§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