fn with_shared_clipboard<ResultType>( callback: impl FnOnce(&mut Clipboard) -> Result<ResultType, Error>, ) -> Result<ResultType, Error>