Trait smithay_clipboard::dnd::Sender

source ·
pub trait Sender<T> {
    // Required method
    fn send(&self, t: DndEvent<T>) -> Result<(), SendError<DndEvent<T>>>;
}

Required Methods§

source

fn send(&self, t: DndEvent<T>) -> Result<(), SendError<DndEvent<T>>>

Send an event in the channel

Implementations on Foreign Types§

source§

impl<T> Sender<T> for Sender<DndEvent<T>>

source§

fn send(&self, t: DndEvent<T>) -> Result<(), SendError<DndEvent<T>>>

source§

impl<T> Sender<T> for SyncSender<DndEvent<T>>

source§

fn send(&self, t: DndEvent<T>) -> Result<(), SendError<DndEvent<T>>>

Implementors§