pub struct ControllerId(pub String);
Expand description
Extension type for fnet_filter::ControllerId
.
Tuple Fields§
§0: String
Trait Implementations§
source§impl Clone for ControllerId
impl Clone for ControllerId
source§fn clone(&self) -> ControllerId
fn clone(&self) -> ControllerId
Returns a copy 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 ControllerId
impl Debug for ControllerId
source§impl Hash for ControllerId
impl Hash for ControllerId
source§impl Ord for ControllerId
impl Ord for ControllerId
source§fn cmp(&self, other: &ControllerId) -> Ordering
fn cmp(&self, other: &ControllerId) -> Ordering
1.21.0 · 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
source§impl PartialEq for ControllerId
impl PartialEq for ControllerId
source§fn eq(&self, other: &ControllerId) -> bool
fn eq(&self, other: &ControllerId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ControllerId
impl PartialOrd for ControllerId
source§fn partial_cmp(&self, other: &ControllerId) -> Option<Ordering>
fn partial_cmp(&self, other: &ControllerId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for ControllerId
impl StructuralPartialEq for ControllerId
Auto Trait Implementations§
impl Freeze for ControllerId
impl RefUnwindSafe for ControllerId
impl Send for ControllerId
impl Sync for ControllerId
impl Unpin for ControllerId
impl UnwindSafe for ControllerId
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> Encode<Ambiguous1> for T
impl<T> Encode<Ambiguous1> for T
source§impl<T> Encode<Ambiguous2> for T
impl<T> Encode<Ambiguous2> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
source§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.