#[repr(u32)]pub enum LinkMode {
Monitor = 1,
Notify = 2,
Peer = 3,
}
Expand description
How deeply should we link?
Variants§
Monitor = 1
Receive a notification when the other Device disconnects.
Notify = 2
Send a notification when we disconnect.
Peer = 3
Monitor + Notify.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LinkMode
impl RefUnwindSafe for LinkMode
impl Send for LinkMode
impl Sync for LinkMode
impl Unpin for LinkMode
impl UnwindSafe for LinkMode
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