[][src]Enum wayland_protocols::wlr::unstable::data_control::v1::client::zwlr_data_control_source_v1::Event

pub enum Event {
    Send {
        mime_type: String,
        fd: RawFd,
    },
    Cancelled,
    // some variants omitted
}

Variants

Send

send the data

Request for data from the client. Send the data as the specified MIME type over the passed file descriptor, then close it.

Fields of Send

mime_type: Stringfd: RawFd
Cancelled

selection was cancelled

This data source is no longer valid. The data source has been replaced by another data source.

The client should clean up and destroy this data source.

Trait Implementations

impl MessageGroup for Event[src]

type Map = ProxyMap

The wrapper type for ObjectMap allowing the mapping of Object and NewId arguments to the object map during parsing. Read more

Auto Trait Implementations

impl Send for Event

impl Sync for Event

impl Unpin for Event

impl RefUnwindSafe for Event

impl UnwindSafe for Event

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Downcast for T where
    T: Any