pub enum CodeOutChannel {
Display,
Speaker,
}Expand description
Channel a dynamic pairing code reaches the operator through.
The client advertises the channels its host can actually drive. display covers a screen, an
e-ink panel or a seven-segment display; speaker covers a device that speaks the code from
audio it bundles itself. The crate derives the code and emits it; rendering and speaking belong
to the host.
Variants§
Trait Implementations§
Source§impl Clone for CodeOutChannel
impl Clone for CodeOutChannel
impl Copy for CodeOutChannel
Source§impl Debug for CodeOutChannel
impl Debug for CodeOutChannel
impl Eq for CodeOutChannel
Source§impl PartialEq for CodeOutChannel
impl PartialEq for CodeOutChannel
impl StructuralPartialEq for CodeOutChannel
Auto Trait Implementations§
impl Forget for CodeOutChannel
impl Freeze for CodeOutChannel
impl Move for CodeOutChannel
impl RefUnwindSafe for CodeOutChannel
impl Send for CodeOutChannel
impl Sync for CodeOutChannel
impl Unpin for CodeOutChannel
impl UnsafeUnpin for CodeOutChannel
impl UnwindSafe for CodeOutChannel
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