Trait copypasta::ClipboardProvider
source · pub trait ClipboardProvider: Send {
// Required methods
fn get_contents(
&mut self
) -> Result<String, Box<dyn Error + Send + Sync + 'static>>;
fn set_contents(
&mut self,
_: String
) -> Result<(), Box<dyn Error + Send + Sync + 'static>>;
}
Expand description
Trait for clipboard access