[−][src]Struct lnpbp::lnp::application::payment::Bolt3
Implementations
impl Bolt3
[src]
pub fn new(
is_originator: bool,
local_amount: u64,
remote_amount: u64,
to_self_delay: u16
) -> Self
[src]
is_originator: bool,
local_amount: u64,
remote_amount: u64,
to_self_delay: u16
) -> Self
Trait Implementations
impl ChannelExtension for Bolt3
[src]
fn channel_state(&self) -> Box<dyn State>
[src]
fn apply(&mut self, tx_graph: &mut TxGraph) -> Result<(), Error>
[src]
impl Clone for Bolt3
[src]
impl Copy for Bolt3
[src]
impl Debug for Bolt3
[src]
impl Eq for Bolt3
[src]
impl Extension for Bolt3
[src]
type Identity = ExtensionId
fn identity(&self) -> Self::Identity
[src]
fn update_from_peer(&mut self, message: &Messages) -> Result<(), Error>
[src]
fn extension_state(&self) -> Box<dyn State>
[src]
impl PartialEq<Bolt3> for Bolt3
[src]
impl State for Bolt3
[src]
impl StrictDecode for Bolt3
[src]
type Error = Error
Implementation-dependent error type
fn strict_decode<D: Read>(d: D) -> Result<Self, Self::Error>
[src]
impl StrictEncode for Bolt3
[src]
type Error = Error
Implementation-dependent error type
fn strict_encode<E: Write>(&self, e: E) -> Result<usize, Self::Error>
[src]
impl StructuralEq for Bolt3
[src]
impl StructuralPartialEq for Bolt3
[src]
Auto Trait Implementations
impl RefUnwindSafe for Bolt3
impl Send for Bolt3
impl Sync for Bolt3
impl Unpin for Bolt3
impl UnwindSafe for Bolt3
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,