pub struct SetDiscoverable { /* private fields */ }
Expand description
Set Discoverable Command
Implementations§
Source§impl SetDiscoverable
impl SetDiscoverable
Sourcepub fn new(discoverable: Discoverable, timeout: u16) -> Self
pub fn new(discoverable: Discoverable, timeout: u16) -> Self
Constructs a new SetDiscoverable
.
Trait Implementations§
Source§impl CommandRequest for SetDiscoverable
impl CommandRequest for SetDiscoverable
Source§const CODE: CommandCode = CommandCode::SetDiscoverable
const CODE: CommandCode = CommandCode::SetDiscoverable
Command code.
Source§type Reply = SetDiscoverableReply
type Reply = SetDiscoverableReply
Return type for this command.
Source§impl Debug for SetDiscoverable
impl Debug for SetDiscoverable
Source§impl From<SetDiscoverable> for Command
impl From<SetDiscoverable> for Command
Source§fn from(v: SetDiscoverable) -> Self
fn from(v: SetDiscoverable) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SetDiscoverable
impl RefUnwindSafe for SetDiscoverable
impl Send for SetDiscoverable
impl Sync for SetDiscoverable
impl Unpin for SetDiscoverable
impl UnwindSafe for SetDiscoverable
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