Struct flexible_transcript::MerlinTranscript
source · pub struct MerlinTranscript(pub Transcript);Available on crate feature
merlin only.Tuple Fields
0: TranscriptTrait Implementations
sourceimpl Clone for MerlinTranscript
impl Clone for MerlinTranscript
sourcefn clone(&self) -> MerlinTranscript
fn clone(&self) -> MerlinTranscript
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for MerlinTranscript
impl Debug for MerlinTranscript
sourceimpl Transcript for MerlinTranscript
impl Transcript for MerlinTranscript
type Challenge = [u8; 64]
sourcefn domain_separate(&mut self, label: &'static [u8])
fn domain_separate(&mut self, label: &'static [u8])
Apply a domain separator to the transcript.
sourcefn append_message<M: AsRef<[u8]>>(&mut self, label: &'static [u8], message: M)
fn append_message<M: AsRef<[u8]>>(&mut self, label: &'static [u8], message: M)
Append a message to the transcript.
Auto Trait Implementations
impl RefUnwindSafe for MerlinTranscript
impl Send for MerlinTranscript
impl Sync for MerlinTranscript
impl Unpin for MerlinTranscript
impl UnwindSafe for MerlinTranscript
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more