[−][src]Struct lnpbp::TxoutSeal
Implementations
impl<'a, RESOLVER> TxoutSeal<'a, RESOLVER> where
RESOLVER: TxResolve,
[src]
RESOLVER: TxResolve,
Trait Implementations
impl<'a, RESOLVER> SingleUseSeal for TxoutSeal<'a, RESOLVER> where
RESOLVER: TxResolve,
[src]
RESOLVER: TxResolve,
type Witness = Witness
Associated type for the witness produced by the single-use-seal close procedure Read more
type Definition = OutPoint
Type that contains seal definition
type Error = Error
Closing and verification errors
fn close(&self, over: &Message) -> Result<Self::Witness, Self::Error>
[src]
fn verify(
&self,
msg: &Message,
witness: &Self::Witness
) -> Result<bool, Self::Error>
[src]
&self,
msg: &Message,
witness: &Self::Witness
) -> Result<bool, Self::Error>
Auto Trait Implementations
impl<'a, RESOLVER> RefUnwindSafe for TxoutSeal<'a, RESOLVER> where
RESOLVER: RefUnwindSafe,
[src]
RESOLVER: RefUnwindSafe,
impl<'a, RESOLVER> Send for TxoutSeal<'a, RESOLVER> where
RESOLVER: Sync,
[src]
RESOLVER: Sync,
impl<'a, RESOLVER> Sync for TxoutSeal<'a, RESOLVER> where
RESOLVER: Sync,
[src]
RESOLVER: Sync,
impl<'a, RESOLVER> Unpin for TxoutSeal<'a, RESOLVER>
[src]
impl<'a, RESOLVER> UnwindSafe for TxoutSeal<'a, RESOLVER> where
RESOLVER: RefUnwindSafe,
[src]
RESOLVER: RefUnwindSafe,
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, 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>,