pub struct ConnectorKey(pub &'static str);Expand description
Typed key for identifying connectors in priority configuration.
Tuple Fields§
§0: &'static strImplementations§
Trait Implementations§
Source§impl Clone for ConnectorKey
impl Clone for ConnectorKey
Source§fn clone(&self) -> ConnectorKey
fn clone(&self) -> ConnectorKey
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 ConnectorKey
impl Debug for ConnectorKey
Source§impl From<ConnectorKey> for &'static str
impl From<ConnectorKey> for &'static str
Source§fn from(k: ConnectorKey) -> Self
fn from(k: ConnectorKey) -> Self
Converts to this type from the input type.
Source§impl Hash for ConnectorKey
impl Hash for ConnectorKey
Source§impl PartialEq for ConnectorKey
impl PartialEq for ConnectorKey
impl Copy for ConnectorKey
impl Eq for ConnectorKey
impl StructuralPartialEq for ConnectorKey
Auto Trait Implementations§
impl Freeze for ConnectorKey
impl RefUnwindSafe for ConnectorKey
impl Send for ConnectorKey
impl Sync for ConnectorKey
impl Unpin for ConnectorKey
impl UnwindSafe for ConnectorKey
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