pub struct ProveConfig { /* private fields */ }
Expand description
Configuration to prove information to the verifier.
Implementations§
Source§impl ProveConfig
impl ProveConfig
Sourcepub fn builder(transcript: &Transcript) -> ProveConfigBuilder<'_>
pub fn builder(transcript: &Transcript) -> ProveConfigBuilder<'_>
Creates a new builder.
Sourcepub fn server_identity(&self) -> bool
pub fn server_identity(&self) -> bool
Returns true
if the server identity is to be proven.
Sourcepub fn transcript(&self) -> Option<&PartialTranscript>
pub fn transcript(&self) -> Option<&PartialTranscript>
Returns the transcript to be proven.
Sourcepub fn transcript_commit(&self) -> Option<&TranscriptCommitConfig>
pub fn transcript_commit(&self) -> Option<&TranscriptCommitConfig>
Returns the transcript commitment configuration.
Trait Implementations§
Source§impl Clone for ProveConfig
impl Clone for ProveConfig
Source§fn clone(&self) -> ProveConfig
fn clone(&self) -> ProveConfig
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ProveConfig
impl RefUnwindSafe for ProveConfig
impl Send for ProveConfig
impl Sync for ProveConfig
impl Unpin for ProveConfig
impl UnwindSafe for ProveConfig
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)