pub enum PathId {
Operator(OperatorId),
Provider(ProviderId),
}Available on crate feature
transport only.Expand description
The identifier that goes in an endpoint’s path.
Hubject matches this against the partner’s TLS client certificate, and answers a mismatch with
Code::UnauthorizedAccess. It is therefore never
normalised on the way out — see types::ids.
Variants§
Operator(OperatorId)
An {operatorID} path segment.
Provider(ProviderId)
A {providerID} path segment.
Implementations§
Trait Implementations§
impl Eq for PathId
Source§impl From<OperatorId> for PathId
impl From<OperatorId> for PathId
Source§fn from(id: OperatorId) -> Self
fn from(id: OperatorId) -> Self
Converts to this type from the input type.
Source§impl From<ProviderId> for PathId
impl From<ProviderId> for PathId
Source§fn from(id: ProviderId) -> Self
fn from(id: ProviderId) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for PathId
Auto Trait Implementations§
impl Freeze for PathId
impl RefUnwindSafe for PathId
impl Send for PathId
impl Sync for PathId
impl Unpin for PathId
impl UnsafeUnpin for PathId
impl UnwindSafe for PathId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.