Enum smithay_client_toolkit::primary_selection::PrimarySelectionSourceEvent[][src]

pub enum PrimarySelectionSourceEvent {
    Send {
        mime_type: String,
        pipe: WritePipe,
    },
    Cancelled,
}
Expand description

Possible events a primary selection source needs to react to.

Variants

Send

Fields

mime_type: String

Requested mime type.

pipe: WritePipe

Pipe to write into.

Write the offered data for selected mime type.

Cancelled

The action using the primary selection source was cancelled.

Once this event is received, the PrimarySelectionSource can not be used any more, and you should drop it for cleanup.

Happens if the user replaces primary selection buffer.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.