pub struct ChannelId(pub [u8; 32]);
Expand description
The global identifier of a channel.
Note that this will start out to be a temporary ID until channel funding negotiation is finalized, at which point it will change to be a permanent global ID tied to the on-chain funding transaction.
Tuple Fields§
§0: [u8; 32]
Trait Implementations§
source§impl PartialEq<ChannelId> for ChannelId
impl PartialEq<ChannelId> for ChannelId
source§impl Writeable for ChannelId
impl Writeable for ChannelId
impl Copy for ChannelId
impl Eq for ChannelId
impl StructuralEq for ChannelId
impl StructuralPartialEq for ChannelId
Auto Trait Implementations§
impl RefUnwindSafe for ChannelId
impl Send for ChannelId
impl Sync for ChannelId
impl Unpin for ChannelId
impl UnwindSafe for ChannelId
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.