pub enum ReadErrorCode {
NoSys,
Perm,
Busy,
Unknown(CompactString),
}Expand description
Terminal error status for a 5522 read.
Variants§
NoSys
Requested clipboard location is unavailable (loc=primary on a
system without a primary selection).
Perm
Permission denied by the system or the user.
Busy
Temporary failure (another multiplexer client holds the clipboard).
Unknown(CompactString)
Forward-compatibility: a status value this client does not know. Treated as a terminal failure, never ignored.
Trait Implementations§
Source§impl Clone for ReadErrorCode
impl Clone for ReadErrorCode
Source§impl Debug for ReadErrorCode
impl Debug for ReadErrorCode
impl Eq for ReadErrorCode
Source§impl PartialEq for ReadErrorCode
impl PartialEq for ReadErrorCode
impl StructuralPartialEq for ReadErrorCode
Auto Trait Implementations§
impl Forget for ReadErrorCode
impl Freeze for ReadErrorCode
impl Move for ReadErrorCode
impl RefUnwindSafe for ReadErrorCode
impl Send for ReadErrorCode
impl Sync for ReadErrorCode
impl Unpin for ReadErrorCode
impl UnsafeUnpin for ReadErrorCode
impl UnwindSafe for ReadErrorCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.