pub struct ChannelReservationReplayContextV1 { /* private fields */ }Implementations§
Source§impl ChannelReservationReplayContextV1
impl ChannelReservationReplayContextV1
pub fn from_pre_anchor( prepared: &VerifiedChannelPreparedReservationV1, proposal: &VerifiedChannelReservationProposalV1, ) -> Result<Self, ChannelError>
pub fn from_verified( prepared: &VerifiedChannelPreparedReservationV1, reservation: &VerifiedAdmittedChannelReservationV1, ) -> Result<Self, ChannelError>
Trait Implementations§
Source§impl Clone for ChannelReservationReplayContextV1
impl Clone for ChannelReservationReplayContextV1
Source§fn clone(&self) -> ChannelReservationReplayContextV1
fn clone(&self) -> ChannelReservationReplayContextV1
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 moreSource§impl<'de> Deserialize<'de> for ChannelReservationReplayContextV1
impl<'de> Deserialize<'de> for ChannelReservationReplayContextV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ChannelReservationReplayContextV1
impl StructuralPartialEq for ChannelReservationReplayContextV1
Auto Trait Implementations§
impl Freeze for ChannelReservationReplayContextV1
impl RefUnwindSafe for ChannelReservationReplayContextV1
impl Send for ChannelReservationReplayContextV1
impl Sync for ChannelReservationReplayContextV1
impl Unpin for ChannelReservationReplayContextV1
impl UnsafeUnpin for ChannelReservationReplayContextV1
impl UnwindSafe for ChannelReservationReplayContextV1
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