pub struct ChannelArg(pub Channel);Expand description
A channel, named or given by its raw 32-byte key.
A key is spelled the same way a public key is, so anything that parses as one is taken for a private channel key and everything else is a channel name. The name of a key-given channel is its own derived identifier, since there is no name to show and the key must never be printed.
Tuple Fields§
§0: ChannelTrait Implementations§
Source§impl Clone for ChannelArg
impl Clone for ChannelArg
Source§fn clone(&self) -> ChannelArg
fn clone(&self) -> ChannelArg
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChannelArg
impl Debug for ChannelArg
Source§impl FromStr for ChannelArg
impl FromStr for ChannelArg
Source§impl PartialEq for ChannelArg
impl PartialEq for ChannelArg
impl Eq for ChannelArg
impl StructuralPartialEq for ChannelArg
Auto Trait Implementations§
impl Freeze for ChannelArg
impl RefUnwindSafe for ChannelArg
impl Send for ChannelArg
impl Sync for ChannelArg
impl Unpin for ChannelArg
impl UnwindSafe for ChannelArg
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)