pub type ReadResult = Result<Option<String>, ClipboardError>;Expand description
The result of one read: the text, None when there was no plain text, or
ClipboardError::TooLong when there was more than one read may carry. Over-long text
is never cut short, so an application can refuse the paste instead of pasting part.
Aliased Type§
pub enum ReadResult {
Ok(Option<String>),
Err(ClipboardError),
}Variants§
Ok(Option<String>)
Contains the success value
Err(ClipboardError)
Contains the error value