pub struct FlowDecisionId(/* private fields */);Expand description
Opaque durable identifier of one selected transition.
Implementations§
Source§impl FlowDecisionId
impl FlowDecisionId
Sourcepub fn new(value: u64) -> Result<Self, DomainError>
pub fn new(value: u64) -> Result<Self, DomainError>
Constructs a positive flow-decision identifier.
§Errors
Returns DomainError::ZeroIdentifier for zero.
Trait Implementations§
Source§impl Clone for FlowDecisionId
impl Clone for FlowDecisionId
Source§fn clone(&self) -> FlowDecisionId
fn clone(&self) -> FlowDecisionId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FlowDecisionId
Source§impl Debug for FlowDecisionId
impl Debug for FlowDecisionId
Source§impl Display for FlowDecisionId
impl Display for FlowDecisionId
impl Eq for FlowDecisionId
Source§impl Hash for FlowDecisionId
impl Hash for FlowDecisionId
Source§impl Ord for FlowDecisionId
impl Ord for FlowDecisionId
Source§fn cmp(&self, other: &FlowDecisionId) -> Ordering
fn cmp(&self, other: &FlowDecisionId) -> Ordering
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
Source§impl PartialEq for FlowDecisionId
impl PartialEq for FlowDecisionId
Source§impl PartialOrd for FlowDecisionId
impl PartialOrd for FlowDecisionId
impl StructuralPartialEq for FlowDecisionId
Auto Trait Implementations§
impl Freeze for FlowDecisionId
impl RefUnwindSafe for FlowDecisionId
impl Send for FlowDecisionId
impl Sync for FlowDecisionId
impl Unpin for FlowDecisionId
impl UnsafeUnpin for FlowDecisionId
impl UnwindSafe for FlowDecisionId
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