pub struct ServiceHandle(/* private fields */);Expand description
Opaque identifier for a registered service.
Implementations§
Trait Implementations§
Source§impl Clone for ServiceHandle
impl Clone for ServiceHandle
Source§fn clone(&self) -> ServiceHandle
fn clone(&self) -> ServiceHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ServiceHandle
Source§impl Debug for ServiceHandle
impl Debug for ServiceHandle
Source§impl Display for ServiceHandle
impl Display for ServiceHandle
impl Eq for ServiceHandle
Source§impl Hash for ServiceHandle
impl Hash for ServiceHandle
Source§impl Ord for ServiceHandle
impl Ord for ServiceHandle
Source§fn cmp(&self, other: &ServiceHandle) -> Ordering
fn cmp(&self, other: &ServiceHandle) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ServiceHandle
impl PartialEq for ServiceHandle
Source§fn eq(&self, other: &ServiceHandle) -> bool
fn eq(&self, other: &ServiceHandle) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ServiceHandle
impl PartialOrd for ServiceHandle
impl StructuralPartialEq for ServiceHandle
Auto Trait Implementations§
impl Freeze for ServiceHandle
impl RefUnwindSafe for ServiceHandle
impl Send for ServiceHandle
impl Sync for ServiceHandle
impl Unpin for ServiceHandle
impl UnsafeUnpin for ServiceHandle
impl UnwindSafe for ServiceHandle
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