Struct ockam_core::flow_control::FlowControlId
source · pub struct FlowControlId { /* private fields */ }
Expand description
Unique random identifier of a Flow Control
Trait Implementations§
source§impl Clone for FlowControlId
impl Clone for FlowControlId
source§fn clone(&self) -> FlowControlId
fn clone(&self) -> FlowControlId
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 FlowControlId
impl Debug for FlowControlId
source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for FlowControlId
impl<'bytes, Ctx> Decode<'bytes, Ctx> for FlowControlId
source§impl<'de> Deserialize<'de> for FlowControlId
impl<'de> Deserialize<'de> for FlowControlId
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
source§impl Display for FlowControlId
impl Display for FlowControlId
source§impl Distribution<FlowControlId> for Standard
impl Distribution<FlowControlId> for Standard
source§fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> FlowControlId
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> FlowControlId
Generate a random value of
T
, using rng
as the source of randomness.source§impl<Ctx> Encode<Ctx> for FlowControlId
impl<Ctx> Encode<Ctx> for FlowControlId
source§impl From<String> for FlowControlId
impl From<String> for FlowControlId
source§impl Ord for FlowControlId
impl Ord for FlowControlId
source§fn cmp(&self, other: &FlowControlId) -> Ordering
fn cmp(&self, other: &FlowControlId) -> 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 FlowControlId
impl PartialEq for FlowControlId
source§fn eq(&self, other: &FlowControlId) -> bool
fn eq(&self, other: &FlowControlId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FlowControlId
impl PartialOrd for FlowControlId
source§fn partial_cmp(&self, other: &FlowControlId) -> Option<Ordering>
fn partial_cmp(&self, other: &FlowControlId) -> 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 moresource§impl Serialize for FlowControlId
impl Serialize for FlowControlId
impl Eq for FlowControlId
impl StructuralPartialEq for FlowControlId
Auto Trait Implementations§
impl Freeze for FlowControlId
impl RefUnwindSafe for FlowControlId
impl Send for FlowControlId
impl Sync for FlowControlId
impl Unpin for FlowControlId
impl UnwindSafe for FlowControlId
Blanket Implementations§
source§impl<D> AsyncTryClone for D
impl<D> AsyncTryClone for D
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