pub struct HandlerKey(pub &'static str);Expand description
Registration key for a type-erased handler stored by a server binding.
Tuple Fields§
§0: &'static strTrait Implementations§
Source§impl Clone for HandlerKey
impl Clone for HandlerKey
Source§fn clone(&self) -> HandlerKey
fn clone(&self) -> HandlerKey
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 HandlerKey
Source§impl Debug for HandlerKey
impl Debug for HandlerKey
Source§impl Deserialize<'static> for HandlerKey
impl Deserialize<'static> for HandlerKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HandlerKey
Source§impl Hash for HandlerKey
impl Hash for HandlerKey
Source§impl PartialEq for HandlerKey
impl PartialEq for HandlerKey
Source§impl Serialize for HandlerKey
impl Serialize for HandlerKey
impl StructuralPartialEq for HandlerKey
Auto Trait Implementations§
impl Freeze for HandlerKey
impl RefUnwindSafe for HandlerKey
impl Send for HandlerKey
impl Sync for HandlerKey
impl Unpin for HandlerKey
impl UnsafeUnpin for HandlerKey
impl UnwindSafe for HandlerKey
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