pub enum IncomingDeviceCommand {
TabReceived {
sender: Option<Device>,
payload: SendTabPayload,
},
TabsClosed {
sender: Option<Device>,
payload: CloseTabsPayload,
},
}
Expand description
A command invoked by another device.
This enum represents all possible commands that can be invoked on the device. It is the responsibility of the application to interpret each command.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IncomingDeviceCommand
impl RefUnwindSafe for IncomingDeviceCommand
impl Send for IncomingDeviceCommand
impl Sync for IncomingDeviceCommand
impl Unpin for IncomingDeviceCommand
impl UnwindSafe for IncomingDeviceCommand
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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§fn clone_handle(handle: Handle) -> Handle
fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>