[−][src]Struct lnpbp::bp::TxoutSeal
Trait Implementations
impl<'a, TXGRAPH> SealMedium<'a, TxoutSeal<'a, TXGRAPH>> for TXGRAPH where
TXGRAPH: TxGraph + TxResolve,
[src]
TXGRAPH: TxGraph + TxResolve,
type PublicationId = ShortId
Publication id that may be used for referencing publication of
witness data in the medium. By default set ()
, so SealMedium
may not implement publication id and related functions Read more
type Error = Error
Error type that contains reasons of medium access failure
fn define_seal(
&'a self,
seal_definition: &OutPoint
) -> Result<TxoutSeal<'_, TXGRAPH>, Self::Error>
[src]
&'a self,
seal_definition: &OutPoint
) -> Result<TxoutSeal<'_, TXGRAPH>, Self::Error>
fn get_seal_status(
&self,
seal: &TxoutSeal<'_, TXGRAPH>
) -> Result<SealStatus, Self::Error>
[src]
&self,
seal: &TxoutSeal<'_, TXGRAPH>
) -> Result<SealStatus, Self::Error>
fn publish_witness(
&mut self,
_witness: &SEAL::Witness
) -> Result<Self::PublicationId, SealMediumError<Self::Error>>
[src]
&mut self,
_witness: &SEAL::Witness
) -> Result<Self::PublicationId, SealMediumError<Self::Error>>
fn get_witness_publication_id(
&self,
_witness: &SEAL::Witness
) -> Result<Option<Self::PublicationId>, SealMediumError<Self::Error>>
[src]
&self,
_witness: &SEAL::Witness
) -> Result<Option<Self::PublicationId>, SealMediumError<Self::Error>>
fn validate_publication_id(
&self,
_publication_id: &Self::PublicationId
) -> Result<bool, SealMediumError<Self::Error>>
[src]
&self,
_publication_id: &Self::PublicationId
) -> Result<bool, SealMediumError<Self::Error>>
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,
RESOLVER: RefUnwindSafe,
impl<'a, RESOLVER> Send for TxoutSeal<'a, RESOLVER> where
RESOLVER: Sync,
RESOLVER: Sync,
impl<'a, RESOLVER> Sync for TxoutSeal<'a, RESOLVER> where
RESOLVER: Sync,
RESOLVER: Sync,
impl<'a, RESOLVER> Unpin for TxoutSeal<'a, RESOLVER>
impl<'a, RESOLVER> UnwindSafe for TxoutSeal<'a, RESOLVER> where
RESOLVER: RefUnwindSafe,
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,
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, 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.
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.
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>,