#[non_exhaustive]pub enum ReceiverCommand {
Connect,
Unknown(u32),
}Expand description
A remote command a receiver advertises that it accepts.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Connect
The receiver accepts requests to connect to another source.
Unknown(u32)
A command this crate does not name, with its native value.
Trait Implementations§
Source§impl Clone for ReceiverCommand
impl Clone for ReceiverCommand
impl Copy for ReceiverCommand
Source§impl Debug for ReceiverCommand
impl Debug for ReceiverCommand
impl Eq for ReceiverCommand
Source§impl Hash for ReceiverCommand
impl Hash for ReceiverCommand
Source§impl PartialEq for ReceiverCommand
impl PartialEq for ReceiverCommand
impl StructuralPartialEq for ReceiverCommand
Auto Trait Implementations§
impl Freeze for ReceiverCommand
impl RefUnwindSafe for ReceiverCommand
impl Send for ReceiverCommand
impl Sync for ReceiverCommand
impl Unpin for ReceiverCommand
impl UnsafeUnpin for ReceiverCommand
impl UnwindSafe for ReceiverCommand
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