Enum t_rust_less_lib::clipboard::ClipboardError
source · [−]Variants
Unavailable
Mutex(String)
Other(String)
Trait Implementations
sourceimpl Debug for ClipboardError
impl Debug for ClipboardError
sourceimpl Display for ClipboardError
impl Display for ClipboardError
sourceimpl From<ClipboardError> for ServiceError
impl From<ClipboardError> for ServiceError
sourcefn from(error: ClipboardError) -> Self
fn from(error: ClipboardError) -> Self
Converts to this type from the input type.
sourceimpl From<ConnectError> for ClipboardError
impl From<ConnectError> for ClipboardError
sourcefn from(error: ConnectError) -> Self
fn from(error: ConnectError) -> Self
Converts to this type from the input type.
sourceimpl From<NulError> for ClipboardError
impl From<NulError> for ClipboardError
sourceimpl<T> From<PoisonError<T>> for ClipboardError
impl<T> From<PoisonError<T>> for ClipboardError
sourcefn from(error: PoisonError<T>) -> Self
fn from(error: PoisonError<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for ClipboardError
impl Send for ClipboardError
impl Sync for ClipboardError
impl Unpin for ClipboardError
impl UnwindSafe for ClipboardError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read morefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read morefn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read morefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more