pub struct ServiceTag(/* private fields */);Expand description
Tag identifying a service-server callback registered on a Node.
See SubscriptionTag for the usage pattern.
Implementations§
Source§impl ServiceTag
impl ServiceTag
Sourcepub const fn placeholder() -> Self
pub const fn placeholder() -> Self
Sentinel used by macro-emitted init() bodies before the real
tag is resolved.
Trait Implementations§
Source§impl Clone for ServiceTag
impl Clone for ServiceTag
Source§fn clone(&self) -> ServiceTag
fn clone(&self) -> ServiceTag
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServiceTag
impl Debug for ServiceTag
Source§impl From<ServiceTag> for CallbackId<'static>
impl From<ServiceTag> for CallbackId<'static>
Source§fn from(tag: ServiceTag) -> Self
fn from(tag: ServiceTag) -> Self
Converts to this type from the input type.
Source§impl Hash for ServiceTag
impl Hash for ServiceTag
Source§impl PartialEq<Callback<'_>> for ServiceTag
impl PartialEq<Callback<'_>> for ServiceTag
Source§impl PartialEq<CallbackId<'_>> for ServiceTag
impl PartialEq<CallbackId<'_>> for ServiceTag
Source§impl PartialEq for ServiceTag
impl PartialEq for ServiceTag
impl Copy for ServiceTag
impl Eq for ServiceTag
impl StructuralPartialEq for ServiceTag
Auto Trait Implementations§
impl Freeze for ServiceTag
impl RefUnwindSafe for ServiceTag
impl Send for ServiceTag
impl Sync for ServiceTag
impl Unpin for ServiceTag
impl UnsafeUnpin for ServiceTag
impl UnwindSafe for ServiceTag
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