pub struct ChannelIdentity {
pub channel_name: String,
pub origin_hash: u64,
}Expand description
Stable identity for a replicated channel. The
ReplicationCoordinator holds one of these per channel +
replica role; the metrics registry keys per-channel counters on
the channel_name string. The origin_hash is the substrate-
level identifier the capability layer’s causal:<hex> tag
carries.
Fields§
§channel_name: StringHuman-readable name of the replicated channel (used as the metrics label).
origin_hash: u64Substrate-level chain identifier — passed to
ChainTagSink::announce_chain / ChainTagSink::withdraw_chain.
Trait Implementations§
Source§impl Clone for ChannelIdentity
impl Clone for ChannelIdentity
Source§fn clone(&self) -> ChannelIdentity
fn clone(&self) -> ChannelIdentity
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 moreAuto Trait Implementations§
impl Freeze for ChannelIdentity
impl RefUnwindSafe for ChannelIdentity
impl Send for ChannelIdentity
impl Sync for ChannelIdentity
impl Unpin for ChannelIdentity
impl UnsafeUnpin for ChannelIdentity
impl UnwindSafe for ChannelIdentity
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