pub struct HostLabel(/* private fields */);Expand description
The operator’s --host-label value: the human-chosen half of a routing
label.
Narrower than a Label on purpose. This value is concatenated into
rm-<host>-<os>-<arch>, so a host label containing a space or an upper-case
letter would produce a routing label an operator could not retype into
runs-on from memory.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HostLabel
impl<'de> Deserialize<'de> for HostLabel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HostLabel
Source§impl Ord for HostLabel
impl Ord for HostLabel
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for HostLabel
impl PartialOrd for HostLabel
impl StructuralPartialEq for HostLabel
Auto Trait Implementations§
impl Freeze for HostLabel
impl RefUnwindSafe for HostLabel
impl Send for HostLabel
impl Sync for HostLabel
impl Unpin for HostLabel
impl UnsafeUnpin for HostLabel
impl UnwindSafe for HostLabel
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