pub enum IrTargetV0 {
Node {
node_id: IrNodeIdV0,
observed_epoch: u64,
},
}Variants§
Node
Implementations§
Source§impl IrTargetV0
impl IrTargetV0
pub const fn node(node_id: IrNodeIdV0, observed_epoch: u64) -> Self
pub const fn node_id(self) -> IrNodeIdV0
pub const fn observed_epoch(self) -> u64
Trait Implementations§
Source§impl Clone for IrTargetV0
impl Clone for IrTargetV0
Source§fn clone(&self) -> IrTargetV0
fn clone(&self) -> IrTargetV0
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 IrTargetV0
Source§impl Debug for IrTargetV0
impl Debug for IrTargetV0
impl Eq for IrTargetV0
Source§impl PartialEq for IrTargetV0
impl PartialEq for IrTargetV0
impl StructuralPartialEq for IrTargetV0
Auto Trait Implementations§
impl Freeze for IrTargetV0
impl RefUnwindSafe for IrTargetV0
impl Send for IrTargetV0
impl Sync for IrTargetV0
impl Unpin for IrTargetV0
impl UnsafeUnpin for IrTargetV0
impl UnwindSafe for IrTargetV0
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.