[−][src]Struct wagyu_zcash::transaction::SaplingOutput
Represents a Zcash Sapling output
Fields
output_parameters: Option<SaplingOutputParameters<N>>
The Sapling output parameters
output_description: Option<SaplingOutputDescription>
The output description
Methods
impl<N: ZcashNetwork> SaplingOutput<N>
[src]
pub fn new(
ovk: SaplingOutgoingViewingKey,
address: &ZcashAddress<N>,
value: ZcashAmount
) -> Result<Self, TransactionError>
[src]
ovk: SaplingOutgoingViewingKey,
address: &ZcashAddress<N>,
value: ZcashAmount
) -> Result<Self, TransactionError>
Returns a new Zcash sapling output
pub fn create_sapling_output_description(
&mut self,
proving_ctx: &mut SaplingProvingContext,
verifying_ctx: &mut SaplingVerificationContext,
output_params: &Parameters<Bls12>,
output_vk: &PreparedVerifyingKey<Bls12>
) -> Result<(), TransactionError>
[src]
&mut self,
proving_ctx: &mut SaplingProvingContext,
verifying_ctx: &mut SaplingVerificationContext,
output_params: &Parameters<Bls12>,
output_vk: &PreparedVerifyingKey<Bls12>
) -> Result<(), TransactionError>
Create Sapling Output Description
pub fn read<R: Read>(reader: &mut R) -> Result<Self, TransactionError>
[src]
Read and output a Zcash sapling output
Trait Implementations
impl<N: Clone + ZcashNetwork> Clone for SaplingOutput<N>
[src]
fn clone(&self) -> SaplingOutput<N>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<N: Debug + ZcashNetwork> Debug for SaplingOutput<N>
[src]
Auto Trait Implementations
impl<N> RefUnwindSafe for SaplingOutput<N> where
N: RefUnwindSafe,
N: RefUnwindSafe,
impl<N> Send for SaplingOutput<N>
impl<N> Sync for SaplingOutput<N>
impl<N> Unpin for SaplingOutput<N> where
N: Unpin,
N: Unpin,
impl<N> UnwindSafe for SaplingOutput<N> where
N: UnwindSafe,
N: UnwindSafe,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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>,