pub struct SetDeviceFlag { /* private fields */ }
Expand description
Set Device Flags Command
Implementations§
Source§impl SetDeviceFlag
impl SetDeviceFlag
Sourcepub fn new(
addrss: Address,
address_type: AddressType,
current_flags: DeviceFlags,
) -> Self
pub fn new( addrss: Address, address_type: AddressType, current_flags: DeviceFlags, ) -> Self
Constructs a new SetDeviceFlag
.
Trait Implementations§
Source§impl CommandRequest for SetDeviceFlag
impl CommandRequest for SetDeviceFlag
Source§const CODE: CommandCode = CommandCode::SetDeviceFlag
const CODE: CommandCode = CommandCode::SetDeviceFlag
Command code.
Source§type Reply = SetDeviceFlagReply
type Reply = SetDeviceFlagReply
Return type for this command.
Source§impl Debug for SetDeviceFlag
impl Debug for SetDeviceFlag
Source§impl From<SetDeviceFlag> for Command
impl From<SetDeviceFlag> for Command
Source§fn from(v: SetDeviceFlag) -> Self
fn from(v: SetDeviceFlag) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SetDeviceFlag
impl RefUnwindSafe for SetDeviceFlag
impl Send for SetDeviceFlag
impl Sync for SetDeviceFlag
impl Unpin for SetDeviceFlag
impl UnwindSafe for SetDeviceFlag
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