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