pub struct ChannelReady(/* private fields */);Implementations§
Source§impl ChannelReady
impl ChannelReady
pub const TOTAL_SIZE: usize = 32
pub const FIELD_SIZES: [usize; 1]
pub const FIELD_COUNT: usize = 1
pub fn channel_id(&self) -> Byte32
pub fn as_reader<'r>(&'r self) -> ChannelReadyReader<'r>
Trait Implementations§
Source§impl Clone for ChannelReady
impl Clone for ChannelReady
Source§fn clone(&self) -> ChannelReady
fn clone(&self) -> ChannelReady
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChannelReady
impl Debug for ChannelReady
Source§impl Default for ChannelReady
impl Default for ChannelReady
Source§impl Display for ChannelReady
impl Display for ChannelReady
Source§impl Entity for ChannelReady
impl Entity for ChannelReady
const NAME: &'static str = "ChannelReady"
type Builder = ChannelReadyBuilder
fn new_unchecked(data: Bytes) -> Self
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> VerificationResult<Self>
fn from_compatible_slice(slice: &[u8]) -> VerificationResult<Self>
fn new_builder() -> Self::Builder
fn as_builder(self) -> Self::Builder
Source§impl From<ChannelReady> for FiberMessage
impl From<ChannelReady> for FiberMessage
Source§fn from(value: ChannelReady) -> Self
fn from(value: ChannelReady) -> Self
Converts to this type from the input type.
Source§impl From<ChannelReady> for FiberMessageUnion
impl From<ChannelReady> for FiberMessageUnion
Source§fn from(item: ChannelReady) -> Self
fn from(item: ChannelReady) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for ChannelReady
impl RefUnwindSafe for ChannelReady
impl Send for ChannelReady
impl Sync for ChannelReady
impl Unpin for ChannelReady
impl UnsafeUnpin for ChannelReady
impl UnwindSafe for ChannelReady
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