pub struct SetEventFilterConnectionSetupClassOfDevice { /* private fields */ }Implementations§
Source§impl SetEventFilterConnectionSetupClassOfDevice
impl SetEventFilterConnectionSetupClassOfDevice
pub fn parse(bytes: &[u8]) -> Result<Self, Error>
pub fn get_auto_accept_flag(&self) -> AutoAcceptFlag
pub fn get_class_of_device(&self) -> u32
pub fn get_class_of_device_mask(&self) -> u32
pub fn get_filter_condition_type(&self) -> FilterConditionType
pub fn get_filter_type(&self) -> FilterType
pub fn get_op_code(&self) -> OpCode
pub fn get_size(&self) -> usize
Trait Implementations§
Source§impl Clone for SetEventFilterConnectionSetupClassOfDevice
impl Clone for SetEventFilterConnectionSetupClassOfDevice
Source§fn clone(&self) -> SetEventFilterConnectionSetupClassOfDevice
fn clone(&self) -> SetEventFilterConnectionSetupClassOfDevice
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 From<SetEventFilterConnectionSetupClassOfDevice> for Bytes
impl From<SetEventFilterConnectionSetupClassOfDevice> for Bytes
Source§fn from(packet: SetEventFilterConnectionSetupClassOfDevice) -> Self
fn from(packet: SetEventFilterConnectionSetupClassOfDevice) -> Self
Converts to this type from the input type.
Source§impl From<SetEventFilterConnectionSetupClassOfDevice> for Command
impl From<SetEventFilterConnectionSetupClassOfDevice> for Command
Source§fn from(packet: SetEventFilterConnectionSetupClassOfDevice) -> Command
fn from(packet: SetEventFilterConnectionSetupClassOfDevice) -> Command
Converts to this type from the input type.
Source§impl From<SetEventFilterConnectionSetupClassOfDevice> for SetEventFilter
impl From<SetEventFilterConnectionSetupClassOfDevice> for SetEventFilter
Source§fn from(packet: SetEventFilterConnectionSetupClassOfDevice) -> SetEventFilter
fn from(packet: SetEventFilterConnectionSetupClassOfDevice) -> SetEventFilter
Converts to this type from the input type.
Source§impl From<SetEventFilterConnectionSetupClassOfDevice> for SetEventFilterConnectionSetup
impl From<SetEventFilterConnectionSetupClassOfDevice> for SetEventFilterConnectionSetup
Source§fn from(
packet: SetEventFilterConnectionSetupClassOfDevice,
) -> SetEventFilterConnectionSetup
fn from( packet: SetEventFilterConnectionSetupClassOfDevice, ) -> SetEventFilterConnectionSetup
Converts to this type from the input type.
Source§impl From<SetEventFilterConnectionSetupClassOfDevice> for Vec<u8>
impl From<SetEventFilterConnectionSetupClassOfDevice> for Vec<u8>
Source§fn from(packet: SetEventFilterConnectionSetupClassOfDevice) -> Self
fn from(packet: SetEventFilterConnectionSetupClassOfDevice) -> Self
Converts to this type from the input type.
Source§impl From<SetEventFilterConnectionSetupClassOfDeviceBuilder> for SetEventFilterConnectionSetupClassOfDevice
impl From<SetEventFilterConnectionSetupClassOfDeviceBuilder> for SetEventFilterConnectionSetupClassOfDevice
Source§fn from(
builder: SetEventFilterConnectionSetupClassOfDeviceBuilder,
) -> SetEventFilterConnectionSetupClassOfDevice
fn from( builder: SetEventFilterConnectionSetupClassOfDeviceBuilder, ) -> SetEventFilterConnectionSetupClassOfDevice
Converts to this type from the input type.
Source§impl PartialEq for SetEventFilterConnectionSetupClassOfDevice
impl PartialEq for SetEventFilterConnectionSetupClassOfDevice
Source§fn eq(&self, other: &SetEventFilterConnectionSetupClassOfDevice) -> bool
fn eq(&self, other: &SetEventFilterConnectionSetupClassOfDevice) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SetEventFilterConnectionSetupClassOfDevice
impl StructuralPartialEq for SetEventFilterConnectionSetupClassOfDevice
Auto Trait Implementations§
impl !Freeze for SetEventFilterConnectionSetupClassOfDevice
impl RefUnwindSafe for SetEventFilterConnectionSetupClassOfDevice
impl Send for SetEventFilterConnectionSetupClassOfDevice
impl Sync for SetEventFilterConnectionSetupClassOfDevice
impl Unpin for SetEventFilterConnectionSetupClassOfDevice
impl UnwindSafe for SetEventFilterConnectionSetupClassOfDevice
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