diff --git a/help.html b/help.html index 5685bb481e..c54f8e2ee0 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -Rustdoc help

Rustdoc help

Back
\ No newline at end of file +Rustdoc help

Rustdoc help

Back
\ No newline at end of file diff --git a/implementors/core/clone/trait.Clone.js b/implementors/core/clone/trait.Clone.js index 5cefdc1fac..635efb18a6 100644 --- a/implementors/core/clone/trait.Clone.js +++ b/implementors/core/clone/trait.Clone.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"tlsn_core":[["impl Clone for Transcript"],["impl Clone for NotaryPublicKey"],["impl Clone for SessionHeader"],["impl Clone for CommitmentId"],["impl Clone for CommitmentOpening"],["impl Clone for Commitment"],["impl Clone for MerkleTree"],["impl Clone for HandshakeSummary"],["impl Clone for CommitmentInfo"],["impl Clone for Blake3Opening"],["impl Clone for MerkleProof"],["impl Clone for TranscriptSlice"],["impl Clone for CommitmentKind"],["impl Clone for MerkleRoot"],["impl Clone for Signature"],["impl Clone for TranscriptCommitments"],["impl Clone for Direction"],["impl Clone for Blake3Commitment"],["impl Clone for ServerName"]], -"tlsn_notary":[["impl Clone for NotaryConfigBuilder"],["impl Clone for NotaryConfig"]], -"tlsn_prover":[["impl Clone for ProverConfig"]] +"tlsn_core":[["impl Clone for CommitmentId"],["impl Clone for NotaryPublicKey"],["impl Clone for MerkleRoot"],["impl Clone for CommitmentOpening"],["impl Clone for HandshakeSummary"],["impl Clone for TranscriptSlice"],["impl Clone for Blake3Opening"],["impl Clone for Signature"],["impl Clone for CommitmentKind"],["impl Clone for Direction"],["impl Clone for MerkleProof"],["impl Clone for Blake3Commitment"],["impl Clone for Transcript"],["impl Clone for SessionHeader"],["impl Clone for TranscriptCommitments"],["impl Clone for MerkleTree"],["impl Clone for Commitment"],["impl Clone for ServerName"],["impl Clone for CommitmentInfo"]], +"tlsn_notary":[["impl Clone for NotaryConfigBuilder"],["impl Clone for NotaryConfig"]], +"tlsn_prover":[["impl Clone for ProverConfig"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.Eq.js b/implementors/core/cmp/trait.Eq.js index 7add0275ec..5c0ef3acbc 100644 --- a/implementors/core/cmp/trait.Eq.js +++ b/implementors/core/cmp/trait.Eq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"tlsn_core":[["impl Eq for ServerName"],["impl Eq for Direction"],["impl Eq for CommitmentInfo"],["impl Eq for MerkleRoot"],["impl Eq for CommitmentKind"],["impl Eq for CommitmentId"]] +"tlsn_core":[["impl Eq for CommitmentInfo"],["impl Eq for ServerName"],["impl Eq for Direction"],["impl Eq for MerkleRoot"],["impl Eq for CommitmentKind"],["impl Eq for CommitmentId"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.Ord.js b/implementors/core/cmp/trait.Ord.js index 369b99fae1..887cf1b96f 100644 --- a/implementors/core/cmp/trait.Ord.js +++ b/implementors/core/cmp/trait.Ord.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"tlsn_core":[["impl Ord for CommitmentId"]] +"tlsn_core":[["impl Ord for CommitmentId"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.PartialEq.js b/implementors/core/cmp/trait.PartialEq.js index a5ce02a993..c87d35ed48 100644 --- a/implementors/core/cmp/trait.PartialEq.js +++ b/implementors/core/cmp/trait.PartialEq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"tlsn_core":[["impl PartialEq<ServerName> for ServerName"],["impl PartialEq<CommitmentId> for CommitmentId"],["impl PartialEq<MerkleError> for MerkleError"],["impl PartialEq<CommitmentKind> for CommitmentKind"],["impl PartialEq<CommitmentInfo> for CommitmentInfo"],["impl PartialEq<TranscriptSlice> for TranscriptSlice"],["impl PartialEq<MerkleRoot> for MerkleRoot"],["impl PartialEq<Direction> for Direction"]] +"tlsn_core":[["impl PartialEq<CommitmentId> for CommitmentId"],["impl PartialEq<TranscriptSlice> for TranscriptSlice"],["impl PartialEq<MerkleRoot> for MerkleRoot"],["impl PartialEq<MerkleError> for MerkleError"],["impl PartialEq<Direction> for Direction"],["impl PartialEq<ServerName> for ServerName"],["impl PartialEq<CommitmentKind> for CommitmentKind"],["impl PartialEq<CommitmentInfo> for CommitmentInfo"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.PartialOrd.js b/implementors/core/cmp/trait.PartialOrd.js index b7ea0bd5be..4b0e9c1a7b 100644 --- a/implementors/core/cmp/trait.PartialOrd.js +++ b/implementors/core/cmp/trait.PartialOrd.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"tlsn_core":[["impl PartialOrd<CommitmentId> for CommitmentId"]] +"tlsn_core":[["impl PartialOrd<CommitmentId> for CommitmentId"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/convert/trait.AsRef.js b/implementors/core/convert/trait.AsRef.js index 0d1d3b004a..a768b4b4fd 100644 --- a/implementors/core/convert/trait.AsRef.js +++ b/implementors/core/convert/trait.AsRef.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"tlsn_core":[["impl AsRef<str> for ServerName"]] +"tlsn_core":[["impl AsRef<str> for ServerName"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/convert/trait.From.js b/implementors/core/convert/trait.From.js index f2148dc7fe..28479e38a2 100644 --- a/implementors/core/convert/trait.From.js +++ b/implementors/core/convert/trait.From.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"tlsn_core":[["impl From<Blake3Commitment> for Commitment"],["impl From<Signature<NistP256>> for Signature"],["impl From<[u8; 32]> for MerkleRoot"],["impl From<PublicKey<NistP256>> for NotaryPublicKey"],["impl From<Blake3Opening> for CommitmentOpening"]], -"tlsn_notary":[["impl From<MuxerError> for NotaryError"],["impl From<MpcTlsError> for NotaryError"],["impl From<SenderActorError> for NotaryError"],["impl From<OTError> for NotaryError"],["impl From<ReceiverActorError> for NotaryError"],["impl From<String> for NotaryConfigBuilderError"],["impl From<Error> for NotaryError"],["impl From<UninitializedFieldError> for NotaryConfigBuilderError"]], -"tlsn_prover":[["impl From<MuxerError> for ProverError"],["impl From<MerkleError> for ProverError"],["impl From<ConnectionError> for ProverError"],["impl From<ReceiverActorError> for ProverError"],["impl From<OTError> for ProverError"],["impl From<Closed> for Notarize"],["impl From<MpcTlsError> for ProverError"],["impl From<Error> for ProverError"],["impl From<SenderActorError> for ProverError"],["impl From<Error> for ProverError"],["impl From<InvalidDnsNameError> for ProverError"],["impl From<TranscriptCommitmentBuilderError> for ProverError"]] +"tlsn_core":[["impl From<Blake3Commitment> for Commitment"],["impl From<Signature<NistP256>> for Signature"],["impl From<Blake3Opening> for CommitmentOpening"],["impl From<PublicKey<NistP256>> for NotaryPublicKey"],["impl From<[u8; 32]> for MerkleRoot"]], +"tlsn_notary":[["impl From<SenderActorError> for NotaryError"],["impl From<ReceiverActorError> for NotaryError"],["impl From<OTError> for NotaryError"],["impl From<MuxerError> for NotaryError"],["impl From<MpcTlsError> for NotaryError"],["impl From<String> for NotaryConfigBuilderError"],["impl From<UninitializedFieldError> for NotaryConfigBuilderError"],["impl From<Error> for NotaryError"]], +"tlsn_prover":[["impl From<Error> for ProverError"],["impl From<TranscriptCommitmentBuilderError> for ProverError"],["impl From<ConnectionError> for ProverError"],["impl From<Closed> for Notarize"],["impl From<MuxerError> for ProverError"],["impl From<MpcTlsError> for ProverError"],["impl From<MerkleError> for ProverError"],["impl From<ReceiverActorError> for ProverError"],["impl From<Error> for ProverError"],["impl From<OTError> for ProverError"],["impl From<SenderActorError> for ProverError"],["impl From<InvalidDnsNameError> for ProverError"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/default/trait.Default.js b/implementors/core/default/trait.Default.js index 1c6cc5d293..c899025f36 100644 --- a/implementors/core/default/trait.Default.js +++ b/implementors/core/default/trait.Default.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"tlsn_core":[["impl Default for TranscriptSlice"],["impl Default for MerkleTree"],["impl Default for Transcript"]], -"tlsn_notary":[["impl Default for NotaryConfigBuilder"]] +"tlsn_core":[["impl Default for Transcript"],["impl Default for MerkleTree"],["impl Default for TranscriptSlice"]], +"tlsn_notary":[["impl Default for NotaryConfigBuilder"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/error/trait.Error.js b/implementors/core/error/trait.Error.js index a33377c017..8ac9155865 100644 --- a/implementors/core/error/trait.Error.js +++ b/implementors/core/error/trait.Error.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"tlsn_core":[["impl Error for SubstringsProofBuilderError"],["impl Error for MerkleError"],["impl Error for SessionHeaderVerifyError"],["impl Error for HandshakeVerifyError"],["impl Error for SubstringsProofError"],["impl Error for TranscriptCommitmentBuilderError"]], -"tlsn_notary":[["impl Error for NotaryError"],["impl Error for NotaryConfigBuilderError"]], -"tlsn_prover":[["impl Error for ProverError"]] +"tlsn_core":[["impl Error for SessionHeaderVerifyError"],["impl Error for SubstringsProofError"],["impl Error for MerkleError"],["impl Error for TranscriptCommitmentBuilderError"],["impl Error for SubstringsProofBuilderError"],["impl Error for HandshakeVerifyError"]], +"tlsn_notary":[["impl Error for NotaryError"],["impl Error for NotaryConfigBuilderError"]], +"tlsn_prover":[["impl Error for ProverError"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/fmt/trait.Debug.js b/implementors/core/fmt/trait.Debug.js index 2ea07acc85..28bdf60abb 100644 --- a/implementors/core/fmt/trait.Debug.js +++ b/implementors/core/fmt/trait.Debug.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"tlsn_core":[["impl Debug for Transcript"],["impl Debug for TlsnMessage"],["impl Debug for MerkleError"],["impl Debug for CommitmentKind"],["impl Debug for SessionProof"],["impl Debug for SubstringsProofBuilder<'_>"],["impl Debug for TranscriptCommitments"],["impl Debug for SubstringsProofBuilderError"],["impl Debug for TlsProof"],["impl Debug for SubstringsProof"],["impl Debug for CommitmentInfo"],["impl Debug for TranscriptSlice"],["impl Debug for SessionHeader"],["impl Debug for NotaryPublicKey"],["impl Debug for TranscriptCommitmentBuilderError"],["impl Debug for SubstringsProofError"],["impl Debug for SessionHeaderVerifyError"],["impl Debug for Direction"],["impl Debug for MerkleRoot"],["impl Debug for CommitmentId"],["impl Debug for Blake3Commitment"],["impl Debug for Signature"],["impl Debug for HandshakeVerifyError"],["impl Debug for RedactedTranscript"],["impl Debug for ServerName"],["impl Debug for SignedSessionHeader"],["impl Debug for HandshakeSummary"],["impl Debug for SessionData"],["impl Debug for TranscriptCommitmentBuilder"]], -"tlsn_notary":[["impl Debug for NotaryError"],["impl Debug for NotaryConfig"],["impl Debug for NotaryConfigBuilderError"]], -"tlsn_prover":[["impl Debug for Setup"],["impl<T: Debug + ProverState> Debug for Prover<T>"],["impl Debug for Notarize"],["impl Debug for ProverConfig"],["impl Debug for ProverError"],["impl Debug for Initialized"],["impl Debug for Closed"]] +"tlsn_core":[["impl Debug for TranscriptCommitmentBuilder"],["impl Debug for SessionHeader"],["impl Debug for Transcript"],["impl Debug for HandshakeVerifyError"],["impl Debug for RedactedTranscript"],["impl Debug for NotaryPublicKey"],["impl Debug for SubstringsProofError"],["impl Debug for SubstringsProofBuilder<'_>"],["impl Debug for SubstringsProofBuilderError"],["impl Debug for Direction"],["impl Debug for MerkleRoot"],["impl Debug for SessionProof"],["impl Debug for TlsProof"],["impl Debug for SessionHeaderVerifyError"],["impl Debug for Signature"],["impl Debug for TlsnMessage"],["impl Debug for Blake3Commitment"],["impl Debug for SignedSessionHeader"],["impl Debug for TranscriptCommitmentBuilderError"],["impl Debug for CommitmentKind"],["impl Debug for MerkleError"],["impl Debug for CommitmentInfo"],["impl Debug for SubstringsProof"],["impl Debug for HandshakeSummary"],["impl Debug for CommitmentId"],["impl Debug for ServerName"],["impl Debug for SessionData"],["impl Debug for TranscriptSlice"],["impl Debug for TranscriptCommitments"]], +"tlsn_notary":[["impl Debug for NotaryConfig"],["impl Debug for NotaryError"],["impl Debug for NotaryConfigBuilderError"]], +"tlsn_prover":[["impl<T: Debug + ProverState> Debug for Prover<T>"],["impl Debug for ProverError"],["impl Debug for Initialized"],["impl Debug for Closed"],["impl Debug for Setup"],["impl Debug for Notarize"],["impl Debug for ProverConfig"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/fmt/trait.Display.js b/implementors/core/fmt/trait.Display.js index 5fb470da17..c4ac6ce09b 100644 --- a/implementors/core/fmt/trait.Display.js +++ b/implementors/core/fmt/trait.Display.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"tlsn_core":[["impl Display for MerkleError"],["impl Display for SubstringsProofError"],["impl Display for TranscriptCommitmentBuilderError"],["impl Display for HandshakeVerifyError"],["impl Display for SessionHeaderVerifyError"],["impl Display for SubstringsProofBuilderError"]], -"tlsn_notary":[["impl Display for NotaryConfigBuilderError"],["impl Display for NotaryError"]], -"tlsn_prover":[["impl Display for ProverError"]] +"tlsn_core":[["impl Display for TranscriptCommitmentBuilderError"],["impl Display for HandshakeVerifyError"],["impl Display for SubstringsProofError"],["impl Display for MerkleError"],["impl Display for SessionHeaderVerifyError"],["impl Display for SubstringsProofBuilderError"]], +"tlsn_notary":[["impl Display for NotaryConfigBuilderError"],["impl Display for NotaryError"]], +"tlsn_prover":[["impl Display for ProverError"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/future/future/trait.Future.js b/implementors/core/future/future/trait.Future.js index 6930496057..43dc4c010f 100644 --- a/implementors/core/future/future/trait.Future.js +++ b/implementors/core/future/future/trait.Future.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"tlsn_notary":[["impl Future for NotaryBackgroundFut"]], -"tlsn_prover":[["impl Future for ProverFuture"]] +"tlsn_notary":[["impl Future for NotaryBackgroundFut"]], +"tlsn_prover":[["impl Future for ProverFuture"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/hash/trait.Hash.js b/implementors/core/hash/trait.Hash.js index 786314439c..356a964cc1 100644 --- a/implementors/core/hash/trait.Hash.js +++ b/implementors/core/hash/trait.Hash.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"tlsn_core":[["impl Hash for CommitmentId"],["impl Hash for CommitmentInfo"],["impl Hash for CommitmentKind"],["impl Hash for Direction"],["impl Hash for ServerName"]] +"tlsn_core":[["impl Hash for CommitmentInfo"],["impl Hash for CommitmentId"],["impl Hash for Direction"],["impl Hash for ServerName"],["impl Hash for CommitmentKind"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Copy.js b/implementors/core/marker/trait.Copy.js index fa83361d4b..04e6c8db41 100644 --- a/implementors/core/marker/trait.Copy.js +++ b/implementors/core/marker/trait.Copy.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"tlsn_core":[["impl Copy for MerkleRoot"],["impl Copy for Direction"],["impl Copy for CommitmentKind"],["impl Copy for CommitmentId"],["impl Copy for Blake3Commitment"]] +"tlsn_core":[["impl Copy for MerkleRoot"],["impl Copy for CommitmentKind"],["impl Copy for Blake3Commitment"],["impl Copy for CommitmentId"],["impl Copy for Direction"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Freeze.js b/implementors/core/marker/trait.Freeze.js index 58833459fa..90f2aa8519 100644 --- a/implementors/core/marker/trait.Freeze.js +++ b/implementors/core/marker/trait.Freeze.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"tlsn_core":[["impl Freeze for Blake3Commitment",1,["tlsn_core::commitment::blake3::Blake3Commitment"]],["impl Freeze for Blake3Opening",1,["tlsn_core::commitment::blake3::Blake3Opening"]],["impl Freeze for TranscriptCommitmentBuilderError",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilderError"]],["impl Freeze for TranscriptCommitmentBuilder",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilder"]],["impl Freeze for CommitmentId",1,["tlsn_core::commitment::CommitmentId"]],["impl Freeze for CommitmentInfo",1,["tlsn_core::commitment::CommitmentInfo"]],["impl Freeze for Commitment",1,["tlsn_core::commitment::Commitment"]],["impl Freeze for CommitmentKind",1,["tlsn_core::commitment::CommitmentKind"]],["impl Freeze for CommitmentOpening",1,["tlsn_core::commitment::CommitmentOpening"]],["impl Freeze for TranscriptCommitments",1,["tlsn_core::commitment::TranscriptCommitments"]],["impl Freeze for MerkleRoot",1,["tlsn_core::merkle::MerkleRoot"]],["impl Freeze for MerkleError",1,["tlsn_core::merkle::MerkleError"]],["impl Freeze for MerkleProof",1,["tlsn_core::merkle::MerkleProof"]],["impl Freeze for MerkleTree",1,["tlsn_core::merkle::MerkleTree"]],["impl Freeze for TlsnMessage",1,["tlsn_core::msg::TlsnMessage"]],["impl Freeze for SignedSessionHeader",1,["tlsn_core::msg::SignedSessionHeader"]],["impl Freeze for SubstringsProofBuilderError",1,["tlsn_core::proof::substrings::SubstringsProofBuilderError"]],["impl<'a> Freeze for SubstringsProofBuilder<'a>",1,["tlsn_core::proof::substrings::SubstringsProofBuilder"]],["impl Freeze for SubstringsProofError",1,["tlsn_core::proof::substrings::SubstringsProofError"]],["impl Freeze for SubstringsProof",1,["tlsn_core::proof::substrings::SubstringsProof"]],["impl Freeze for TlsProof",1,["tlsn_core::proof::tls::TlsProof"]],["impl Freeze for SessionProof",1,["tlsn_core::proof::tls::SessionProof"]],["impl !Freeze for SessionData",1,["tlsn_core::session::data::SessionData"]],["impl Freeze for HandshakeVerifyError",1,["tlsn_core::session::handshake::HandshakeVerifyError"]],["impl Freeze for HandshakeSummary",1,["tlsn_core::session::handshake::HandshakeSummary"]],["impl Freeze for SessionHeaderVerifyError",1,["tlsn_core::session::header::SessionHeaderVerifyError"]],["impl Freeze for SessionHeader",1,["tlsn_core::session::header::SessionHeader"]],["impl !Freeze for NotarizedSession",1,["tlsn_core::session::NotarizedSession"]],["impl Freeze for NotaryPublicKey",1,["tlsn_core::signature::NotaryPublicKey"]],["impl Freeze for Signature",1,["tlsn_core::signature::Signature"]],["impl !Freeze for Transcript",1,["tlsn_core::transcript::Transcript"]],["impl Freeze for RedactedTranscript",1,["tlsn_core::transcript::RedactedTranscript"]],["impl Freeze for TranscriptSlice",1,["tlsn_core::transcript::TranscriptSlice"]],["impl Freeze for Direction",1,["tlsn_core::transcript::Direction"]],["impl Freeze for ServerName",1,["tlsn_core::ServerName"]]], +"tlsn_core":[["impl Freeze for Blake3Commitment",1,["tlsn_core::commitment::blake3::Blake3Commitment"]],["impl Freeze for Blake3Opening",1,["tlsn_core::commitment::blake3::Blake3Opening"]],["impl Freeze for TranscriptCommitmentBuilderError",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilderError"]],["impl Freeze for TranscriptCommitmentBuilder",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilder"]],["impl Freeze for CommitmentId",1,["tlsn_core::commitment::CommitmentId"]],["impl Freeze for CommitmentInfo",1,["tlsn_core::commitment::CommitmentInfo"]],["impl Freeze for Commitment",1,["tlsn_core::commitment::Commitment"]],["impl Freeze for CommitmentKind",1,["tlsn_core::commitment::CommitmentKind"]],["impl Freeze for CommitmentOpening",1,["tlsn_core::commitment::CommitmentOpening"]],["impl Freeze for TranscriptCommitments",1,["tlsn_core::commitment::TranscriptCommitments"]],["impl Freeze for TestData",1,["tlsn_core::fixtures::cert::TestData"]],["impl Freeze for MerkleRoot",1,["tlsn_core::merkle::MerkleRoot"]],["impl Freeze for MerkleError",1,["tlsn_core::merkle::MerkleError"]],["impl Freeze for MerkleProof",1,["tlsn_core::merkle::MerkleProof"]],["impl Freeze for MerkleTree",1,["tlsn_core::merkle::MerkleTree"]],["impl Freeze for TlsnMessage",1,["tlsn_core::msg::TlsnMessage"]],["impl Freeze for SignedSessionHeader",1,["tlsn_core::msg::SignedSessionHeader"]],["impl Freeze for SubstringsProofBuilderError",1,["tlsn_core::proof::substrings::SubstringsProofBuilderError"]],["impl<'a> Freeze for SubstringsProofBuilder<'a>",1,["tlsn_core::proof::substrings::SubstringsProofBuilder"]],["impl Freeze for SubstringsProofError",1,["tlsn_core::proof::substrings::SubstringsProofError"]],["impl Freeze for SubstringsProof",1,["tlsn_core::proof::substrings::SubstringsProof"]],["impl Freeze for TlsProof",1,["tlsn_core::proof::tls::TlsProof"]],["impl Freeze for SessionProof",1,["tlsn_core::proof::tls::SessionProof"]],["impl !Freeze for SessionData",1,["tlsn_core::session::data::SessionData"]],["impl Freeze for HandshakeVerifyError",1,["tlsn_core::session::handshake::HandshakeVerifyError"]],["impl Freeze for HandshakeSummary",1,["tlsn_core::session::handshake::HandshakeSummary"]],["impl Freeze for SessionHeaderVerifyError",1,["tlsn_core::session::header::SessionHeaderVerifyError"]],["impl Freeze for SessionHeader",1,["tlsn_core::session::header::SessionHeader"]],["impl !Freeze for NotarizedSession",1,["tlsn_core::session::NotarizedSession"]],["impl Freeze for NotaryPublicKey",1,["tlsn_core::signature::NotaryPublicKey"]],["impl Freeze for Signature",1,["tlsn_core::signature::Signature"]],["impl !Freeze for Transcript",1,["tlsn_core::transcript::Transcript"]],["impl Freeze for RedactedTranscript",1,["tlsn_core::transcript::RedactedTranscript"]],["impl Freeze for TranscriptSlice",1,["tlsn_core::transcript::TranscriptSlice"]],["impl Freeze for Direction",1,["tlsn_core::transcript::Direction"]],["impl Freeze for ServerName",1,["tlsn_core::ServerName"]]], "tlsn_notary":[["impl Freeze for NotaryConfig",1,["tlsn_notary::config::NotaryConfig"]],["impl Freeze for NotaryConfigBuilder",1,["tlsn_notary::config::NotaryConfigBuilder"]],["impl Freeze for NotaryConfigBuilderError",1,["tlsn_notary::config::NotaryConfigBuilderError"]],["impl Freeze for NotaryError",1,["tlsn_notary::error::NotaryError"]],["impl Freeze for NotaryBackgroundFut",1,["tlsn_notary::NotaryBackgroundFut"]],["impl Freeze for Notary",1,["tlsn_notary::Notary"]]], "tlsn_prover":[["impl Freeze for ProverConfig",1,["tlsn_prover::config::ProverConfig"]],["impl Freeze for ProverError",1,["tlsn_prover::error::ProverError"]],["impl Freeze for Initialized",1,["tlsn_prover::state::Initialized"]],["impl Freeze for Setup",1,["tlsn_prover::state::Setup"]],["impl !Freeze for Closed",1,["tlsn_prover::state::Closed"]],["impl !Freeze for Notarize",1,["tlsn_prover::state::Notarize"]],["impl Freeze for ProverFuture",1,["tlsn_prover::ProverFuture"]],["impl<T> Freeze for Prover<T>where\n T: Freeze,",1,["tlsn_prover::Prover"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Send.js b/implementors/core/marker/trait.Send.js index cb32fdf174..79916c9544 100644 --- a/implementors/core/marker/trait.Send.js +++ b/implementors/core/marker/trait.Send.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"tlsn_core":[["impl Send for Blake3Commitment",1,["tlsn_core::commitment::blake3::Blake3Commitment"]],["impl Send for Blake3Opening",1,["tlsn_core::commitment::blake3::Blake3Opening"]],["impl Send for TranscriptCommitmentBuilderError",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilderError"]],["impl Send for TranscriptCommitmentBuilder",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilder"]],["impl Send for CommitmentId",1,["tlsn_core::commitment::CommitmentId"]],["impl Send for CommitmentInfo",1,["tlsn_core::commitment::CommitmentInfo"]],["impl Send for Commitment",1,["tlsn_core::commitment::Commitment"]],["impl Send for CommitmentKind",1,["tlsn_core::commitment::CommitmentKind"]],["impl Send for CommitmentOpening",1,["tlsn_core::commitment::CommitmentOpening"]],["impl Send for TranscriptCommitments",1,["tlsn_core::commitment::TranscriptCommitments"]],["impl Send for MerkleRoot",1,["tlsn_core::merkle::MerkleRoot"]],["impl Send for MerkleError",1,["tlsn_core::merkle::MerkleError"]],["impl Send for MerkleProof",1,["tlsn_core::merkle::MerkleProof"]],["impl Send for MerkleTree",1,["tlsn_core::merkle::MerkleTree"]],["impl Send for TlsnMessage",1,["tlsn_core::msg::TlsnMessage"]],["impl Send for SignedSessionHeader",1,["tlsn_core::msg::SignedSessionHeader"]],["impl Send for SubstringsProofBuilderError",1,["tlsn_core::proof::substrings::SubstringsProofBuilderError"]],["impl<'a> Send for SubstringsProofBuilder<'a>",1,["tlsn_core::proof::substrings::SubstringsProofBuilder"]],["impl Send for SubstringsProofError",1,["tlsn_core::proof::substrings::SubstringsProofError"]],["impl Send for SubstringsProof",1,["tlsn_core::proof::substrings::SubstringsProof"]],["impl Send for TlsProof",1,["tlsn_core::proof::tls::TlsProof"]],["impl Send for SessionProof",1,["tlsn_core::proof::tls::SessionProof"]],["impl Send for SessionData",1,["tlsn_core::session::data::SessionData"]],["impl Send for HandshakeVerifyError",1,["tlsn_core::session::handshake::HandshakeVerifyError"]],["impl Send for HandshakeSummary",1,["tlsn_core::session::handshake::HandshakeSummary"]],["impl Send for SessionHeaderVerifyError",1,["tlsn_core::session::header::SessionHeaderVerifyError"]],["impl Send for SessionHeader",1,["tlsn_core::session::header::SessionHeader"]],["impl Send for NotarizedSession",1,["tlsn_core::session::NotarizedSession"]],["impl Send for NotaryPublicKey",1,["tlsn_core::signature::NotaryPublicKey"]],["impl Send for Signature",1,["tlsn_core::signature::Signature"]],["impl Send for Transcript",1,["tlsn_core::transcript::Transcript"]],["impl Send for RedactedTranscript",1,["tlsn_core::transcript::RedactedTranscript"]],["impl Send for TranscriptSlice",1,["tlsn_core::transcript::TranscriptSlice"]],["impl Send for Direction",1,["tlsn_core::transcript::Direction"]],["impl Send for ServerName",1,["tlsn_core::ServerName"]]], -"tlsn_notary":[["impl Send for NotaryConfig",1,["tlsn_notary::config::NotaryConfig"]],["impl Send for NotaryConfigBuilder",1,["tlsn_notary::config::NotaryConfigBuilder"]],["impl Send for NotaryConfigBuilderError",1,["tlsn_notary::config::NotaryConfigBuilderError"]],["impl Send for NotaryError",1,["tlsn_notary::error::NotaryError"]],["impl Send for NotaryBackgroundFut",1,["tlsn_notary::NotaryBackgroundFut"]],["impl Send for Notary",1,["tlsn_notary::Notary"]]], -"tlsn_prover":[["impl Send for ProverConfig",1,["tlsn_prover::config::ProverConfig"]],["impl Send for ProverError",1,["tlsn_prover::error::ProverError"]],["impl Send for Initialized",1,["tlsn_prover::state::Initialized"]],["impl Send for Setup",1,["tlsn_prover::state::Setup"]],["impl Send for Closed",1,["tlsn_prover::state::Closed"]],["impl Send for Notarize",1,["tlsn_prover::state::Notarize"]],["impl Send for ProverFuture",1,["tlsn_prover::ProverFuture"]],["impl<T> Send for Prover<T>where\n T: Send,",1,["tlsn_prover::Prover"]]] +"tlsn_core":[["impl Send for Blake3Commitment",1,["tlsn_core::commitment::blake3::Blake3Commitment"]],["impl Send for Blake3Opening",1,["tlsn_core::commitment::blake3::Blake3Opening"]],["impl Send for TranscriptCommitmentBuilderError",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilderError"]],["impl Send for TranscriptCommitmentBuilder",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilder"]],["impl Send for CommitmentId",1,["tlsn_core::commitment::CommitmentId"]],["impl Send for CommitmentInfo",1,["tlsn_core::commitment::CommitmentInfo"]],["impl Send for Commitment",1,["tlsn_core::commitment::Commitment"]],["impl Send for CommitmentKind",1,["tlsn_core::commitment::CommitmentKind"]],["impl Send for CommitmentOpening",1,["tlsn_core::commitment::CommitmentOpening"]],["impl Send for TranscriptCommitments",1,["tlsn_core::commitment::TranscriptCommitments"]],["impl Send for TestData",1,["tlsn_core::fixtures::cert::TestData"]],["impl Send for MerkleRoot",1,["tlsn_core::merkle::MerkleRoot"]],["impl Send for MerkleError",1,["tlsn_core::merkle::MerkleError"]],["impl Send for MerkleProof",1,["tlsn_core::merkle::MerkleProof"]],["impl Send for MerkleTree",1,["tlsn_core::merkle::MerkleTree"]],["impl Send for TlsnMessage",1,["tlsn_core::msg::TlsnMessage"]],["impl Send for SignedSessionHeader",1,["tlsn_core::msg::SignedSessionHeader"]],["impl Send for SubstringsProofBuilderError",1,["tlsn_core::proof::substrings::SubstringsProofBuilderError"]],["impl<'a> Send for SubstringsProofBuilder<'a>",1,["tlsn_core::proof::substrings::SubstringsProofBuilder"]],["impl Send for SubstringsProofError",1,["tlsn_core::proof::substrings::SubstringsProofError"]],["impl Send for SubstringsProof",1,["tlsn_core::proof::substrings::SubstringsProof"]],["impl Send for TlsProof",1,["tlsn_core::proof::tls::TlsProof"]],["impl Send for SessionProof",1,["tlsn_core::proof::tls::SessionProof"]],["impl Send for SessionData",1,["tlsn_core::session::data::SessionData"]],["impl Send for HandshakeVerifyError",1,["tlsn_core::session::handshake::HandshakeVerifyError"]],["impl Send for HandshakeSummary",1,["tlsn_core::session::handshake::HandshakeSummary"]],["impl Send for SessionHeaderVerifyError",1,["tlsn_core::session::header::SessionHeaderVerifyError"]],["impl Send for SessionHeader",1,["tlsn_core::session::header::SessionHeader"]],["impl Send for NotarizedSession",1,["tlsn_core::session::NotarizedSession"]],["impl Send for NotaryPublicKey",1,["tlsn_core::signature::NotaryPublicKey"]],["impl Send for Signature",1,["tlsn_core::signature::Signature"]],["impl Send for Transcript",1,["tlsn_core::transcript::Transcript"]],["impl Send for RedactedTranscript",1,["tlsn_core::transcript::RedactedTranscript"]],["impl Send for TranscriptSlice",1,["tlsn_core::transcript::TranscriptSlice"]],["impl Send for Direction",1,["tlsn_core::transcript::Direction"]],["impl Send for ServerName",1,["tlsn_core::ServerName"]]], +"tlsn_notary":[["impl Send for NotaryConfig",1,["tlsn_notary::config::NotaryConfig"]],["impl Send for NotaryConfigBuilder",1,["tlsn_notary::config::NotaryConfigBuilder"]],["impl Send for NotaryConfigBuilderError",1,["tlsn_notary::config::NotaryConfigBuilderError"]],["impl Send for NotaryError",1,["tlsn_notary::error::NotaryError"]],["impl Send for NotaryBackgroundFut",1,["tlsn_notary::NotaryBackgroundFut"]],["impl Send for Notary",1,["tlsn_notary::Notary"]]], +"tlsn_prover":[["impl Send for ProverConfig",1,["tlsn_prover::config::ProverConfig"]],["impl Send for ProverError",1,["tlsn_prover::error::ProverError"]],["impl Send for Initialized",1,["tlsn_prover::state::Initialized"]],["impl Send for Setup",1,["tlsn_prover::state::Setup"]],["impl Send for Closed",1,["tlsn_prover::state::Closed"]],["impl Send for Notarize",1,["tlsn_prover::state::Notarize"]],["impl Send for ProverFuture",1,["tlsn_prover::ProverFuture"]],["impl<T> Send for Prover<T>where\n T: Send,",1,["tlsn_prover::Prover"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.StructuralEq.js b/implementors/core/marker/trait.StructuralEq.js index 780ee931db..58afbca98e 100644 --- a/implementors/core/marker/trait.StructuralEq.js +++ b/implementors/core/marker/trait.StructuralEq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"tlsn_core":[["impl StructuralEq for CommitmentId"],["impl StructuralEq for MerkleRoot"],["impl StructuralEq for CommitmentInfo"],["impl StructuralEq for Direction"],["impl StructuralEq for CommitmentKind"],["impl StructuralEq for ServerName"]] +"tlsn_core":[["impl StructuralEq for CommitmentInfo"],["impl StructuralEq for CommitmentId"],["impl StructuralEq for CommitmentKind"],["impl StructuralEq for ServerName"],["impl StructuralEq for MerkleRoot"],["impl StructuralEq for Direction"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.StructuralPartialEq.js b/implementors/core/marker/trait.StructuralPartialEq.js index b360c65273..a76e973493 100644 --- a/implementors/core/marker/trait.StructuralPartialEq.js +++ b/implementors/core/marker/trait.StructuralPartialEq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"tlsn_core":[["impl StructuralPartialEq for TranscriptSlice"],["impl StructuralPartialEq for CommitmentInfo"],["impl StructuralPartialEq for MerkleError"],["impl StructuralPartialEq for CommitmentKind"],["impl StructuralPartialEq for CommitmentId"],["impl StructuralPartialEq for ServerName"],["impl StructuralPartialEq for MerkleRoot"],["impl StructuralPartialEq for Direction"]] +"tlsn_core":[["impl StructuralPartialEq for MerkleError"],["impl StructuralPartialEq for CommitmentKind"],["impl StructuralPartialEq for ServerName"],["impl StructuralPartialEq for CommitmentInfo"],["impl StructuralPartialEq for TranscriptSlice"],["impl StructuralPartialEq for CommitmentId"],["impl StructuralPartialEq for Direction"],["impl StructuralPartialEq for MerkleRoot"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Sync.js b/implementors/core/marker/trait.Sync.js index 2ff21705d3..a540d4d96a 100644 --- a/implementors/core/marker/trait.Sync.js +++ b/implementors/core/marker/trait.Sync.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"tlsn_core":[["impl Sync for Blake3Commitment",1,["tlsn_core::commitment::blake3::Blake3Commitment"]],["impl Sync for Blake3Opening",1,["tlsn_core::commitment::blake3::Blake3Opening"]],["impl Sync for TranscriptCommitmentBuilderError",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilderError"]],["impl !Sync for TranscriptCommitmentBuilder",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilder"]],["impl Sync for CommitmentId",1,["tlsn_core::commitment::CommitmentId"]],["impl Sync for CommitmentInfo",1,["tlsn_core::commitment::CommitmentInfo"]],["impl Sync for Commitment",1,["tlsn_core::commitment::Commitment"]],["impl Sync for CommitmentKind",1,["tlsn_core::commitment::CommitmentKind"]],["impl Sync for CommitmentOpening",1,["tlsn_core::commitment::CommitmentOpening"]],["impl Sync for TranscriptCommitments",1,["tlsn_core::commitment::TranscriptCommitments"]],["impl Sync for MerkleRoot",1,["tlsn_core::merkle::MerkleRoot"]],["impl Sync for MerkleError",1,["tlsn_core::merkle::MerkleError"]],["impl Sync for MerkleProof",1,["tlsn_core::merkle::MerkleProof"]],["impl Sync for MerkleTree",1,["tlsn_core::merkle::MerkleTree"]],["impl Sync for TlsnMessage",1,["tlsn_core::msg::TlsnMessage"]],["impl Sync for SignedSessionHeader",1,["tlsn_core::msg::SignedSessionHeader"]],["impl Sync for SubstringsProofBuilderError",1,["tlsn_core::proof::substrings::SubstringsProofBuilderError"]],["impl<'a> Sync for SubstringsProofBuilder<'a>",1,["tlsn_core::proof::substrings::SubstringsProofBuilder"]],["impl Sync for SubstringsProofError",1,["tlsn_core::proof::substrings::SubstringsProofError"]],["impl Sync for SubstringsProof",1,["tlsn_core::proof::substrings::SubstringsProof"]],["impl Sync for TlsProof",1,["tlsn_core::proof::tls::TlsProof"]],["impl Sync for SessionProof",1,["tlsn_core::proof::tls::SessionProof"]],["impl Sync for SessionData",1,["tlsn_core::session::data::SessionData"]],["impl Sync for HandshakeVerifyError",1,["tlsn_core::session::handshake::HandshakeVerifyError"]],["impl Sync for HandshakeSummary",1,["tlsn_core::session::handshake::HandshakeSummary"]],["impl Sync for SessionHeaderVerifyError",1,["tlsn_core::session::header::SessionHeaderVerifyError"]],["impl Sync for SessionHeader",1,["tlsn_core::session::header::SessionHeader"]],["impl Sync for NotarizedSession",1,["tlsn_core::session::NotarizedSession"]],["impl Sync for NotaryPublicKey",1,["tlsn_core::signature::NotaryPublicKey"]],["impl Sync for Signature",1,["tlsn_core::signature::Signature"]],["impl Sync for Transcript",1,["tlsn_core::transcript::Transcript"]],["impl Sync for RedactedTranscript",1,["tlsn_core::transcript::RedactedTranscript"]],["impl Sync for TranscriptSlice",1,["tlsn_core::transcript::TranscriptSlice"]],["impl Sync for Direction",1,["tlsn_core::transcript::Direction"]],["impl Sync for ServerName",1,["tlsn_core::ServerName"]]], -"tlsn_notary":[["impl Sync for NotaryConfig",1,["tlsn_notary::config::NotaryConfig"]],["impl Sync for NotaryConfigBuilder",1,["tlsn_notary::config::NotaryConfigBuilder"]],["impl Sync for NotaryConfigBuilderError",1,["tlsn_notary::config::NotaryConfigBuilderError"]],["impl !Sync for NotaryError",1,["tlsn_notary::error::NotaryError"]],["impl !Sync for NotaryBackgroundFut",1,["tlsn_notary::NotaryBackgroundFut"]],["impl Sync for Notary",1,["tlsn_notary::Notary"]]], -"tlsn_prover":[["impl Sync for ProverConfig",1,["tlsn_prover::config::ProverConfig"]],["impl !Sync for ProverError",1,["tlsn_prover::error::ProverError"]],["impl Sync for Initialized",1,["tlsn_prover::state::Initialized"]],["impl !Sync for Setup",1,["tlsn_prover::state::Setup"]],["impl !Sync for Closed",1,["tlsn_prover::state::Closed"]],["impl !Sync for Notarize",1,["tlsn_prover::state::Notarize"]],["impl !Sync for ProverFuture",1,["tlsn_prover::ProverFuture"]],["impl<T> Sync for Prover<T>where\n T: Sync,",1,["tlsn_prover::Prover"]]] +"tlsn_core":[["impl Sync for Blake3Commitment",1,["tlsn_core::commitment::blake3::Blake3Commitment"]],["impl Sync for Blake3Opening",1,["tlsn_core::commitment::blake3::Blake3Opening"]],["impl Sync for TranscriptCommitmentBuilderError",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilderError"]],["impl !Sync for TranscriptCommitmentBuilder",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilder"]],["impl Sync for CommitmentId",1,["tlsn_core::commitment::CommitmentId"]],["impl Sync for CommitmentInfo",1,["tlsn_core::commitment::CommitmentInfo"]],["impl Sync for Commitment",1,["tlsn_core::commitment::Commitment"]],["impl Sync for CommitmentKind",1,["tlsn_core::commitment::CommitmentKind"]],["impl Sync for CommitmentOpening",1,["tlsn_core::commitment::CommitmentOpening"]],["impl Sync for TranscriptCommitments",1,["tlsn_core::commitment::TranscriptCommitments"]],["impl Sync for TestData",1,["tlsn_core::fixtures::cert::TestData"]],["impl Sync for MerkleRoot",1,["tlsn_core::merkle::MerkleRoot"]],["impl Sync for MerkleError",1,["tlsn_core::merkle::MerkleError"]],["impl Sync for MerkleProof",1,["tlsn_core::merkle::MerkleProof"]],["impl Sync for MerkleTree",1,["tlsn_core::merkle::MerkleTree"]],["impl Sync for TlsnMessage",1,["tlsn_core::msg::TlsnMessage"]],["impl Sync for SignedSessionHeader",1,["tlsn_core::msg::SignedSessionHeader"]],["impl Sync for SubstringsProofBuilderError",1,["tlsn_core::proof::substrings::SubstringsProofBuilderError"]],["impl<'a> Sync for SubstringsProofBuilder<'a>",1,["tlsn_core::proof::substrings::SubstringsProofBuilder"]],["impl Sync for SubstringsProofError",1,["tlsn_core::proof::substrings::SubstringsProofError"]],["impl Sync for SubstringsProof",1,["tlsn_core::proof::substrings::SubstringsProof"]],["impl Sync for TlsProof",1,["tlsn_core::proof::tls::TlsProof"]],["impl Sync for SessionProof",1,["tlsn_core::proof::tls::SessionProof"]],["impl Sync for SessionData",1,["tlsn_core::session::data::SessionData"]],["impl Sync for HandshakeVerifyError",1,["tlsn_core::session::handshake::HandshakeVerifyError"]],["impl Sync for HandshakeSummary",1,["tlsn_core::session::handshake::HandshakeSummary"]],["impl Sync for SessionHeaderVerifyError",1,["tlsn_core::session::header::SessionHeaderVerifyError"]],["impl Sync for SessionHeader",1,["tlsn_core::session::header::SessionHeader"]],["impl Sync for NotarizedSession",1,["tlsn_core::session::NotarizedSession"]],["impl Sync for NotaryPublicKey",1,["tlsn_core::signature::NotaryPublicKey"]],["impl Sync for Signature",1,["tlsn_core::signature::Signature"]],["impl Sync for Transcript",1,["tlsn_core::transcript::Transcript"]],["impl Sync for RedactedTranscript",1,["tlsn_core::transcript::RedactedTranscript"]],["impl Sync for TranscriptSlice",1,["tlsn_core::transcript::TranscriptSlice"]],["impl Sync for Direction",1,["tlsn_core::transcript::Direction"]],["impl Sync for ServerName",1,["tlsn_core::ServerName"]]], +"tlsn_notary":[["impl Sync for NotaryConfig",1,["tlsn_notary::config::NotaryConfig"]],["impl Sync for NotaryConfigBuilder",1,["tlsn_notary::config::NotaryConfigBuilder"]],["impl Sync for NotaryConfigBuilderError",1,["tlsn_notary::config::NotaryConfigBuilderError"]],["impl !Sync for NotaryError",1,["tlsn_notary::error::NotaryError"]],["impl !Sync for NotaryBackgroundFut",1,["tlsn_notary::NotaryBackgroundFut"]],["impl Sync for Notary",1,["tlsn_notary::Notary"]]], +"tlsn_prover":[["impl Sync for ProverConfig",1,["tlsn_prover::config::ProverConfig"]],["impl !Sync for ProverError",1,["tlsn_prover::error::ProverError"]],["impl Sync for Initialized",1,["tlsn_prover::state::Initialized"]],["impl !Sync for Setup",1,["tlsn_prover::state::Setup"]],["impl !Sync for Closed",1,["tlsn_prover::state::Closed"]],["impl !Sync for Notarize",1,["tlsn_prover::state::Notarize"]],["impl !Sync for ProverFuture",1,["tlsn_prover::ProverFuture"]],["impl<T> Sync for Prover<T>where\n T: Sync,",1,["tlsn_prover::Prover"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Unpin.js b/implementors/core/marker/trait.Unpin.js index 9fbb0b5770..232083b578 100644 --- a/implementors/core/marker/trait.Unpin.js +++ b/implementors/core/marker/trait.Unpin.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"tlsn_core":[["impl Unpin for Blake3Commitment",1,["tlsn_core::commitment::blake3::Blake3Commitment"]],["impl Unpin for Blake3Opening",1,["tlsn_core::commitment::blake3::Blake3Opening"]],["impl Unpin for TranscriptCommitmentBuilderError",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilderError"]],["impl Unpin for TranscriptCommitmentBuilder",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilder"]],["impl Unpin for CommitmentId",1,["tlsn_core::commitment::CommitmentId"]],["impl Unpin for CommitmentInfo",1,["tlsn_core::commitment::CommitmentInfo"]],["impl Unpin for Commitment",1,["tlsn_core::commitment::Commitment"]],["impl Unpin for CommitmentKind",1,["tlsn_core::commitment::CommitmentKind"]],["impl Unpin for CommitmentOpening",1,["tlsn_core::commitment::CommitmentOpening"]],["impl Unpin for TranscriptCommitments",1,["tlsn_core::commitment::TranscriptCommitments"]],["impl Unpin for MerkleRoot",1,["tlsn_core::merkle::MerkleRoot"]],["impl Unpin for MerkleError",1,["tlsn_core::merkle::MerkleError"]],["impl Unpin for MerkleProof",1,["tlsn_core::merkle::MerkleProof"]],["impl Unpin for MerkleTree",1,["tlsn_core::merkle::MerkleTree"]],["impl Unpin for TlsnMessage",1,["tlsn_core::msg::TlsnMessage"]],["impl Unpin for SignedSessionHeader",1,["tlsn_core::msg::SignedSessionHeader"]],["impl Unpin for SubstringsProofBuilderError",1,["tlsn_core::proof::substrings::SubstringsProofBuilderError"]],["impl<'a> Unpin for SubstringsProofBuilder<'a>",1,["tlsn_core::proof::substrings::SubstringsProofBuilder"]],["impl Unpin for SubstringsProofError",1,["tlsn_core::proof::substrings::SubstringsProofError"]],["impl Unpin for SubstringsProof",1,["tlsn_core::proof::substrings::SubstringsProof"]],["impl Unpin for TlsProof",1,["tlsn_core::proof::tls::TlsProof"]],["impl Unpin for SessionProof",1,["tlsn_core::proof::tls::SessionProof"]],["impl Unpin for SessionData",1,["tlsn_core::session::data::SessionData"]],["impl Unpin for HandshakeVerifyError",1,["tlsn_core::session::handshake::HandshakeVerifyError"]],["impl Unpin for HandshakeSummary",1,["tlsn_core::session::handshake::HandshakeSummary"]],["impl Unpin for SessionHeaderVerifyError",1,["tlsn_core::session::header::SessionHeaderVerifyError"]],["impl Unpin for SessionHeader",1,["tlsn_core::session::header::SessionHeader"]],["impl Unpin for NotarizedSession",1,["tlsn_core::session::NotarizedSession"]],["impl Unpin for NotaryPublicKey",1,["tlsn_core::signature::NotaryPublicKey"]],["impl Unpin for Signature",1,["tlsn_core::signature::Signature"]],["impl Unpin for Transcript",1,["tlsn_core::transcript::Transcript"]],["impl Unpin for RedactedTranscript",1,["tlsn_core::transcript::RedactedTranscript"]],["impl Unpin for TranscriptSlice",1,["tlsn_core::transcript::TranscriptSlice"]],["impl Unpin for Direction",1,["tlsn_core::transcript::Direction"]],["impl Unpin for ServerName",1,["tlsn_core::ServerName"]]], -"tlsn_notary":[["impl Unpin for NotaryConfig",1,["tlsn_notary::config::NotaryConfig"]],["impl Unpin for NotaryConfigBuilder",1,["tlsn_notary::config::NotaryConfigBuilder"]],["impl Unpin for NotaryConfigBuilderError",1,["tlsn_notary::config::NotaryConfigBuilderError"]],["impl Unpin for NotaryError",1,["tlsn_notary::error::NotaryError"]],["impl Unpin for NotaryBackgroundFut",1,["tlsn_notary::NotaryBackgroundFut"]],["impl Unpin for Notary",1,["tlsn_notary::Notary"]]], -"tlsn_prover":[["impl Unpin for ProverConfig",1,["tlsn_prover::config::ProverConfig"]],["impl Unpin for ProverError",1,["tlsn_prover::error::ProverError"]],["impl Unpin for Initialized",1,["tlsn_prover::state::Initialized"]],["impl Unpin for Setup",1,["tlsn_prover::state::Setup"]],["impl Unpin for Closed",1,["tlsn_prover::state::Closed"]],["impl Unpin for Notarize",1,["tlsn_prover::state::Notarize"]],["impl Unpin for ProverFuture",1,["tlsn_prover::ProverFuture"]],["impl<T> Unpin for Prover<T>where\n T: Unpin,",1,["tlsn_prover::Prover"]]] +"tlsn_core":[["impl Unpin for Blake3Commitment",1,["tlsn_core::commitment::blake3::Blake3Commitment"]],["impl Unpin for Blake3Opening",1,["tlsn_core::commitment::blake3::Blake3Opening"]],["impl Unpin for TranscriptCommitmentBuilderError",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilderError"]],["impl Unpin for TranscriptCommitmentBuilder",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilder"]],["impl Unpin for CommitmentId",1,["tlsn_core::commitment::CommitmentId"]],["impl Unpin for CommitmentInfo",1,["tlsn_core::commitment::CommitmentInfo"]],["impl Unpin for Commitment",1,["tlsn_core::commitment::Commitment"]],["impl Unpin for CommitmentKind",1,["tlsn_core::commitment::CommitmentKind"]],["impl Unpin for CommitmentOpening",1,["tlsn_core::commitment::CommitmentOpening"]],["impl Unpin for TranscriptCommitments",1,["tlsn_core::commitment::TranscriptCommitments"]],["impl Unpin for TestData",1,["tlsn_core::fixtures::cert::TestData"]],["impl Unpin for MerkleRoot",1,["tlsn_core::merkle::MerkleRoot"]],["impl Unpin for MerkleError",1,["tlsn_core::merkle::MerkleError"]],["impl Unpin for MerkleProof",1,["tlsn_core::merkle::MerkleProof"]],["impl Unpin for MerkleTree",1,["tlsn_core::merkle::MerkleTree"]],["impl Unpin for TlsnMessage",1,["tlsn_core::msg::TlsnMessage"]],["impl Unpin for SignedSessionHeader",1,["tlsn_core::msg::SignedSessionHeader"]],["impl Unpin for SubstringsProofBuilderError",1,["tlsn_core::proof::substrings::SubstringsProofBuilderError"]],["impl<'a> Unpin for SubstringsProofBuilder<'a>",1,["tlsn_core::proof::substrings::SubstringsProofBuilder"]],["impl Unpin for SubstringsProofError",1,["tlsn_core::proof::substrings::SubstringsProofError"]],["impl Unpin for SubstringsProof",1,["tlsn_core::proof::substrings::SubstringsProof"]],["impl Unpin for TlsProof",1,["tlsn_core::proof::tls::TlsProof"]],["impl Unpin for SessionProof",1,["tlsn_core::proof::tls::SessionProof"]],["impl Unpin for SessionData",1,["tlsn_core::session::data::SessionData"]],["impl Unpin for HandshakeVerifyError",1,["tlsn_core::session::handshake::HandshakeVerifyError"]],["impl Unpin for HandshakeSummary",1,["tlsn_core::session::handshake::HandshakeSummary"]],["impl Unpin for SessionHeaderVerifyError",1,["tlsn_core::session::header::SessionHeaderVerifyError"]],["impl Unpin for SessionHeader",1,["tlsn_core::session::header::SessionHeader"]],["impl Unpin for NotarizedSession",1,["tlsn_core::session::NotarizedSession"]],["impl Unpin for NotaryPublicKey",1,["tlsn_core::signature::NotaryPublicKey"]],["impl Unpin for Signature",1,["tlsn_core::signature::Signature"]],["impl Unpin for Transcript",1,["tlsn_core::transcript::Transcript"]],["impl Unpin for RedactedTranscript",1,["tlsn_core::transcript::RedactedTranscript"]],["impl Unpin for TranscriptSlice",1,["tlsn_core::transcript::TranscriptSlice"]],["impl Unpin for Direction",1,["tlsn_core::transcript::Direction"]],["impl Unpin for ServerName",1,["tlsn_core::ServerName"]]], +"tlsn_notary":[["impl Unpin for NotaryConfig",1,["tlsn_notary::config::NotaryConfig"]],["impl Unpin for NotaryConfigBuilder",1,["tlsn_notary::config::NotaryConfigBuilder"]],["impl Unpin for NotaryConfigBuilderError",1,["tlsn_notary::config::NotaryConfigBuilderError"]],["impl Unpin for NotaryError",1,["tlsn_notary::error::NotaryError"]],["impl Unpin for NotaryBackgroundFut",1,["tlsn_notary::NotaryBackgroundFut"]],["impl Unpin for Notary",1,["tlsn_notary::Notary"]]], +"tlsn_prover":[["impl Unpin for ProverConfig",1,["tlsn_prover::config::ProverConfig"]],["impl Unpin for ProverError",1,["tlsn_prover::error::ProverError"]],["impl Unpin for Initialized",1,["tlsn_prover::state::Initialized"]],["impl Unpin for Setup",1,["tlsn_prover::state::Setup"]],["impl Unpin for Closed",1,["tlsn_prover::state::Closed"]],["impl Unpin for Notarize",1,["tlsn_prover::state::Notarize"]],["impl Unpin for ProverFuture",1,["tlsn_prover::ProverFuture"]],["impl<T> Unpin for Prover<T>where\n T: Unpin,",1,["tlsn_prover::Prover"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js b/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js index 4f9bcce4df..928ebd69f4 100644 --- a/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"tlsn_core":[["impl RefUnwindSafe for Blake3Commitment",1,["tlsn_core::commitment::blake3::Blake3Commitment"]],["impl RefUnwindSafe for Blake3Opening",1,["tlsn_core::commitment::blake3::Blake3Opening"]],["impl RefUnwindSafe for TranscriptCommitmentBuilderError",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilderError"]],["impl !RefUnwindSafe for TranscriptCommitmentBuilder",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilder"]],["impl RefUnwindSafe for CommitmentId",1,["tlsn_core::commitment::CommitmentId"]],["impl RefUnwindSafe for CommitmentInfo",1,["tlsn_core::commitment::CommitmentInfo"]],["impl RefUnwindSafe for Commitment",1,["tlsn_core::commitment::Commitment"]],["impl RefUnwindSafe for CommitmentKind",1,["tlsn_core::commitment::CommitmentKind"]],["impl RefUnwindSafe for CommitmentOpening",1,["tlsn_core::commitment::CommitmentOpening"]],["impl RefUnwindSafe for TranscriptCommitments",1,["tlsn_core::commitment::TranscriptCommitments"]],["impl RefUnwindSafe for MerkleRoot",1,["tlsn_core::merkle::MerkleRoot"]],["impl RefUnwindSafe for MerkleError",1,["tlsn_core::merkle::MerkleError"]],["impl RefUnwindSafe for MerkleProof",1,["tlsn_core::merkle::MerkleProof"]],["impl RefUnwindSafe for MerkleTree",1,["tlsn_core::merkle::MerkleTree"]],["impl RefUnwindSafe for TlsnMessage",1,["tlsn_core::msg::TlsnMessage"]],["impl RefUnwindSafe for SignedSessionHeader",1,["tlsn_core::msg::SignedSessionHeader"]],["impl RefUnwindSafe for SubstringsProofBuilderError",1,["tlsn_core::proof::substrings::SubstringsProofBuilderError"]],["impl<'a> RefUnwindSafe for SubstringsProofBuilder<'a>",1,["tlsn_core::proof::substrings::SubstringsProofBuilder"]],["impl RefUnwindSafe for SubstringsProofError",1,["tlsn_core::proof::substrings::SubstringsProofError"]],["impl RefUnwindSafe for SubstringsProof",1,["tlsn_core::proof::substrings::SubstringsProof"]],["impl RefUnwindSafe for TlsProof",1,["tlsn_core::proof::tls::TlsProof"]],["impl RefUnwindSafe for SessionProof",1,["tlsn_core::proof::tls::SessionProof"]],["impl RefUnwindSafe for SessionData",1,["tlsn_core::session::data::SessionData"]],["impl RefUnwindSafe for HandshakeVerifyError",1,["tlsn_core::session::handshake::HandshakeVerifyError"]],["impl RefUnwindSafe for HandshakeSummary",1,["tlsn_core::session::handshake::HandshakeSummary"]],["impl RefUnwindSafe for SessionHeaderVerifyError",1,["tlsn_core::session::header::SessionHeaderVerifyError"]],["impl RefUnwindSafe for SessionHeader",1,["tlsn_core::session::header::SessionHeader"]],["impl RefUnwindSafe for NotarizedSession",1,["tlsn_core::session::NotarizedSession"]],["impl RefUnwindSafe for NotaryPublicKey",1,["tlsn_core::signature::NotaryPublicKey"]],["impl RefUnwindSafe for Signature",1,["tlsn_core::signature::Signature"]],["impl RefUnwindSafe for Transcript",1,["tlsn_core::transcript::Transcript"]],["impl RefUnwindSafe for RedactedTranscript",1,["tlsn_core::transcript::RedactedTranscript"]],["impl RefUnwindSafe for TranscriptSlice",1,["tlsn_core::transcript::TranscriptSlice"]],["impl RefUnwindSafe for Direction",1,["tlsn_core::transcript::Direction"]],["impl RefUnwindSafe for ServerName",1,["tlsn_core::ServerName"]]], -"tlsn_notary":[["impl RefUnwindSafe for NotaryConfig",1,["tlsn_notary::config::NotaryConfig"]],["impl RefUnwindSafe for NotaryConfigBuilder",1,["tlsn_notary::config::NotaryConfigBuilder"]],["impl RefUnwindSafe for NotaryConfigBuilderError",1,["tlsn_notary::config::NotaryConfigBuilderError"]],["impl !RefUnwindSafe for NotaryError",1,["tlsn_notary::error::NotaryError"]],["impl !RefUnwindSafe for NotaryBackgroundFut",1,["tlsn_notary::NotaryBackgroundFut"]],["impl !RefUnwindSafe for Notary",1,["tlsn_notary::Notary"]]], -"tlsn_prover":[["impl RefUnwindSafe for ProverConfig",1,["tlsn_prover::config::ProverConfig"]],["impl !RefUnwindSafe for ProverError",1,["tlsn_prover::error::ProverError"]],["impl RefUnwindSafe for Initialized",1,["tlsn_prover::state::Initialized"]],["impl !RefUnwindSafe for Setup",1,["tlsn_prover::state::Setup"]],["impl !RefUnwindSafe for Closed",1,["tlsn_prover::state::Closed"]],["impl !RefUnwindSafe for Notarize",1,["tlsn_prover::state::Notarize"]],["impl !RefUnwindSafe for ProverFuture",1,["tlsn_prover::ProverFuture"]],["impl<T> RefUnwindSafe for Prover<T>where\n T: RefUnwindSafe,",1,["tlsn_prover::Prover"]]] +"tlsn_core":[["impl RefUnwindSafe for Blake3Commitment",1,["tlsn_core::commitment::blake3::Blake3Commitment"]],["impl RefUnwindSafe for Blake3Opening",1,["tlsn_core::commitment::blake3::Blake3Opening"]],["impl RefUnwindSafe for TranscriptCommitmentBuilderError",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilderError"]],["impl !RefUnwindSafe for TranscriptCommitmentBuilder",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilder"]],["impl RefUnwindSafe for CommitmentId",1,["tlsn_core::commitment::CommitmentId"]],["impl RefUnwindSafe for CommitmentInfo",1,["tlsn_core::commitment::CommitmentInfo"]],["impl RefUnwindSafe for Commitment",1,["tlsn_core::commitment::Commitment"]],["impl RefUnwindSafe for CommitmentKind",1,["tlsn_core::commitment::CommitmentKind"]],["impl RefUnwindSafe for CommitmentOpening",1,["tlsn_core::commitment::CommitmentOpening"]],["impl RefUnwindSafe for TranscriptCommitments",1,["tlsn_core::commitment::TranscriptCommitments"]],["impl RefUnwindSafe for TestData",1,["tlsn_core::fixtures::cert::TestData"]],["impl RefUnwindSafe for MerkleRoot",1,["tlsn_core::merkle::MerkleRoot"]],["impl RefUnwindSafe for MerkleError",1,["tlsn_core::merkle::MerkleError"]],["impl RefUnwindSafe for MerkleProof",1,["tlsn_core::merkle::MerkleProof"]],["impl RefUnwindSafe for MerkleTree",1,["tlsn_core::merkle::MerkleTree"]],["impl RefUnwindSafe for TlsnMessage",1,["tlsn_core::msg::TlsnMessage"]],["impl RefUnwindSafe for SignedSessionHeader",1,["tlsn_core::msg::SignedSessionHeader"]],["impl RefUnwindSafe for SubstringsProofBuilderError",1,["tlsn_core::proof::substrings::SubstringsProofBuilderError"]],["impl<'a> RefUnwindSafe for SubstringsProofBuilder<'a>",1,["tlsn_core::proof::substrings::SubstringsProofBuilder"]],["impl RefUnwindSafe for SubstringsProofError",1,["tlsn_core::proof::substrings::SubstringsProofError"]],["impl RefUnwindSafe for SubstringsProof",1,["tlsn_core::proof::substrings::SubstringsProof"]],["impl RefUnwindSafe for TlsProof",1,["tlsn_core::proof::tls::TlsProof"]],["impl RefUnwindSafe for SessionProof",1,["tlsn_core::proof::tls::SessionProof"]],["impl RefUnwindSafe for SessionData",1,["tlsn_core::session::data::SessionData"]],["impl RefUnwindSafe for HandshakeVerifyError",1,["tlsn_core::session::handshake::HandshakeVerifyError"]],["impl RefUnwindSafe for HandshakeSummary",1,["tlsn_core::session::handshake::HandshakeSummary"]],["impl RefUnwindSafe for SessionHeaderVerifyError",1,["tlsn_core::session::header::SessionHeaderVerifyError"]],["impl RefUnwindSafe for SessionHeader",1,["tlsn_core::session::header::SessionHeader"]],["impl RefUnwindSafe for NotarizedSession",1,["tlsn_core::session::NotarizedSession"]],["impl RefUnwindSafe for NotaryPublicKey",1,["tlsn_core::signature::NotaryPublicKey"]],["impl RefUnwindSafe for Signature",1,["tlsn_core::signature::Signature"]],["impl RefUnwindSafe for Transcript",1,["tlsn_core::transcript::Transcript"]],["impl RefUnwindSafe for RedactedTranscript",1,["tlsn_core::transcript::RedactedTranscript"]],["impl RefUnwindSafe for TranscriptSlice",1,["tlsn_core::transcript::TranscriptSlice"]],["impl RefUnwindSafe for Direction",1,["tlsn_core::transcript::Direction"]],["impl RefUnwindSafe for ServerName",1,["tlsn_core::ServerName"]]], +"tlsn_notary":[["impl RefUnwindSafe for NotaryConfig",1,["tlsn_notary::config::NotaryConfig"]],["impl RefUnwindSafe for NotaryConfigBuilder",1,["tlsn_notary::config::NotaryConfigBuilder"]],["impl RefUnwindSafe for NotaryConfigBuilderError",1,["tlsn_notary::config::NotaryConfigBuilderError"]],["impl !RefUnwindSafe for NotaryError",1,["tlsn_notary::error::NotaryError"]],["impl !RefUnwindSafe for NotaryBackgroundFut",1,["tlsn_notary::NotaryBackgroundFut"]],["impl !RefUnwindSafe for Notary",1,["tlsn_notary::Notary"]]], +"tlsn_prover":[["impl RefUnwindSafe for ProverConfig",1,["tlsn_prover::config::ProverConfig"]],["impl !RefUnwindSafe for ProverError",1,["tlsn_prover::error::ProverError"]],["impl RefUnwindSafe for Initialized",1,["tlsn_prover::state::Initialized"]],["impl !RefUnwindSafe for Setup",1,["tlsn_prover::state::Setup"]],["impl !RefUnwindSafe for Closed",1,["tlsn_prover::state::Closed"]],["impl !RefUnwindSafe for Notarize",1,["tlsn_prover::state::Notarize"]],["impl !RefUnwindSafe for ProverFuture",1,["tlsn_prover::ProverFuture"]],["impl<T> RefUnwindSafe for Prover<T>where\n T: RefUnwindSafe,",1,["tlsn_prover::Prover"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/panic/unwind_safe/trait.UnwindSafe.js b/implementors/core/panic/unwind_safe/trait.UnwindSafe.js index b53049d1de..6c23d281dd 100644 --- a/implementors/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/implementors/core/panic/unwind_safe/trait.UnwindSafe.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"tlsn_core":[["impl UnwindSafe for Blake3Commitment",1,["tlsn_core::commitment::blake3::Blake3Commitment"]],["impl UnwindSafe for Blake3Opening",1,["tlsn_core::commitment::blake3::Blake3Opening"]],["impl UnwindSafe for TranscriptCommitmentBuilderError",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilderError"]],["impl !UnwindSafe for TranscriptCommitmentBuilder",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilder"]],["impl UnwindSafe for CommitmentId",1,["tlsn_core::commitment::CommitmentId"]],["impl UnwindSafe for CommitmentInfo",1,["tlsn_core::commitment::CommitmentInfo"]],["impl UnwindSafe for Commitment",1,["tlsn_core::commitment::Commitment"]],["impl UnwindSafe for CommitmentKind",1,["tlsn_core::commitment::CommitmentKind"]],["impl UnwindSafe for CommitmentOpening",1,["tlsn_core::commitment::CommitmentOpening"]],["impl UnwindSafe for TranscriptCommitments",1,["tlsn_core::commitment::TranscriptCommitments"]],["impl UnwindSafe for MerkleRoot",1,["tlsn_core::merkle::MerkleRoot"]],["impl UnwindSafe for MerkleError",1,["tlsn_core::merkle::MerkleError"]],["impl UnwindSafe for MerkleProof",1,["tlsn_core::merkle::MerkleProof"]],["impl UnwindSafe for MerkleTree",1,["tlsn_core::merkle::MerkleTree"]],["impl UnwindSafe for TlsnMessage",1,["tlsn_core::msg::TlsnMessage"]],["impl UnwindSafe for SignedSessionHeader",1,["tlsn_core::msg::SignedSessionHeader"]],["impl UnwindSafe for SubstringsProofBuilderError",1,["tlsn_core::proof::substrings::SubstringsProofBuilderError"]],["impl<'a> UnwindSafe for SubstringsProofBuilder<'a>",1,["tlsn_core::proof::substrings::SubstringsProofBuilder"]],["impl UnwindSafe for SubstringsProofError",1,["tlsn_core::proof::substrings::SubstringsProofError"]],["impl UnwindSafe for SubstringsProof",1,["tlsn_core::proof::substrings::SubstringsProof"]],["impl UnwindSafe for TlsProof",1,["tlsn_core::proof::tls::TlsProof"]],["impl UnwindSafe for SessionProof",1,["tlsn_core::proof::tls::SessionProof"]],["impl UnwindSafe for SessionData",1,["tlsn_core::session::data::SessionData"]],["impl UnwindSafe for HandshakeVerifyError",1,["tlsn_core::session::handshake::HandshakeVerifyError"]],["impl UnwindSafe for HandshakeSummary",1,["tlsn_core::session::handshake::HandshakeSummary"]],["impl UnwindSafe for SessionHeaderVerifyError",1,["tlsn_core::session::header::SessionHeaderVerifyError"]],["impl UnwindSafe for SessionHeader",1,["tlsn_core::session::header::SessionHeader"]],["impl UnwindSafe for NotarizedSession",1,["tlsn_core::session::NotarizedSession"]],["impl UnwindSafe for NotaryPublicKey",1,["tlsn_core::signature::NotaryPublicKey"]],["impl UnwindSafe for Signature",1,["tlsn_core::signature::Signature"]],["impl UnwindSafe for Transcript",1,["tlsn_core::transcript::Transcript"]],["impl UnwindSafe for RedactedTranscript",1,["tlsn_core::transcript::RedactedTranscript"]],["impl UnwindSafe for TranscriptSlice",1,["tlsn_core::transcript::TranscriptSlice"]],["impl UnwindSafe for Direction",1,["tlsn_core::transcript::Direction"]],["impl UnwindSafe for ServerName",1,["tlsn_core::ServerName"]]], -"tlsn_notary":[["impl UnwindSafe for NotaryConfig",1,["tlsn_notary::config::NotaryConfig"]],["impl UnwindSafe for NotaryConfigBuilder",1,["tlsn_notary::config::NotaryConfigBuilder"]],["impl UnwindSafe for NotaryConfigBuilderError",1,["tlsn_notary::config::NotaryConfigBuilderError"]],["impl !UnwindSafe for NotaryError",1,["tlsn_notary::error::NotaryError"]],["impl !UnwindSafe for NotaryBackgroundFut",1,["tlsn_notary::NotaryBackgroundFut"]],["impl !UnwindSafe for Notary",1,["tlsn_notary::Notary"]]], -"tlsn_prover":[["impl UnwindSafe for ProverConfig",1,["tlsn_prover::config::ProverConfig"]],["impl !UnwindSafe for ProverError",1,["tlsn_prover::error::ProverError"]],["impl UnwindSafe for Initialized",1,["tlsn_prover::state::Initialized"]],["impl !UnwindSafe for Setup",1,["tlsn_prover::state::Setup"]],["impl !UnwindSafe for Closed",1,["tlsn_prover::state::Closed"]],["impl !UnwindSafe for Notarize",1,["tlsn_prover::state::Notarize"]],["impl !UnwindSafe for ProverFuture",1,["tlsn_prover::ProverFuture"]],["impl<T> UnwindSafe for Prover<T>where\n T: UnwindSafe,",1,["tlsn_prover::Prover"]]] +"tlsn_core":[["impl UnwindSafe for Blake3Commitment",1,["tlsn_core::commitment::blake3::Blake3Commitment"]],["impl UnwindSafe for Blake3Opening",1,["tlsn_core::commitment::blake3::Blake3Opening"]],["impl UnwindSafe for TranscriptCommitmentBuilderError",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilderError"]],["impl !UnwindSafe for TranscriptCommitmentBuilder",1,["tlsn_core::commitment::builder::TranscriptCommitmentBuilder"]],["impl UnwindSafe for CommitmentId",1,["tlsn_core::commitment::CommitmentId"]],["impl UnwindSafe for CommitmentInfo",1,["tlsn_core::commitment::CommitmentInfo"]],["impl UnwindSafe for Commitment",1,["tlsn_core::commitment::Commitment"]],["impl UnwindSafe for CommitmentKind",1,["tlsn_core::commitment::CommitmentKind"]],["impl UnwindSafe for CommitmentOpening",1,["tlsn_core::commitment::CommitmentOpening"]],["impl UnwindSafe for TranscriptCommitments",1,["tlsn_core::commitment::TranscriptCommitments"]],["impl UnwindSafe for TestData",1,["tlsn_core::fixtures::cert::TestData"]],["impl UnwindSafe for MerkleRoot",1,["tlsn_core::merkle::MerkleRoot"]],["impl UnwindSafe for MerkleError",1,["tlsn_core::merkle::MerkleError"]],["impl UnwindSafe for MerkleProof",1,["tlsn_core::merkle::MerkleProof"]],["impl UnwindSafe for MerkleTree",1,["tlsn_core::merkle::MerkleTree"]],["impl UnwindSafe for TlsnMessage",1,["tlsn_core::msg::TlsnMessage"]],["impl UnwindSafe for SignedSessionHeader",1,["tlsn_core::msg::SignedSessionHeader"]],["impl UnwindSafe for SubstringsProofBuilderError",1,["tlsn_core::proof::substrings::SubstringsProofBuilderError"]],["impl<'a> UnwindSafe for SubstringsProofBuilder<'a>",1,["tlsn_core::proof::substrings::SubstringsProofBuilder"]],["impl UnwindSafe for SubstringsProofError",1,["tlsn_core::proof::substrings::SubstringsProofError"]],["impl UnwindSafe for SubstringsProof",1,["tlsn_core::proof::substrings::SubstringsProof"]],["impl UnwindSafe for TlsProof",1,["tlsn_core::proof::tls::TlsProof"]],["impl UnwindSafe for SessionProof",1,["tlsn_core::proof::tls::SessionProof"]],["impl UnwindSafe for SessionData",1,["tlsn_core::session::data::SessionData"]],["impl UnwindSafe for HandshakeVerifyError",1,["tlsn_core::session::handshake::HandshakeVerifyError"]],["impl UnwindSafe for HandshakeSummary",1,["tlsn_core::session::handshake::HandshakeSummary"]],["impl UnwindSafe for SessionHeaderVerifyError",1,["tlsn_core::session::header::SessionHeaderVerifyError"]],["impl UnwindSafe for SessionHeader",1,["tlsn_core::session::header::SessionHeader"]],["impl UnwindSafe for NotarizedSession",1,["tlsn_core::session::NotarizedSession"]],["impl UnwindSafe for NotaryPublicKey",1,["tlsn_core::signature::NotaryPublicKey"]],["impl UnwindSafe for Signature",1,["tlsn_core::signature::Signature"]],["impl UnwindSafe for Transcript",1,["tlsn_core::transcript::Transcript"]],["impl UnwindSafe for RedactedTranscript",1,["tlsn_core::transcript::RedactedTranscript"]],["impl UnwindSafe for TranscriptSlice",1,["tlsn_core::transcript::TranscriptSlice"]],["impl UnwindSafe for Direction",1,["tlsn_core::transcript::Direction"]],["impl UnwindSafe for ServerName",1,["tlsn_core::ServerName"]]], +"tlsn_notary":[["impl UnwindSafe for NotaryConfig",1,["tlsn_notary::config::NotaryConfig"]],["impl UnwindSafe for NotaryConfigBuilder",1,["tlsn_notary::config::NotaryConfigBuilder"]],["impl UnwindSafe for NotaryConfigBuilderError",1,["tlsn_notary::config::NotaryConfigBuilderError"]],["impl !UnwindSafe for NotaryError",1,["tlsn_notary::error::NotaryError"]],["impl !UnwindSafe for NotaryBackgroundFut",1,["tlsn_notary::NotaryBackgroundFut"]],["impl !UnwindSafe for Notary",1,["tlsn_notary::Notary"]]], +"tlsn_prover":[["impl UnwindSafe for ProverConfig",1,["tlsn_prover::config::ProverConfig"]],["impl !UnwindSafe for ProverError",1,["tlsn_prover::error::ProverError"]],["impl UnwindSafe for Initialized",1,["tlsn_prover::state::Initialized"]],["impl !UnwindSafe for Setup",1,["tlsn_prover::state::Setup"]],["impl !UnwindSafe for Closed",1,["tlsn_prover::state::Closed"]],["impl !UnwindSafe for Notarize",1,["tlsn_prover::state::Notarize"]],["impl !UnwindSafe for ProverFuture",1,["tlsn_prover::ProverFuture"]],["impl<T> UnwindSafe for Prover<T>where\n T: UnwindSafe,",1,["tlsn_prover::Prover"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/serde/de/trait.Deserialize.js b/implementors/serde/de/trait.Deserialize.js index a28117e1d7..04a5a85fc0 100644 --- a/implementors/serde/de/trait.Deserialize.js +++ b/implementors/serde/de/trait.Deserialize.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"tlsn_core":[["impl<'de> Deserialize<'de> for TlsnMessage"],["impl<'de> Deserialize<'de> for TranscriptCommitments"],["impl<'de> Deserialize<'de> for Direction"],["impl<'de> Deserialize<'de> for CommitmentKind"],["impl<'de> Deserialize<'de> for HandshakeSummary"],["impl<'de> Deserialize<'de> for CommitmentOpening"],["impl<'de> Deserialize<'de> for Signature"],["impl<'de> Deserialize<'de> for TlsProof"],["impl<'de> Deserialize<'de> for NotaryPublicKey"],["impl<'de> Deserialize<'de> for SignedSessionHeader"],["impl<'de> Deserialize<'de> for SubstringsProof"],["impl<'de> Deserialize<'de> for Commitment"],["impl<'de> Deserialize<'de> for MerkleTree"],["impl<'de> Deserialize<'de> for SessionHeader"],["impl<'de> Deserialize<'de> for CommitmentInfo"],["impl<'de> Deserialize<'de> for Blake3Opening"],["impl<'de> Deserialize<'de> for MerkleProof"],["impl<'de> Deserialize<'de> for ServerName"],["impl<'de> Deserialize<'de> for Transcript"],["impl<'de> Deserialize<'de> for MerkleRoot"],["impl<'de> Deserialize<'de> for Blake3Commitment"],["impl<'de> Deserialize<'de> for NotarizedSession"],["impl<'de> Deserialize<'de> for SessionData"],["impl<'de> Deserialize<'de> for CommitmentId"],["impl<'de> Deserialize<'de> for SessionProof"]] +"tlsn_core":[["impl<'de> Deserialize<'de> for CommitmentOpening"],["impl<'de> Deserialize<'de> for SessionData"],["impl<'de> Deserialize<'de> for HandshakeSummary"],["impl<'de> Deserialize<'de> for TlsProof"],["impl<'de> Deserialize<'de> for CommitmentInfo"],["impl<'de> Deserialize<'de> for SignedSessionHeader"],["impl<'de> Deserialize<'de> for ServerName"],["impl<'de> Deserialize<'de> for NotarizedSession"],["impl<'de> Deserialize<'de> for Signature"],["impl<'de> Deserialize<'de> for NotaryPublicKey"],["impl<'de> Deserialize<'de> for SessionHeader"],["impl<'de> Deserialize<'de> for Direction"],["impl<'de> Deserialize<'de> for TlsnMessage"],["impl<'de> Deserialize<'de> for Blake3Commitment"],["impl<'de> Deserialize<'de> for Blake3Opening"],["impl<'de> Deserialize<'de> for MerkleProof"],["impl<'de> Deserialize<'de> for TranscriptCommitments"],["impl<'de> Deserialize<'de> for MerkleRoot"],["impl<'de> Deserialize<'de> for CommitmentId"],["impl<'de> Deserialize<'de> for CommitmentKind"],["impl<'de> Deserialize<'de> for Transcript"],["impl<'de> Deserialize<'de> for Commitment"],["impl<'de> Deserialize<'de> for MerkleTree"],["impl<'de> Deserialize<'de> for SubstringsProof"],["impl<'de> Deserialize<'de> for SessionProof"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/serde/ser/trait.Serialize.js b/implementors/serde/ser/trait.Serialize.js index 9413f67d97..bfe6edfe5d 100644 --- a/implementors/serde/ser/trait.Serialize.js +++ b/implementors/serde/ser/trait.Serialize.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"tlsn_core":[["impl Serialize for CommitmentOpening"],["impl Serialize for SessionData"],["impl Serialize for NotaryPublicKey"],["impl Serialize for CommitmentKind"],["impl Serialize for HandshakeSummary"],["impl Serialize for TranscriptCommitments"],["impl Serialize for TlsnMessage"],["impl Serialize for Transcript"],["impl Serialize for Blake3Opening"],["impl Serialize for Direction"],["impl Serialize for ServerName"],["impl Serialize for SubstringsProof"],["impl Serialize for SessionHeader"],["impl Serialize for MerkleTree"],["impl Serialize for CommitmentId"],["impl Serialize for SignedSessionHeader"],["impl Serialize for MerkleProof"],["impl Serialize for Commitment"],["impl Serialize for Signature"],["impl Serialize for Blake3Commitment"],["impl Serialize for NotarizedSession"],["impl Serialize for CommitmentInfo"],["impl Serialize for TlsProof"],["impl Serialize for MerkleRoot"],["impl Serialize for SessionProof"]] +"tlsn_core":[["impl Serialize for Direction"],["impl Serialize for SessionProof"],["impl Serialize for Blake3Commitment"],["impl Serialize for MerkleTree"],["impl Serialize for TranscriptCommitments"],["impl Serialize for TlsProof"],["impl Serialize for SessionData"],["impl Serialize for SignedSessionHeader"],["impl Serialize for TlsnMessage"],["impl Serialize for SessionHeader"],["impl Serialize for Transcript"],["impl Serialize for Commitment"],["impl Serialize for ServerName"],["impl Serialize for Signature"],["impl Serialize for CommitmentInfo"],["impl Serialize for NotaryPublicKey"],["impl Serialize for NotarizedSession"],["impl Serialize for CommitmentOpening"],["impl Serialize for CommitmentKind"],["impl Serialize for HandshakeSummary"],["impl Serialize for MerkleRoot"],["impl Serialize for SubstringsProof"],["impl Serialize for CommitmentId"],["impl Serialize for MerkleProof"],["impl Serialize for Blake3Opening"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/search-index.js b/search-index.js index 5ed0d5668d..c2c36ea001 100644 --- a/search-index.js +++ b/search-index.js @@ -1,7 +1,7 @@ var searchIndex = JSON.parse('{\ -"tlsn_core":{"doc":"TLSNotary core protocol library.","t":"CNCCENNCECCECCLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLAAALLLALLLLALLLLLLLLLLLLLNNNEDDEENNNDEDALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLENDNDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNDNENLLLLLLLLLLLLLLLLMLLLLLLMLLLLLLLLNNNNNNNNDDDEEDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLMMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNDENNDNDDELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLENDNDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["Direction","Dns","HandshakeSummary","NotarizedSession","NotaryPublicKey","P256","P256","RedactedTranscript","ServerName","SessionData","SessionHeader","Signature","Transcript","TranscriptSlice","as_ref","as_str","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","commitment","deref","deref","deref","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","drop","drop","drop","eq","equivalent","fmt","fmt","fmt","from","from","from","from","from","hash","init","init","init","into","into","into","merkle","msg","proof","serialize","serialize","serialize","session","to_bytes","to_owned","to_owned","to_owned","transcript","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","verify","vzip","vzip","vzip","Blake3","Blake3","Blake3","Commitment","CommitmentId","CommitmentInfo","CommitmentKind","CommitmentOpening","Duplicate","MissingEncodings","NoCommitments","TranscriptCommitmentBuilder","TranscriptCommitmentBuilderError","TranscriptCommitments","blake3","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","commit_recv","commit_sent","data","deref","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","direction","drop","drop","drop","drop","drop","drop","drop","drop","eq","eq","eq","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","get","get_id_by_info","get_info","hash","hash","hash","hash","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into_data","kind","kind","kind","merkle_root","merkle_tree","partial_cmp","provide","ranges","recover","serialize","serialize","serialize","serialize","serialize","serialize","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Blake3Commitment","Blake3Opening","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","data","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","fmt","from","from","hash","init","init","into","into","into_data","new","nonce","open","recover","serialize","serialize","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","MerkleError","MerkleNoLeavesProvided","MerkleProof","MerkleProofVerificationFailed","MerkleRoot","MerkleTree","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","default","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","drop","drop","drop","drop","eq","eq","equivalent","fmt","fmt","fmt","from","from","from","from","from","from_leaves","init","init","init","init","into","into","into","into","proof","provide","root","serialize","serialize","serialize","to_inner","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","verify","vzip","vzip","vzip","vzip","SessionHeader","SignedSessionHeader","SignedSessionHeader","TlsnMessage","TranscriptCommitmentRoot","borrow","borrow","borrow_mut","borrow_mut","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","fmt","fmt","from","from","header","init","init","into","into","serialize","serialize","signature","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","DuplicateCommitmentId","DuplicateData","InvalidCommitmentId","InvalidCommitmentType","InvalidInclusionProof","InvalidOpening","MaxDataExceeded","RangeOutOfBounds","SessionProof","SubstringsProof","SubstringsProofBuilder","SubstringsProofBuilderError","SubstringsProofError","TlsProof","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","handshake_data_decommitment","header","init","init","init","init","init","init","into","into","into","into","into","into","provide","provide","reveal","serialize","serialize","serialize","server_name","session","signature","substrings","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","verify","verify","verify_with_default_cert_verifier","vzip","vzip","vzip","vzip","vzip","vzip","Commitment","HandshakeSummary","HandshakeVerifyError","InconsistentHeader","KxParams","NotarizedSession","ServerEphemKey","SessionData","SessionHeader","SessionHeaderVerifyError","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build_substrings_proof","clone","clone","clone_into","clone_into","commitments","data","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","encoder","encoder_seed","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","handshake_commitment","handshake_data_decommitment","handshake_summary","header","init","init","init","init","init","init","into","into","into","into","into","into","merkle_root","new","new","new","new","provide","provide","recv_len","recv_transcript","sent_len","sent_transcript","serialize","serialize","serialize","serialize","server_name","server_public_key","session_proof","signature","time","time","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","verify","verify","vzip","vzip","vzip","vzip","vzip","vzip","Direction","Received","RedactedTranscript","Sent","Transcript","TranscriptSlice","authed","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","data","data","data","default","default","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","drop","drop","drop","drop","eq","eq","equivalent","fmt","fmt","fmt","fmt","from","from","from","from","get_value_ids","hash","init","init","init","init","into","into","into","into","into_bytes","new","new","range","redacted","serialize","serialize","set_redacted","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip"],"q":[[0,"tlsn_core"],[83,"tlsn_core::commitment"],[263,"tlsn_core::commitment::blake3"],[307,"tlsn_core::merkle"],[391,"tlsn_core::msg"],[428,"tlsn_core::proof"],[543,"tlsn_core::session"],[676,"tlsn_core::transcript"]],"d":["","A DNS name.","","","A Notary public key.","A NIST P-256 public key.","A secp256r1 signature.","","A Server’s name.","","","A Notary signature.","","","","Returns a reference to the server name as a string slice.","","","","","","","","","","","","","Types related to transcript commitments.","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Merkle tree types.","Protocol message types.","Different types of proofs used in the TLSNotary protocol.","","","","TLS session types.","Returns the bytes of this signature.","","","","Transcript data types.","","","","","","","","","","Verifies the signature.","","","","A BLAKE3 commitment to encodings of the transcript.","A BLAKE3 commitment to encodings of the transcript.","An opening to a BLAKE3 commitment","A commitment to some bytes in a transcript","A commitment id.","Info of a transcript commitment","The kind of a Commitment.","An opening to a commitment to the transcript.","Duplicate commitment","Failed to retrieve encodings for the provided transcript …","No commitments were added","A builder for TranscriptCommitments.","An error for TranscriptCommitmentBuilder","A collection of transcript commitments.","BLAKE3 commitments.","","","","","","","","","","","","","","","","","Builds the TranscriptCommitments","","","","","","","","","","","","","","Commits to the provided ranges of the received transcript.","Commits to the provided ranges of the sent transcript.","Returns the transcript data corresponding to this opening","","","","","","","","","","","","","","","","","","","","","","","Returns the direction of this commitment","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns a commitment if it exists.","Returns the commitment id for a commitment with the given …","Returns commitment info, if it exists.","","","Returns the hash of this commitment","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the transcript data corresponding to this opening","Returns the kind of this commitment","Returns the kind of this commitment","Returns the kind of this opening","Returns the merkle root of the commitments.","Returns the merkle tree of the commitments.","","","Returns the ranges of this commitment","Recovers the expected commitment from this opening.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A Blake3 commitment to the encodings of the substrings of …","A substring opening using Blake3","","","","","","","","","Returns the transcript data corresponding to this opening","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the hash of this commitment","","","Calls U::from(self).","Calls U::from(self).","Returns the transcript data corresponding to this opening","Creates a new Blake3 commitment","Returns the nonce of this commitment","Opens this commitment","Recovers the expected commitment from this opening.","","","","","","","","","","","","","Errors that can occur during operations with Merkle tree …","","A Merkle proof.","","A Merkle root.","A Merkle tree.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Create a new Merkle tree from the given leaves","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Creates an inclusion proof for the given indices","","Returns the Merkle root for this MerkleTree","","","","Returns the inner byte array","","","","","","","","","","","","","","","","","Checks if indices, hashes and leaves count are valid for …","","","","","A session header.","A signed session header.","A session header signed by a notary.","Top-level enum for all messages","A Merkle root for the tree of commitments to the …","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","The session header","","","Calls U::from(self).","Calls U::from(self).","","","The notary’s signature","","","","","","","","","Attempted to add a commitment with a duplicate id.","The proof contains duplicate transcript data.","Invalid commitment id.","Invalid commitment type.","The proof contains an invalid inclusion proof.","The proof contains an invalid commitment opening.","The proof contains more data than the maximum allowed.","Range of the opening is out of bounds.","Proof of the TLS handshake, server identity, and …","A substring proof containing the commitment openings and a …","A builder for SubstringsProof","An error for SubstringsProofBuilder","An error relating to SubstringsProof","Proof that a transcript of communications took place …","","","","","","","","","","","","","Builds the SubstringsProof","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Decommitment to the TLS handshake and server identity.","The session header","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","Reveals data corresponding to the provided commitment id","","","","The server name.","Proof of the TLS handshake, server identity, and …","Signature for the session header, if the notary signed it","Proof regarding the contents of the transcript.","","","","","","","","","","","","","","","","","","","","","Verifies this proof and, if successful, returns the …","Verify the session proof, returning the server’s name.","Verify the session proof using trust anchors from the …","","","","","","","The handshake data does not match the commitment","Handshake summary is part of the session header signed by …","An error that can occur while verifying a handshake summary","The session header is not consistent with the provided data","The key exchange parameters are invalid","A validated notarized session stored by the Prover","The server ephemeral key does not match","Notarized session data.","An authentic session header from the Notary","An error that can occur while verifying a session header","","","","","","","","","","","","","Returns a substrings proof builder.","","","","","Returns the transcript commitments.","Returns the SessionData","","","","","","","","","","","","","","","","","","","","","","","Create a new ChaChaEncoder from encoder_seed","Returns the seed used to generate plaintext encodings","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns commitment to the handshake data","Returns the decommitment to handshake data","Returns the HandshakeSummary of the TLS session between …","Returns the SessionHeader","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the merkle_root of the merkle tree of the prover’…","Creates new session data.","Creates a new HandshakeSummary","Create a new instance of SessionHeader","Create a new notarized session.","","","Returns the number of bytes received by the server","Returns the transcript for data received from the server","Returns the number of bytes sent to the server","Returns the transcript for data sent to the server","","","","","Returns the server name.","Returns the server ephemeral public key","Returns a proof of the TLS session","Returns the signature for the session header, if the …","Time of the TLS session, in seconds since the UNIX epoch.","Time of the TLS session, in seconds since the UNIX epoch.","","","","","","","","","","","","","","","","","","","","","","","Verifies that the provided handshake data matches this …","Verify the data in the header is consistent with the Prover…","","","","","","","The direction of data communicated over a TLS connection.","Received by the prover from the server","A transcript which may have some data redacted.","Sent from the prover to the server","A transcript contains a subset of bytes from a TLS session","Slice of a transcript.","Returns all the ranges of data which have been …","","","","","","","","","","","","","","","Returns the actual traffic data of this transcript","Returns a reference to the data.","Returns the bytes of this slice","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the value ID for each byte in the provided range …","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the bytes of this slice","Creates a new transcript with the given ID and data","Creates a new redacted transcript with the given length.","Returns the range of bytes this slice refers to in the …","Returns all the ranges of data which have been redacted.","","","Sets all bytes in the transcript which were redacted.","","","","","","","","","","","","","","","","","","",""],"i":[0,1,0,0,0,3,4,0,0,0,0,0,0,0,1,1,3,4,1,3,4,1,3,4,1,3,4,1,0,3,4,1,3,4,1,3,4,1,3,4,1,1,1,3,4,1,3,3,4,4,1,1,3,4,1,3,4,1,0,0,0,3,4,1,0,4,3,4,1,0,3,4,1,3,4,1,3,4,1,4,3,4,1,25,26,27,0,0,0,0,0,22,22,22,0,0,0,0,20,22,23,24,25,26,27,21,20,22,23,24,25,26,27,21,20,23,24,25,26,27,21,23,24,25,26,27,21,23,20,20,27,20,22,23,24,25,26,27,21,20,22,23,24,25,26,27,21,23,24,25,26,27,21,24,20,22,23,24,25,26,27,21,23,24,26,23,24,26,20,22,22,23,24,26,21,20,22,23,24,25,25,26,27,27,21,21,21,21,23,24,25,26,20,22,23,24,25,26,27,21,20,22,23,24,25,26,27,21,27,24,25,27,21,21,23,22,24,27,23,24,25,26,27,21,23,24,25,26,27,21,22,20,22,23,24,25,26,27,21,20,22,23,24,25,26,27,21,20,22,23,24,25,26,27,21,20,22,23,24,25,26,27,21,0,0,32,33,32,33,32,33,32,33,33,32,33,32,33,32,33,32,33,32,32,33,32,32,33,32,33,33,32,32,32,33,32,33,32,33,32,33,32,33,32,33,32,33,0,45,0,45,0,0,36,45,44,37,36,45,44,37,36,44,37,36,44,37,37,36,45,44,37,36,45,44,37,36,44,37,36,45,44,37,36,45,36,36,45,45,36,36,45,44,37,37,36,45,44,37,36,45,44,37,37,45,37,36,44,37,36,36,44,37,45,36,45,44,37,36,45,44,37,36,45,44,37,44,36,45,44,37,47,0,47,0,47,47,48,47,48,47,48,47,48,47,48,47,48,47,48,47,48,48,47,48,47,48,47,48,48,47,48,47,48,47,48,47,48,51,54,51,51,54,54,54,54,0,0,0,0,0,0,49,51,54,50,52,53,49,51,54,50,52,53,49,49,51,54,50,52,53,49,51,54,50,52,53,50,52,53,49,51,54,50,52,53,49,51,51,54,54,50,52,53,49,51,54,50,52,53,53,53,49,51,54,50,52,53,49,51,54,50,52,53,51,54,49,50,52,53,53,52,53,52,51,54,49,51,54,50,52,53,49,51,54,50,52,53,49,51,54,50,52,53,50,53,53,49,51,54,50,52,53,61,0,0,62,61,0,61,0,0,0,57,61,58,62,55,59,57,61,58,62,55,59,57,58,55,58,55,57,59,57,61,58,62,55,59,57,61,58,62,55,59,57,58,55,59,57,61,58,62,55,59,55,55,57,61,61,58,62,62,55,57,61,58,62,55,59,58,57,55,59,57,61,58,62,55,59,57,61,58,62,55,59,55,57,58,55,59,61,62,55,57,55,57,57,58,55,59,57,58,59,59,58,55,58,55,61,62,57,61,58,62,55,59,57,61,58,62,55,59,57,61,58,62,55,59,58,55,57,61,58,62,55,59,0,30,0,30,0,0,68,65,68,69,30,65,68,69,30,65,69,30,65,69,30,65,68,69,65,69,65,68,69,30,65,68,69,30,65,30,65,68,69,30,69,30,30,65,68,69,30,65,68,69,30,0,30,65,68,69,30,65,68,69,30,69,65,68,69,68,65,30,68,65,69,30,65,68,69,30,65,68,69,30,65,68,69,30,65,68,69,30],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,2],[1,2],[[]],[[]],[[]],[[]],[[]],[[]],[3,3],[4,4],[1,1],[[]],[[]],[[]],0,[5],[5],[5],[5],[5],[5],[6,[[7,[3]]]],[6,[[7,[4]]]],[6,[[7,[1]]]],[5],[5],[5],[[1,1],8],[[],8],[[3,9],10],[[4,9],10],[[1,9],10],[11,3],[[]],[12,4],[[]],[[]],[[1,13]],[[],5],[[],5],[[],5],[[]],[[]],[[]],0,0,0,[[3,14],7],[[4,14],7],[[1,14],7],0,[4,[[16,[15]]]],[[]],[[]],[[]],0,[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],17],[[],17],[[],17],[[4,[18,[15]],[19,[3]]],[[7,[0]]]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[20,[[7,[21,22]]]],[23,23],[24,24],[25,25],[26,26],[27,27],[21,21],[[]],[[]],[[]],[[]],[[]],[[]],[[23,23],28],[[20,[19,[[29,[5]]]]],[[7,[23,22]]]],[[20,[19,[[29,[5]]]]],[[7,[23,22]]]],[27,[[18,[15]]]],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[6,[[7,[23]]]],[6,[[7,[24]]]],[6,[[7,[25]]]],[6,[[7,[26]]]],[6,[[7,[27]]]],[6,[[7,[21]]]],[24,30],[5],[5],[5],[5],[5],[5],[5],[5],[[23,23],8],[[24,24],8],[[26,26],8],[[],8],[[],8],[[],8],[[20,9],[[7,[31]]]],[[22,9],10],[[22,9],10],[[23,9],10],[[24,9],10],[[26,9],10],[[21,9],[[7,[31]]]],[[]],[[]],[[]],[[]],[[]],[32,25],[[]],[[]],[33,27],[[]],[[21,23],[[34,[25]]]],[[21,26,[29,[5]],30],[[34,[23]]]],[[21,23],[[34,[24]]]],[[23,13]],[[24,13]],[25,35],[[26,13]],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[27,[[16,[15]]]],[24,26],[25,26],[27,26],[21,36],[21,37],[[23,23],[[34,[28]]]],[38],[24,[[29,[5]]]],[[27,[18,[[40,[39]]]]],25],[[23,14],7],[[24,14],7],[[25,14],7],[[26,14],7],[[27,14],7],[[21,14],7],[[]],[[]],[[]],[[]],[[]],[[]],[[],41],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[]],[[]],[[]],[[]],[32,32],[33,33],[[]],[[]],[33,[[18,[15]]]],[5],[5],[5],[5],[6,[[7,[32]]]],[6,[[7,[33]]]],[5],[5],[[32,9],[[7,[31]]]],[[]],[[]],[32,35],[[],5],[[],5],[[]],[[]],[33,[[16,[15]]]],[[[18,[[40,[42]]]]],32],[32,43],[[32,[16,[15]]],33],[[33,[18,[[40,[39]]]]],32],[[32,14],7],[[33,14],7],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],17],[[],17],[[]],[[]],0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[36,36],[44,44],[37,37],[[]],[[]],[[]],[[],37],[5],[5],[5],[5],[5],[5],[5],[5],[6,[[7,[36]]]],[6,[[7,[44]]]],[6,[[7,[37]]]],[5],[5],[5],[5],[[36,36],8],[[45,45],8],[[],8],[[36,9],10],[[45,9],10],[[45,9],10],[[]],[[[46,[15]]],36],[[]],[[]],[[]],[[[18,[35]]],[[7,[37,45]]]],[[],5],[[],5],[[],5],[[],5],[[]],[[]],[[]],[[]],[[37,[18,[5]]],44],[38],[37,36],[[36,14],7],[[44,14],7],[[37,14],7],[36,[[46,[15]]]],[[]],[[]],[[]],[[],41],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],17],[[],17],[[],17],[[],17],[[44,36,[18,[5]],[18,[35]]],[[7,[45]]]],[[]],[[]],[[]],[[]],0,0,0,0,0,[[]],[[]],[[]],[[]],[5],[5],[5],[5],[6,[[7,[47]]]],[6,[[7,[48]]]],[5],[5],[[47,9],10],[[48,9],10],[[]],[[]],0,[[],5],[[],5],[[]],[[]],[[47,14],7],[[48,14],7],0,[[],7],[[],7],[[],7],[[],7],[[],17],[[],17],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[49,[[7,[50,51]]]],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[6,[[7,[50]]]],[6,[[7,[52]]]],[6,[[7,[53]]]],[5],[5],[5],[5],[5],[5],[[49,9],[[7,[31]]]],[[51,9],10],[[51,9],10],[[54,9],10],[[54,9],10],[[50,9],[[7,[31]]]],[[52,9],10],[[53,9],10],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[]],[[]],[[]],[[]],[[]],[[]],[38],[38],[[49,23],[[7,[49,51]]]],[[50,14],7],[[52,14],7],[[53,14],7],0,0,0,0,[[],41],[[],41],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[50,55],[[7,[54]]]],[[53,[19,[3]],56],[[7,[0]]]],[[53,[19,[3]]],[[7,[0]]]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[57,49],[58,58],[55,55],[[]],[[]],[57,21],[59,57],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[6,[[7,[57]]]],[6,[[7,[58]]]],[6,[[7,[55]]]],[6,[[7,[59]]]],[5],[5],[5],[5],[5],[5],[55,60],[55,[[46,[15]]]],[[57,9],[[7,[31]]]],[[61,9],10],[[61,9],10],[[58,9],10],[[62,9],10],[[62,9],10],[[55,9],10],[[]],[[]],[[]],[[]],[[]],[[]],[58,35],[57,[[64,[63]]]],[55,58],[59,55],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[]],[[]],[[]],[[]],[[]],[[]],[55,36],[[1,[64,[63]],65,65,21],57],[[66,67,35],58],[[[46,[15]],36,5,5,58],55],[[55,[34,[4]],57],59],[38],[38],[55,5],[57,65],[55,5],[57,65],[[57,14],7],[[58,14],7],[[55,14],7],[[59,14],7],[57,1],[58,67],[59,53],[59,[[34,[4]]]],[58,66],[55,66],[[]],[[]],[[],41],[[],41],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[58,[64,[63]]],[[7,[61]]]],[[55,66,67,36,[46,[15]],[64,[63]]],[[7,[62]]]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,[68,[[29,[5]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[65,65],[69,69],[30,30],[[]],[[]],[[]],[65,70],[68,[[18,[15]]]],[69,[[18,[15]]]],[[],65],[[],69],[5],[5],[5],[5],[5],[5],[5],[5],[6,[[7,[65]]]],[6,[[7,[30]]]],[5],[5],[5],[5],[[69,69],8],[[30,30],8],[[],8],[[65,9],10],[[68,9],10],[[69,9],10],[[30,9],10],[[]],[[]],[[]],[[]],[[[29,[5]],30],71],[[30,13]],[[],5],[[],5],[[],5],[[],5],[[]],[[]],[[]],[[]],[69,[[16,[15]]]],[[[19,[70]]],65],[[5,[16,[69]]],68],[69,[[72,[5]]]],[68,[[29,[5]]]],[[65,14],7],[[30,14],7],[[68,15]],[[]],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],17],[[],17],[[],17],[[],17],[[]],[[]],[[]],[[]]],"c":[],"p":[[4,"ServerName"],[15,"str"],[4,"NotaryPublicKey"],[4,"Signature"],[15,"usize"],[8,"Deserializer"],[4,"Result"],[15,"bool"],[3,"Formatter"],[6,"Result"],[6,"PublicKey"],[6,"Signature"],[8,"Hasher"],[8,"Serializer"],[15,"u8"],[3,"Vec"],[3,"TypeId"],[15,"slice"],[8,"Into"],[3,"TranscriptCommitmentBuilder"],[3,"TranscriptCommitments"],[4,"TranscriptCommitmentBuilderError"],[3,"CommitmentId"],[3,"CommitmentInfo"],[4,"Commitment"],[4,"CommitmentKind"],[4,"CommitmentOpening"],[4,"Ordering"],[3,"RangeSet"],[4,"Direction"],[3,"Error"],[3,"Blake3Commitment"],[3,"Blake3Opening"],[4,"Option"],[3,"Hash"],[3,"MerkleRoot"],[3,"MerkleTree"],[3,"Demand"],[3,"Full"],[4,"EncodedValue"],[3,"String"],[3,"Active"],[3,"Nonce"],[3,"MerkleProof"],[4,"MerkleError"],[15,"array"],[4,"TlsnMessage"],[3,"SignedSessionHeader"],[3,"SubstringsProofBuilder"],[3,"SubstringsProof"],[4,"SubstringsProofBuilderError"],[3,"TlsProof"],[3,"SessionProof"],[4,"SubstringsProofError"],[3,"SessionHeader"],[8,"ServerCertVerifier"],[3,"SessionData"],[3,"HandshakeSummary"],[3,"NotarizedSession"],[3,"ChaChaEncoder"],[4,"HandshakeVerifyError"],[4,"SessionHeaderVerifyError"],[3,"HandshakeData"],[3,"Decommitment"],[3,"Transcript"],[15,"u64"],[3,"PublicKey"],[3,"RedactedTranscript"],[3,"TranscriptSlice"],[3,"Bytes"],[8,"Iterator"],[3,"Range"]]},\ -"tlsn_notary":{"doc":"The notary library","t":"NNNDDDDEENNFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["IOError","MpcError","MuxerError","Notary","NotaryBackgroundFut","NotaryConfig","NotaryConfigBuilder","NotaryConfigBuilderError","NotaryError","UninitializedField","ValidationError","bind_notary","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","builder","clone","clone","clone_into","clone_into","compat","compat","compat","compat","compat","compat","compat_mut","compat_mut","compat_mut","compat_mut","compat_mut","compat_mut","compat_ref","compat_ref","compat_ref","compat_ref","compat_ref","compat_ref","default","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","drop","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","id","id","init","init","init","init","init","init","into","into","into","into","into","into","into_future","max_transcript_size","max_transcript_size","new","notarize","poll","provide","provide","source","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_poll","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip"],"q":[[0,"tlsn_notary"]],"d":["","","","A Notary instance.","A future that performs background processing for the …","Configuration for the Notary","Builder for NotaryConfig.","Error type for NotaryConfigBuilder","An error that can occur during notarization.","Uninitialized field","Custom validation error","Helper function to bind a new notary to the given socket.","","","","","","","","","","","","","Builds a new NotaryConfig.","Create a new builder for NotaryConfig.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","Returns the argument unchanged.","","","","Returns the ID of the notarization session.","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Get the maximum transcript size in bytes.","Maximum transcript size in bytes","Create a new Notary.","Runs the notary instance.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[6,6,6,0,0,0,0,0,0,9,9,0,30,26,1,8,9,6,30,26,1,8,9,6,8,1,1,8,1,8,30,26,1,8,9,6,30,26,1,8,9,6,30,26,1,8,9,6,8,30,26,1,8,9,6,30,26,1,8,9,6,30,26,1,8,9,6,1,9,9,6,6,30,26,1,8,9,9,9,6,6,6,6,6,6,6,1,8,30,26,1,8,9,6,30,26,1,8,9,6,30,1,8,26,26,30,9,6,6,1,8,9,6,30,26,1,8,9,6,30,26,1,8,9,6,30,30,26,1,8,9,6,30,26,1,8,9,6],"f":[0,0,0,0,0,0,0,0,0,0,0,[[1,[0,[2,3,4,5]]],[[7,[6]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[8,[[7,[1,9]]]],[[],8],[1,1],[8,8],[[]],[[]],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],8],[11],[11],[11],[11],[11],[11],[11],[11],[11],[11],[11],[11],[11],[11],[11],[11],[11],[11],[[1,12],13],[[9,12],13],[[9,12],13],[[6,12],13],[[6,12],13],[[]],[[]],[[]],[[]],[14,9],[[]],[15,9],[16,6],[17,6],[18,6],[[]],[19,6],[20,6],[21,6],[1,22],[[8,[23,[15]]],8],[[],11],[[],11],[[],11],[[],11],[[],11],[[],11],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[1,11],[[8,11],8],[[1,[25,[24]]],26],[[26,[28,[[23,[27]]]]],[[7,[29,6]]]],[[[31,[30]],32],33],[34],[34],[6,[[36,[35]]]],[[]],[[]],[[],15],[[],15],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[31,32],33],[[],37],[[],37],[[],37],[[],37],[[],37],[[],37],[[]],[[]],[[]],[[]],[[]],[[]]],"c":[],"p":[[3,"NotaryConfig"],[8,"AsyncWrite"],[8,"AsyncRead"],[8,"Send"],[8,"Unpin"],[4,"NotaryError"],[4,"Result"],[3,"NotaryConfigBuilder"],[4,"NotaryConfigBuilderError"],[3,"Compat"],[15,"usize"],[3,"Formatter"],[6,"Result"],[3,"UninitializedFieldError"],[3,"String"],[3,"Error"],[4,"ReceiverActorError"],[4,"OTError"],[4,"SenderActorError"],[4,"MuxerError"],[4,"MpcTlsError"],[15,"str"],[8,"Into"],[3,"UidYamuxControl"],[3,"BincodeMux"],[3,"Notary"],[4,"Signature"],[8,"Signer"],[3,"SessionHeader"],[3,"NotaryBackgroundFut"],[3,"Pin"],[3,"Context"],[4,"Poll"],[3,"Demand"],[8,"Error"],[4,"Option"],[3,"TypeId"]]},\ -"tlsn_prover":{"doc":"The prover library","t":"NDNNNDNNNNDDDEDINDNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["AsyncClientError","Closed","CommitmentBuilder","CommitmentError","IOError","Initialized","InvalidServerName","MpcError","MuxerError","NotarizationError","Notarize","Prover","ProverConfig","ProverError","ProverFuture","ProverState","ServerNoCloseNotify","Setup","TlsClientError","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","builder","clone","clone_into","commitment_builder","compat","compat","compat","compat","compat","compat","compat","compat","compat_mut","compat_mut","compat_mut","compat_mut","compat_mut","compat_mut","compat_mut","compat_mut","compat_ref","compat_ref","compat_ref","compat_ref","compat_ref","compat_ref","compat_ref","compat_ref","connect","deref","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","drop","drop","drop","finalize","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into_future","max_transcript_size","new","poll","provide","recv_transcript","recv_transcript","sent_transcript","sent_transcript","server_dns","setup","source","start_notarize","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_poll","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip"],"q":[[0,"tlsn_prover"]],"d":["","State after the TLS connection has been closed.","","","","Entry state","","","","","The state for the Prover during notarization","A prover instance.","Configuration for the prover","An error that can occur during proving.","Prover future which must be polled for the TLS connection …","","","State after MPC setup has completed.","","","","","","","","","","","","","","","","","","Create a new builder for ProverConfig.","","","Returns the transcript commitment builder","","","","","","","","","","","","","","","","","","","","","","","","","Connects to the server using the provided socket.","","","","","","","","","","","","","","","","","","","","","","","","","Finalize the notarization returning a NotarizedSession","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Get the maximum transcript size in bytes.","Creates a new prover.","","","Returns the transcript of the received responses","Returns the transcript of the received responses","Returns the transcript of the sent requests","Returns the transcript of the sent requests","Returns the server DNS name.","Set up the prover.","","Starts notarization of the TLS session.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[11,0,11,11,11,0,11,11,11,11,0,0,0,0,0,0,11,0,11,15,6,18,2,33,1,11,3,15,6,18,2,33,1,11,3,1,1,1,3,15,6,18,2,33,1,11,3,15,6,18,2,33,1,11,3,15,6,18,2,33,1,11,3,3,15,6,18,2,33,1,11,3,15,6,18,2,33,1,11,3,15,6,18,2,33,1,11,3,3,15,6,18,2,1,11,11,3,15,6,18,2,2,33,1,11,11,11,11,11,11,11,11,11,11,11,11,3,15,6,18,2,33,1,11,3,15,6,18,2,33,1,11,3,33,1,3,33,11,3,3,3,3,1,3,11,3,1,11,15,6,18,2,33,1,11,3,15,6,18,2,33,1,11,3,33,15,6,18,2,33,1,11,3,15,6,18,2,33,1,11,3],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[1,1],[[]],[[[3,[2]]],4],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[[3,[6]],[0,[7,8,9,10]]],[[12,[11]]]],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[[[3,[2]]],[[12,[14,11]]]],[[15,16],[[12,[17]]]],[[6,16],[[12,[17]]]],[[18,16],[[12,[17]]]],[[2,16],[[12,[17]]]],[[1,16],19],[[11,16],19],[[11,16],19],[[[3,[[0,[20,21]]]],16],19],[[]],[[]],[[]],[18,2],[[]],[[]],[[]],[22,11],[23,11],[24,11],[25,11],[26,11],[27,11],[28,11],[29,11],[30,11],[31,11],[[]],[32,11],[[]],[[],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[1,13],[1,[[3,[15]]]],[[[34,[33]],35],36],[37],[[[3,[18]]],38],[[[3,[2]]],38],[[[3,[2]]],38],[[[3,[18]]],38],[1,39],[[[3,[15]],[0,[7,8,9,10]]],[[12,[[3,[6]],11]]]],[11,[[41,[40]]]],[[[3,[18]]],[[3,[2]]]],[[]],[[],42],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[34,35],36],[[],43],[[],43],[[],43],[[],43],[[],43],[[],43],[[],43],[[],43],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]]],"c":[],"p":[[3,"ProverConfig"],[3,"Notarize"],[3,"Prover"],[3,"TranscriptCommitmentBuilder"],[3,"Compat"],[3,"Setup"],[8,"AsyncWrite"],[8,"AsyncRead"],[8,"Send"],[8,"Unpin"],[4,"ProverError"],[4,"Result"],[15,"usize"],[3,"NotarizedSession"],[3,"Initialized"],[3,"Formatter"],[3,"Error"],[3,"Closed"],[6,"Result"],[8,"Debug"],[8,"ProverState"],[4,"ReceiverActorError"],[4,"Error"],[3,"InvalidDnsNameError"],[4,"TranscriptCommitmentBuilderError"],[4,"OTError"],[4,"SenderActorError"],[4,"MuxerError"],[3,"Error"],[4,"ConnectionError"],[4,"MerkleError"],[4,"MpcTlsError"],[3,"ProverFuture"],[3,"Pin"],[3,"Context"],[4,"Poll"],[3,"Demand"],[3,"Transcript"],[15,"str"],[8,"Error"],[4,"Option"],[3,"String"],[3,"TypeId"]]}\ +"tlsn_core":{"doc":"TLSNotary core protocol library.","t":"CNCCENNCECCECCLLLLLLLLLLLLLLALLLLLLLLLLLLLLALLLLLLLLLLLLLLLAAALLLALLLLALLLLLLLLLLLLLNNNEDDEENNNDEDALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAFFFFFFFFFFFFFDFLLMMLLMLLMLLMLLMMMLMMFLLLLENDNDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNDNENLLLLLLLLLLLLLLLLMLLLLLLMLLLLLLLLNNNNNNNNDDDEEDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLMMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNDENNDNDDELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLENDNDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["Direction","Dns","HandshakeSummary","NotarizedSession","NotaryPublicKey","P256","P256","RedactedTranscript","ServerName","SessionData","SessionHeader","Signature","Transcript","TranscriptSlice","as_ref","as_str","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","commitment","deref","deref","deref","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","drop","drop","drop","eq","equivalent","fixtures","fmt","fmt","fmt","from","from","from","from","from","hash","init","init","init","into","into","into","merkle","msg","proof","serialize","serialize","serialize","session","to_bytes","to_owned","to_owned","to_owned","transcript","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","verify","vzip","vzip","vzip","Blake3","Blake3","Blake3","Commitment","CommitmentId","CommitmentInfo","CommitmentKind","CommitmentOpening","Duplicate","MissingEncodings","NoCommitments","TranscriptCommitmentBuilder","TranscriptCommitmentBuilderError","TranscriptCommitments","blake3","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","commit_recv","commit_sent","data","deref","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","direction","drop","drop","drop","drop","drop","drop","drop","drop","eq","eq","eq","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","get","get_id_by_info","get_info","hash","hash","hash","hash","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into_data","kind","kind","kind","merkle_root","merkle_tree","partial_cmp","ranges","recover","serialize","serialize","serialize","serialize","serialize","serialize","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Blake3Commitment","Blake3Opening","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","data","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","fmt","from","from","hash","init","init","into","into","into_data","new","nonce","open","recover","serialize","serialize","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","cert","client_random","encoder","encoder_seed","encoding_provider","handshake_commitment","handshake_data","handshake_summary","notary_signing_key","server_cert_details","server_ephemeral_key","server_kx_details","server_random","session_header","TestData","appliedzkp","borrow","borrow_mut","ca","cr","deref","deref_mut","dns_name","drop","dss","ee","from","init","inter","into","kx_params","pubkey","sig","sig_scheme","signature_msg","sr","time","tlsnotary","try_from","try_into","type_id","vzip","MerkleError","MerkleNoLeavesProvided","MerkleProof","MerkleProofVerificationFailed","MerkleRoot","MerkleTree","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","default","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","drop","drop","drop","drop","eq","eq","equivalent","fmt","fmt","fmt","from","from","from","from","from","from_leaves","init","init","init","init","into","into","into","into","proof","root","serialize","serialize","serialize","to_inner","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","verify","vzip","vzip","vzip","vzip","SessionHeader","SignedSessionHeader","SignedSessionHeader","TlsnMessage","TranscriptCommitmentRoot","borrow","borrow","borrow_mut","borrow_mut","deref","deref","deref_mut","deref_mut","deserialize","deserialize","drop","drop","fmt","fmt","from","from","header","init","init","into","into","serialize","serialize","signature","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","DuplicateCommitmentId","DuplicateData","InvalidCommitmentId","InvalidCommitmentType","InvalidInclusionProof","InvalidOpening","MaxDataExceeded","RangeOutOfBounds","SessionProof","SubstringsProof","SubstringsProofBuilder","SubstringsProofBuilderError","SubstringsProofError","TlsProof","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","handshake_data_decommitment","header","init","init","init","init","init","init","into","into","into","into","into","into","reveal","serialize","serialize","serialize","server_name","session","signature","substrings","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","verify","verify","verify_with_default_cert_verifier","vzip","vzip","vzip","vzip","vzip","vzip","Commitment","HandshakeSummary","HandshakeVerifyError","InconsistentHeader","KxParams","NotarizedSession","ServerEphemKey","SessionData","SessionHeader","SessionHeaderVerifyError","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build_substrings_proof","clone","clone","clone_into","clone_into","commitments","data","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","deserialize","deserialize","drop","drop","drop","drop","drop","drop","encoder","encoder_seed","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","handshake_commitment","handshake_data_decommitment","handshake_summary","header","init","init","init","init","init","init","into","into","into","into","into","into","merkle_root","new","new","new","new","recv_len","recv_transcript","sent_len","sent_transcript","serialize","serialize","serialize","serialize","server_name","server_public_key","session_proof","signature","time","time","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","verify","verify","vzip","vzip","vzip","vzip","vzip","vzip","Direction","Received","RedactedTranscript","Sent","Transcript","TranscriptSlice","authed","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","data","data","data","default","default","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deserialize","deserialize","drop","drop","drop","drop","eq","eq","equivalent","fmt","fmt","fmt","fmt","from","from","from","from","get_value_ids","hash","init","init","init","init","into","into","into","into","into_bytes","new","new","range","redacted","serialize","serialize","set_redacted","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip"],"q":[[0,"tlsn_core"],[84,"tlsn_core::commitment"],[263,"tlsn_core::commitment::blake3"],[307,"tlsn_core::fixtures"],[321,"tlsn_core::fixtures::cert"],[349,"tlsn_core::merkle"],[432,"tlsn_core::msg"],[469,"tlsn_core::proof"],[582,"tlsn_core::session"],[713,"tlsn_core::transcript"]],"d":["","A DNS name.","","","A Notary public key.","A NIST P-256 public key.","A secp256r1 signature.","","A Server’s name.","","","A Notary signature.","","","","Returns a reference to the server name as a string slice.","","","","","","","","","","","","","Types related to transcript commitments.","","","","","","","","","","","","","","","Fixtures for testing","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Merkle tree types.","Protocol message types.","Different types of proofs used in the TLSNotary protocol.","","","","TLS session types.","Returns the bytes of this signature.","","","","Transcript data types.","","","","","","","","","","Verifies the signature.","","","","A BLAKE3 commitment to encodings of the transcript.","A BLAKE3 commitment to encodings of the transcript.","An opening to a BLAKE3 commitment","A commitment to some bytes in a transcript","A commitment id.","Info of a transcript commitment","The kind of a Commitment.","An opening to a commitment to the transcript.","Duplicate commitment","Failed to retrieve encodings for the provided transcript …","No commitments were added","A builder for TranscriptCommitments.","An error for TranscriptCommitmentBuilder","A collection of transcript commitments.","BLAKE3 commitments.","","","","","","","","","","","","","","","","","Builds the TranscriptCommitments","","","","","","","","","","","","","","Commits to the provided ranges of the received transcript.","Commits to the provided ranges of the sent transcript.","Returns the transcript data corresponding to this opening","","","","","","","","","","","","","","","","","","","","","","","Returns the direction of this commitment","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns a commitment if it exists.","Returns the commitment id for a commitment with the given …","Returns commitment info, if it exists.","","","Returns the hash of this commitment","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the transcript data corresponding to this opening","Returns the kind of this commitment","Returns the kind of this commitment","Returns the kind of this opening","Returns the merkle root of the commitments.","Returns the merkle tree of the commitments.","","Returns the ranges of this commitment","Recovers the expected commitment from this opening.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A Blake3 commitment to the encodings of the substrings of …","A substring opening using Blake3","","","","","","","","","Returns the transcript data corresponding to this opening","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the hash of this commitment","","","Calls U::from(self).","Calls U::from(self).","Returns the transcript data corresponding to this opening","Creates a new Blake3 commitment","Returns the nonce of this commitment","Opens this commitment","Recovers the expected commitment from this opening.","","","","","","","","","","","","","Certificate fixtures","Returns a client random fixture.","Returns an encoder fixture.","Returns an encoder seed fixture.","Returns an encoding provider fixture using the given …","Returns a handshake commitment fixture.","Returns a handshake data fixture.","Returns a handshake summary fixture.","Returns a notary signing key fixture.","Returns a server certificate details fixture.","Returns a server ephemeral key fixture.","Returns a server key exchange details fixture.","Returns a server random fixture.","Returns a session header fixture using the given …","Collects data needed for testing","Returns test data for the appliedzkp.org website","","","CA cert","client random","","","DNS name of the website","","Returns the DigitallySignedStruct","end-entity cert","Returns the argument unchanged.","","intermediate cert","Calls U::from(self).","Returns the ServerECDHParams in encoded form","server ephemeral P256 pubkey","server signature over the key exchange parameters","algorithm used to create the sig","Returns the client random + server random + kx params in …","server random","unix time when TLS handshake began","Returns test data for the tlsnotary.org website","","","","","Errors that can occur during operations with Merkle tree …","","A Merkle proof.","","A Merkle root.","A Merkle tree.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Create a new Merkle tree from the given leaves","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Creates an inclusion proof for the given indices","Returns the Merkle root for this MerkleTree","","","","Returns the inner byte array","","","","","","","","","","","","","","","","","Checks if indices, hashes and leaves count are valid for …","","","","","A session header.","A signed session header.","A session header signed by a notary.","Top-level enum for all messages","A Merkle root for the tree of commitments to the …","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","The session header","","","Calls U::from(self).","Calls U::from(self).","","","The notary’s signature","","","","","","","","","Attempted to add a commitment with a duplicate id.","The proof contains duplicate transcript data.","Invalid commitment id.","Invalid commitment type.","The proof contains an invalid inclusion proof.","The proof contains an invalid commitment opening.","The proof contains more data than the maximum allowed.","Range of the opening is out of bounds.","Proof of the TLS handshake, server identity, and …","A substring proof containing the commitment openings and a …","A builder for SubstringsProof","An error for SubstringsProofBuilder","An error relating to SubstringsProof","Proof that a transcript of communications took place …","","","","","","","","","","","","","Builds the SubstringsProof","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Decommitment to the TLS handshake and server identity.","The session header","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Reveals data corresponding to the provided commitment id","","","","The server name.","Proof of the TLS handshake, server identity, and …","Signature for the session header, if the notary signed it","Proof regarding the contents of the transcript.","","","","","","","","","","","","","","","","","","","","","Verifies this proof and, if successful, returns the …","Verify the session proof, returning the server’s name.","Verify the session proof using trust anchors from the …","","","","","","","The handshake data does not match the commitment","Handshake summary is part of the session header signed by …","An error that can occur while verifying a handshake summary","The session header is not consistent with the provided data","The key exchange parameters are invalid","A validated notarized session stored by the Prover","The server ephemeral key does not match","Notarized session data.","An authentic session header from the Notary","An error that can occur while verifying a session header","","","","","","","","","","","","","Returns a substrings proof builder.","","","","","Returns the transcript commitments.","Returns the SessionData","","","","","","","","","","","","","","","","","","","","","","","Create a new ChaChaEncoder from encoder_seed","Returns the seed used to generate plaintext encodings","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns commitment to the handshake data","Returns the decommitment to handshake data","Returns the HandshakeSummary of the TLS session between …","Returns the SessionHeader","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the merkle_root of the merkle tree of the prover’…","Creates new session data.","Creates a new HandshakeSummary","Create a new instance of SessionHeader","Create a new notarized session.","Returns the number of bytes received by the server","Returns the transcript for data received from the server","Returns the number of bytes sent to the server","Returns the transcript for data sent to the server","","","","","Returns the server name.","Returns the server ephemeral public key","Returns a proof of the TLS session","Returns the signature for the session header, if the …","Time of the TLS session, in seconds since the UNIX epoch.","Time of the TLS session, in seconds since the UNIX epoch.","","","","","","","","","","","","","","","","","","","","","","","Verifies that the provided handshake data matches this …","Verify the data in the header is consistent with the Prover…","","","","","","","The direction of data communicated over a TLS connection.","Received by the prover from the server","A transcript which may have some data redacted.","Sent from the prover to the server","A transcript contains a subset of bytes from a TLS session","Slice of a transcript.","Returns all the ranges of data which have been …","","","","","","","","","","","","","","","Returns the actual traffic data of this transcript","Returns a reference to the data.","Returns the bytes of this slice","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the value ID for each byte in the provided range …","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns the bytes of this slice","Creates a new transcript with the given ID and data","Creates a new redacted transcript with the given length.","Returns the range of bytes this slice refers to in the …","Returns all the ranges of data which have been redacted.","","","Sets all bytes in the transcript which were redacted.","","","","","","","","","","","","","","","","","","",""],"i":[0,1,0,0,0,3,4,0,0,0,0,0,0,0,1,1,3,4,1,3,4,1,3,4,1,3,4,1,0,3,4,1,3,4,1,3,4,1,3,4,1,1,1,0,3,4,1,3,3,4,4,1,1,3,4,1,3,4,1,0,0,0,3,4,1,0,4,3,4,1,0,3,4,1,3,4,1,3,4,1,4,3,4,1,25,26,27,0,0,0,0,0,22,22,22,0,0,0,0,20,22,23,24,25,26,27,21,20,22,23,24,25,26,27,21,20,23,24,25,26,27,21,23,24,25,26,27,21,23,20,20,27,20,22,23,24,25,26,27,21,20,22,23,24,25,26,27,21,23,24,25,26,27,21,24,20,22,23,24,25,26,27,21,23,24,26,23,24,26,20,22,22,23,24,26,21,20,22,23,24,25,25,26,27,27,21,21,21,21,23,24,25,26,20,22,23,24,25,26,27,21,20,22,23,24,25,26,27,21,27,24,25,27,21,21,23,24,27,23,24,25,26,27,21,23,24,25,26,27,21,22,20,22,23,24,25,26,27,21,20,22,23,24,25,26,27,21,20,22,23,24,25,26,27,21,20,22,23,24,25,26,27,21,0,0,32,33,32,33,32,33,32,33,33,32,33,32,33,32,33,32,33,32,32,33,32,32,33,32,33,33,32,32,32,33,32,33,32,33,32,33,32,33,32,33,32,33,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,0,55,55,55,55,0,58,0,58,0,0,36,58,57,37,36,58,57,37,36,57,37,36,57,37,37,36,58,57,37,36,58,57,37,36,57,37,36,58,57,37,36,58,36,36,58,58,36,36,58,57,37,37,36,58,57,37,36,58,57,37,37,37,36,57,37,36,36,57,37,58,36,58,57,37,36,58,57,37,36,58,57,37,57,36,58,57,37,59,0,59,0,59,59,60,59,60,59,60,59,60,59,60,59,60,59,60,59,60,60,59,60,59,60,59,60,60,59,60,59,60,59,60,59,60,63,66,63,63,66,66,66,66,0,0,0,0,0,0,61,63,66,62,64,65,61,63,66,62,64,65,61,61,63,66,62,64,65,61,63,66,62,64,65,62,64,65,61,63,66,62,64,65,61,63,63,66,66,62,64,65,61,63,66,62,64,65,65,65,61,63,66,62,64,65,61,63,66,62,64,65,61,62,64,65,65,64,65,64,63,66,61,63,66,62,64,65,61,63,66,62,64,65,61,63,66,62,64,65,62,65,65,61,63,66,62,64,65,70,0,0,71,70,0,70,0,0,0,68,70,49,71,54,69,68,70,49,71,54,69,68,49,54,49,54,68,69,68,70,49,71,54,69,68,70,49,71,54,69,68,49,54,69,68,70,49,71,54,69,54,54,68,70,70,49,71,71,54,68,70,49,71,54,69,49,68,54,69,68,70,49,71,54,69,68,70,49,71,54,69,54,68,49,54,69,54,68,54,68,68,49,54,69,68,49,69,69,49,54,49,54,70,71,68,70,49,71,54,69,68,70,49,71,54,69,68,70,49,71,54,69,49,54,68,70,49,71,54,69,0,30,0,30,0,0,75,73,75,76,30,73,75,76,30,73,76,30,73,76,30,73,75,76,73,76,73,75,76,30,73,75,76,30,73,30,73,75,76,30,76,30,30,73,75,76,30,73,75,76,30,0,30,73,75,76,30,73,75,76,30,76,73,75,76,75,73,30,75,73,76,30,73,75,76,30,73,75,76,30,73,75,76,30,73,75,76,30],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,2],[1,2],[[]],[[]],[[]],[[]],[[]],[[]],[3,3],[4,4],[1,1],[[]],[[]],[[]],0,[5],[5],[5],[5],[5],[5],[6,[[7,[3]]]],[6,[[7,[4]]]],[6,[[7,[1]]]],[5],[5],[5],[[1,1],8],[[],8],0,[[3,9],10],[[4,9],10],[[1,9],10],[11,3],[[]],[[]],[12,4],[[]],[[1,13]],[[],5],[[],5],[[],5],[[]],[[]],[[]],0,0,0,[[3,14],7],[[4,14],7],[[1,14],7],0,[4,[[16,[15]]]],[[]],[[]],[[]],0,[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],17],[[],17],[[],17],[[4,[18,[15]],[19,[3]]],[[7,[0]]]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[20,[[7,[21,22]]]],[23,23],[24,24],[25,25],[26,26],[27,27],[21,21],[[]],[[]],[[]],[[]],[[]],[[]],[[23,23],28],[[20,[19,[[29,[5]]]]],[[7,[23,22]]]],[[20,[19,[[29,[5]]]]],[[7,[23,22]]]],[27,[[18,[15]]]],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[6,[[7,[23]]]],[6,[[7,[24]]]],[6,[[7,[25]]]],[6,[[7,[26]]]],[6,[[7,[27]]]],[6,[[7,[21]]]],[24,30],[5],[5],[5],[5],[5],[5],[5],[5],[[23,23],8],[[24,24],8],[[26,26],8],[[],8],[[],8],[[],8],[[20,9],[[7,[31]]]],[[22,9],10],[[22,9],10],[[23,9],10],[[24,9],10],[[26,9],10],[[21,9],[[7,[31]]]],[[]],[[]],[[]],[[]],[32,25],[[]],[[]],[33,27],[[]],[[]],[[21,23],[[34,[25]]]],[[21,26,[29,[5]],30],[[34,[23]]]],[[21,23],[[34,[24]]]],[[23,13]],[[24,13]],[25,35],[[26,13]],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[27,[[16,[15]]]],[24,26],[25,26],[27,26],[21,36],[21,37],[[23,23],[[34,[28]]]],[24,[[29,[5]]]],[[27,[18,[[39,[38]]]]],25],[[23,14],7],[[24,14],7],[[25,14],7],[[26,14],7],[[27,14],7],[[21,14],7],[[]],[[]],[[]],[[]],[[]],[[]],[[],40],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[]],[[]],[[]],[[]],[32,32],[33,33],[[]],[[]],[33,[[18,[15]]]],[5],[5],[5],[5],[6,[[7,[32]]]],[6,[[7,[33]]]],[5],[5],[[32,9],[[7,[31]]]],[[]],[[]],[32,35],[[],5],[[],5],[[]],[[]],[33,[[16,[15]]]],[[[18,[[39,[41]]]]],32],[32,42],[[32,[16,[15]]],33],[[33,[18,[[39,[38]]]]],32],[[32,14],7],[[33,14],7],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],17],[[],17],[[]],[[]],0,[[],43],[[],44],[[],[[45,[15]]]],[[[18,[15]],[18,[15]]],[[47,[46]]]],[[],35],[[],48],[[],49],[[],50],[[],51],[[],52],[[],53],[[],43],[[36,5,5],54],0,[[],55],[[]],[[]],0,0,[5],[5],0,[5],[55,56],0,[[]],[[],5],0,[[]],[55,[[16,[15]]]],0,0,0,[55,[[16,[15]]]],0,0,[[],55],[[],7],[[],7],[[],17],[[]],0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[36,36],[57,57],[37,37],[[]],[[]],[[]],[[],37],[5],[5],[5],[5],[5],[5],[5],[5],[6,[[7,[36]]]],[6,[[7,[57]]]],[6,[[7,[37]]]],[5],[5],[5],[5],[[36,36],8],[[58,58],8],[[],8],[[36,9],10],[[58,9],10],[[58,9],10],[[[45,[15]]],36],[[]],[[]],[[]],[[]],[[[18,[35]]],[[7,[37,58]]]],[[],5],[[],5],[[],5],[[],5],[[]],[[]],[[]],[[]],[[37,[18,[5]]],57],[37,36],[[36,14],7],[[57,14],7],[[37,14],7],[36,[[45,[15]]]],[[]],[[]],[[]],[[],40],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],17],[[],17],[[],17],[[],17],[[57,36,[18,[5]],[18,[35]]],[[7,[58]]]],[[]],[[]],[[]],[[]],0,0,0,0,0,[[]],[[]],[[]],[[]],[5],[5],[5],[5],[6,[[7,[59]]]],[6,[[7,[60]]]],[5],[5],[[59,9],10],[[60,9],10],[[]],[[]],0,[[],5],[[],5],[[]],[[]],[[59,14],7],[[60,14],7],0,[[],7],[[],7],[[],7],[[],7],[[],17],[[],17],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[61,[[7,[62,63]]]],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[6,[[7,[62]]]],[6,[[7,[64]]]],[6,[[7,[65]]]],[5],[5],[5],[5],[5],[5],[[61,9],[[7,[31]]]],[[63,9],10],[[63,9],10],[[66,9],10],[[66,9],10],[[62,9],[[7,[31]]]],[[64,9],10],[[65,9],10],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[]],[[]],[[]],[[]],[[]],[[]],[[61,23],[[7,[61,63]]]],[[62,14],7],[[64,14],7],[[65,14],7],0,0,0,0,[[],40],[[],40],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[62,54],[[7,[66]]]],[[65,[19,[3]],67],[[7,[0]]]],[[65,[19,[3]]],[[7,[0]]]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[68,61],[49,49],[54,54],[[]],[[]],[68,21],[69,68],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[5],[6,[[7,[68]]]],[6,[[7,[49]]]],[6,[[7,[54]]]],[6,[[7,[69]]]],[5],[5],[5],[5],[5],[5],[54,44],[54,[[45,[15]]]],[[68,9],[[7,[31]]]],[[70,9],10],[[70,9],10],[[49,9],10],[[71,9],10],[[71,9],10],[[54,9],10],[[]],[[]],[[]],[[]],[[]],[[]],[49,35],[68,[[72,[48]]]],[54,49],[69,54],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[]],[[]],[[]],[[]],[[]],[[]],[54,36],[[1,[72,[48]],73,73,21],68],[[74,52,35],49],[[[45,[15]],36,5,5,49],54],[[54,[34,[4]],68],69],[54,5],[68,73],[54,5],[68,73],[[68,14],7],[[49,14],7],[[54,14],7],[[69,14],7],[68,1],[49,52],[69,65],[69,[[34,[4]]]],[49,74],[54,74],[[]],[[]],[[],40],[[],40],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],17],[[],17],[[],17],[[],17],[[],17],[[],17],[[49,[72,[48]]],[[7,[70]]]],[[54,74,52,36,[45,[15]],[72,[48]]],[[7,[71]]]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,[75,[[29,[5]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[73,73],[76,76],[30,30],[[]],[[]],[[]],[73,77],[75,[[18,[15]]]],[76,[[18,[15]]]],[[],73],[[],76],[5],[5],[5],[5],[5],[5],[5],[5],[6,[[7,[73]]]],[6,[[7,[30]]]],[5],[5],[5],[5],[[76,76],8],[[30,30],8],[[],8],[[73,9],10],[[75,9],10],[[76,9],10],[[30,9],10],[[]],[[]],[[]],[[]],[[[29,[5]],30],78],[[30,13]],[[],5],[[],5],[[],5],[[],5],[[]],[[]],[[]],[[]],[76,[[16,[15]]]],[[[19,[77]]],73],[[5,[16,[76]]],75],[76,[[79,[5]]]],[75,[[29,[5]]]],[[73,14],7],[[30,14],7],[[75,15]],[[]],[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],17],[[],17],[[],17],[[],17],[[]],[[]],[[]],[[]]],"c":[],"p":[[4,"ServerName"],[15,"str"],[4,"NotaryPublicKey"],[4,"Signature"],[15,"usize"],[8,"Deserializer"],[4,"Result"],[15,"bool"],[3,"Formatter"],[6,"Result"],[6,"PublicKey"],[6,"Signature"],[8,"Hasher"],[8,"Serializer"],[15,"u8"],[3,"Vec"],[3,"TypeId"],[15,"slice"],[8,"Into"],[3,"TranscriptCommitmentBuilder"],[3,"TranscriptCommitments"],[4,"TranscriptCommitmentBuilderError"],[3,"CommitmentId"],[3,"CommitmentInfo"],[4,"Commitment"],[4,"CommitmentKind"],[4,"CommitmentOpening"],[4,"Ordering"],[3,"RangeSet"],[4,"Direction"],[3,"Error"],[3,"Blake3Commitment"],[3,"Blake3Opening"],[4,"Option"],[3,"Hash"],[3,"MerkleRoot"],[3,"MerkleTree"],[3,"Full"],[4,"EncodedValue"],[3,"String"],[3,"Active"],[3,"Nonce"],[3,"Random"],[3,"ChaChaEncoder"],[15,"array"],[8,"Fn"],[3,"Box"],[3,"HandshakeData"],[3,"HandshakeSummary"],[6,"SigningKey"],[3,"ServerCertDetails"],[3,"PublicKey"],[3,"ServerKxDetails"],[3,"SessionHeader"],[3,"TestData"],[3,"DigitallySignedStruct"],[3,"MerkleProof"],[4,"MerkleError"],[4,"TlsnMessage"],[3,"SignedSessionHeader"],[3,"SubstringsProofBuilder"],[3,"SubstringsProof"],[4,"SubstringsProofBuilderError"],[3,"TlsProof"],[3,"SessionProof"],[4,"SubstringsProofError"],[8,"ServerCertVerifier"],[3,"SessionData"],[3,"NotarizedSession"],[4,"HandshakeVerifyError"],[4,"SessionHeaderVerifyError"],[3,"Decommitment"],[3,"Transcript"],[15,"u64"],[3,"RedactedTranscript"],[3,"TranscriptSlice"],[3,"Bytes"],[8,"Iterator"],[3,"Range"]]},\ +"tlsn_notary":{"doc":"The notary library","t":"NNNDDDDEENNFLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["IOError","MpcError","MuxerError","Notary","NotaryBackgroundFut","NotaryConfig","NotaryConfigBuilder","NotaryConfigBuilderError","NotaryError","UninitializedField","ValidationError","bind_notary","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","builder","clone","clone","clone_into","clone_into","compat","compat","compat","compat","compat","compat","compat_mut","compat_mut","compat_mut","compat_mut","compat_mut","compat_mut","compat_ref","compat_ref","compat_ref","compat_ref","compat_ref","compat_ref","default","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","drop","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","id","id","init","init","init","init","init","init","into","into","into","into","into","into","into_future","max_transcript_size","max_transcript_size","new","notarize","poll","source","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_poll","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip"],"q":[[0,"tlsn_notary"]],"d":["","","","A Notary instance.","A future that performs background processing for the …","Configuration for the Notary","Builder for NotaryConfig.","Error type for NotaryConfigBuilder","An error that can occur during notarization.","Uninitialized field","Custom validation error","Helper function to bind a new notary to the given socket.","","","","","","","","","","","","","Builds a new NotaryConfig.","Create a new builder for NotaryConfig.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","","","Returns the argument unchanged.","","","","","Returns the ID of the notarization session.","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Get the maximum transcript size in bytes.","Maximum transcript size in bytes","Create a new Notary.","Runs the notary instance.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[6,6,6,0,0,0,0,0,0,9,9,0,30,26,1,8,9,6,30,26,1,8,9,6,8,1,1,8,1,8,30,26,1,8,9,6,30,26,1,8,9,6,30,26,1,8,9,6,8,30,26,1,8,9,6,30,26,1,8,9,6,30,26,1,8,9,6,1,9,9,6,6,30,26,1,8,9,9,9,6,6,6,6,6,6,6,1,8,30,26,1,8,9,6,30,26,1,8,9,6,30,1,8,26,26,30,6,1,8,9,6,30,26,1,8,9,6,30,26,1,8,9,6,30,30,26,1,8,9,6,30,26,1,8,9,6],"f":[0,0,0,0,0,0,0,0,0,0,0,[[1,[0,[2,3,4,5]]],[[7,[6]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[8,[[7,[1,9]]]],[[],8],[1,1],[8,8],[[]],[[]],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],10],[[],8],[11],[11],[11],[11],[11],[11],[11],[11],[11],[11],[11],[11],[11],[11],[11],[11],[11],[11],[[1,12],13],[[9,12],13],[[9,12],13],[[6,12],13],[[6,12],13],[[]],[[]],[[]],[[]],[14,9],[[]],[15,9],[16,6],[17,6],[[]],[18,6],[19,6],[20,6],[21,6],[1,22],[[8,[23,[14]]],8],[[],11],[[],11],[[],11],[[],11],[[],11],[[],11],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[1,11],[[8,11],8],[[1,[25,[24]]],26],[[26,[28,[[23,[27]]]]],[[7,[29,6]]]],[[[31,[30]],32],33],[6,[[35,[34]]]],[[]],[[]],[[],14],[[],14],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[],7],[[31,32],33],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[]],[[]],[[]],[[]],[[]],[[]]],"c":[],"p":[[3,"NotaryConfig"],[8,"AsyncWrite"],[8,"AsyncRead"],[8,"Send"],[8,"Unpin"],[4,"NotaryError"],[4,"Result"],[3,"NotaryConfigBuilder"],[4,"NotaryConfigBuilderError"],[3,"Compat"],[15,"usize"],[3,"Formatter"],[6,"Result"],[3,"String"],[3,"UninitializedFieldError"],[4,"SenderActorError"],[4,"MuxerError"],[4,"ReceiverActorError"],[4,"MpcTlsError"],[4,"OTError"],[3,"Error"],[15,"str"],[8,"Into"],[3,"UidYamuxControl"],[3,"BincodeMux"],[3,"Notary"],[4,"Signature"],[8,"Signer"],[3,"SessionHeader"],[3,"NotaryBackgroundFut"],[3,"Pin"],[3,"Context"],[4,"Poll"],[8,"Error"],[4,"Option"],[3,"TypeId"]]},\ +"tlsn_prover":{"doc":"The prover library","t":"NDNNNDNNNNDDDEDINDNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL","n":["AsyncClientError","Closed","CommitmentBuilder","CommitmentError","IOError","Initialized","InvalidServerName","MpcError","MuxerError","NotarizationError","Notarize","Prover","ProverConfig","ProverError","ProverFuture","ProverState","ServerNoCloseNotify","Setup","TlsClientError","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","builder","clone","clone_into","commitment_builder","compat","compat","compat","compat","compat","compat","compat","compat","compat_mut","compat_mut","compat_mut","compat_mut","compat_mut","compat_mut","compat_mut","compat_mut","compat_ref","compat_ref","compat_ref","compat_ref","compat_ref","compat_ref","compat_ref","compat_ref","connect","deref","deref","deref","deref","deref","deref","deref","deref","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","deref_mut","drop","drop","drop","drop","drop","drop","drop","drop","finalize","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","init","init","init","init","init","init","init","init","into","into","into","into","into","into","into","into","into_future","max_transcript_size","new","poll","recv_transcript","recv_transcript","sent_transcript","sent_transcript","server_dns","setup","source","start_notarize","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_poll","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip"],"q":[[0,"tlsn_prover"]],"d":["","State after the TLS connection has been closed.","","","","Entry state","","","","","The state for the Prover during notarization","A prover instance.","Configuration for the prover","An error that can occur during proving.","Prover future which must be polled for the TLS connection …","","","State after MPC setup has completed.","","","","","","","","","","","","","","","","","","Create a new builder for ProverConfig.","","","Returns the transcript commitment builder","","","","","","","","","","","","","","","","","","","","","","","","","Connects to the server using the provided socket.","","","","","","","","","","","","","","","","","","","","","","","","","Finalize the notarization returning a NotarizedSession","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Get the maximum transcript size in bytes.","Creates a new prover.","","Returns the transcript of the received responses","Returns the transcript of the received responses","Returns the transcript of the sent requests","Returns the transcript of the sent requests","Returns the server DNS name.","Set up the prover.","","Starts notarization of the TLS session.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[11,0,11,11,11,0,11,11,11,11,0,0,0,0,0,0,11,0,11,15,6,18,2,33,1,11,3,15,6,18,2,33,1,11,3,1,1,1,3,15,6,18,2,33,1,11,3,15,6,18,2,33,1,11,3,15,6,18,2,33,1,11,3,3,15,6,18,2,33,1,11,3,15,6,18,2,33,1,11,3,15,6,18,2,33,1,11,3,3,15,6,18,2,1,11,11,3,15,6,18,2,2,33,1,11,11,11,11,11,11,11,11,11,11,11,11,3,15,6,18,2,33,1,11,3,15,6,18,2,33,1,11,3,33,1,3,33,3,3,3,3,1,3,11,3,1,11,15,6,18,2,33,1,11,3,15,6,18,2,33,1,11,3,33,15,6,18,2,33,1,11,3,15,6,18,2,33,1,11,3],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[1,1],[[]],[[[3,[2]]],4],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[],5],[[[3,[6]],[0,[7,8,9,10]]],[[12,[11]]]],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[13],[[[3,[2]]],[[12,[14,11]]]],[[15,16],[[12,[17]]]],[[6,16],[[12,[17]]]],[[18,16],[[12,[17]]]],[[2,16],[[12,[17]]]],[[1,16],19],[[11,16],19],[[11,16],19],[[[3,[[0,[20,21]]]],16],19],[[]],[[]],[[]],[18,2],[[]],[[]],[[]],[22,11],[23,11],[24,11],[25,11],[26,11],[27,11],[28,11],[29,11],[30,11],[31,11],[32,11],[[]],[[]],[[],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[],13],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[1,13],[1,[[3,[15]]]],[[[34,[33]],35],36],[[[3,[18]]],37],[[[3,[2]]],37],[[[3,[18]]],37],[[[3,[2]]],37],[1,38],[[[3,[15]],[0,[7,8,9,10]]],[[12,[[3,[6]],11]]]],[11,[[40,[39]]]],[[[3,[18]]],[[3,[2]]]],[[]],[[],41],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[34,35],36],[[],42],[[],42],[[],42],[[],42],[[],42],[[],42],[[],42],[[],42],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]]],"c":[],"p":[[3,"ProverConfig"],[3,"Notarize"],[3,"Prover"],[3,"TranscriptCommitmentBuilder"],[3,"Compat"],[3,"Setup"],[8,"AsyncWrite"],[8,"AsyncRead"],[8,"Send"],[8,"Unpin"],[4,"ProverError"],[4,"Result"],[15,"usize"],[3,"NotarizedSession"],[3,"Initialized"],[3,"Formatter"],[3,"Error"],[3,"Closed"],[6,"Result"],[8,"Debug"],[8,"ProverState"],[4,"MpcTlsError"],[4,"MerkleError"],[4,"MuxerError"],[4,"ConnectionError"],[4,"TranscriptCommitmentBuilderError"],[3,"Error"],[4,"Error"],[4,"OTError"],[4,"ReceiverActorError"],[4,"SenderActorError"],[3,"InvalidDnsNameError"],[3,"ProverFuture"],[3,"Pin"],[3,"Context"],[4,"Poll"],[3,"Transcript"],[15,"str"],[8,"Error"],[4,"Option"],[3,"String"],[3,"TypeId"]]}\ }'); if (typeof window !== 'undefined' && window.initSearch) {window.initSearch(searchIndex)}; if (typeof exports !== 'undefined') {exports.searchIndex = searchIndex}; diff --git a/settings.html b/settings.html index aa4f4df75f..d659b0fbd5 100644 --- a/settings.html +++ b/settings.html @@ -1 +1 @@ -Rustdoc settings

Rustdoc settings

Back
\ No newline at end of file +Rustdoc settings

Rustdoc settings

Back
\ No newline at end of file diff --git a/source-files.js b/source-files.js deleted file mode 100644 index 0bcb3bef12..0000000000 --- a/source-files.js +++ /dev/null @@ -1,6 +0,0 @@ -var sourcesIndex = JSON.parse('{\ -"tlsn_core":["",[["commitment",[],["blake3.rs","builder.rs","mod.rs"]],["proof",[],["mod.rs","substrings.rs","tls.rs"]],["session",[],["data.rs","handshake.rs","header.rs","mod.rs"]]],["lib.rs","merkle.rs","msg.rs","signature.rs","transcript.rs"]],\ -"tlsn_notary":["",[],["config.rs","error.rs","lib.rs"]],\ -"tlsn_prover":["",[],["config.rs","error.rs","lib.rs","state.rs"]]\ -}'); -createSourceSidebar(); diff --git a/src-files.js b/src-files.js new file mode 100644 index 0000000000..69638e61e2 --- /dev/null +++ b/src-files.js @@ -0,0 +1,6 @@ +var srcIndex = JSON.parse('{\ +"tlsn_core":["",[["commitment",[],["blake3.rs","builder.rs","mod.rs"]],["fixtures",[],["cert.rs","mod.rs"]],["proof",[],["mod.rs","substrings.rs","tls.rs"]],["session",[],["data.rs","handshake.rs","header.rs","mod.rs"]]],["lib.rs","merkle.rs","msg.rs","signature.rs","transcript.rs"]],\ +"tlsn_notary":["",[],["config.rs","error.rs","lib.rs"]],\ +"tlsn_prover":["",[],["config.rs","error.rs","lib.rs","state.rs"]]\ +}'); +createSrcSidebar(); diff --git a/src/tlsn_core/commitment/blake3.rs.html b/src/tlsn_core/commitment/blake3.rs.html index f5eaa94821..60ee4b431a 100644 --- a/src/tlsn_core/commitment/blake3.rs.html +++ b/src/tlsn_core/commitment/blake3.rs.html @@ -1,4 +1,4 @@ -blake3.rs - source
1
+blake3.rs - source
1
 2
 3
 4
diff --git a/src/tlsn_core/commitment/builder.rs.html b/src/tlsn_core/commitment/builder.rs.html
index e54d51b118..26a24b0e5f 100644
--- a/src/tlsn_core/commitment/builder.rs.html
+++ b/src/tlsn_core/commitment/builder.rs.html
@@ -1,4 +1,4 @@
-builder.rs - source
1
+builder.rs - source
1
 2
 3
 4
@@ -130,15 +130,10 @@
 130
 131
 132
-133
-134
-135
-136
 
use std::collections::HashMap;
 
 use bimap::BiMap;
 use mpz_core::hash::Hash;
-use mpz_garble_core::{encoding_state, EncodedValue};
 use utils::range::RangeSet;
 
 use crate::{
@@ -147,12 +142,9 @@
     },
     merkle::MerkleTree,
     transcript::get_value_ids,
-    Direction,
+    Direction, EncodingProvider,
 };
 
-type EncodingProvider =
-    Box<dyn Fn(&[&str]) -> Option<Vec<EncodedValue<encoding_state::Active>>> + Send>;
-
 /// An error for [`TranscriptCommitmentBuilder`]
 #[derive(Debug, thiserror::Error)]
 pub enum TranscriptCommitmentBuilderError {
diff --git a/src/tlsn_core/commitment/mod.rs.html b/src/tlsn_core/commitment/mod.rs.html
index 076e5ca48b..139e55d449 100644
--- a/src/tlsn_core/commitment/mod.rs.html
+++ b/src/tlsn_core/commitment/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/tlsn_core/fixtures/cert.rs.html b/src/tlsn_core/fixtures/cert.rs.html
new file mode 100644
index 0000000000..7a488d884f
--- /dev/null
+++ b/src/tlsn_core/fixtures/cert.rs.html
@@ -0,0 +1,261 @@
+cert.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+
use tls_core::{
+    key::{Certificate, PublicKey},
+    msgs::{
+        codec::Codec,
+        enums::{NamedGroup, SignatureScheme},
+        handshake::{DigitallySignedStruct, Random, ServerECDHParams},
+    },
+};
+
+use hex::FromHex;
+
+/// Collects data needed for testing
+pub struct TestData {
+    /// end-entity cert
+    pub ee: Certificate,
+    /// intermediate cert
+    pub inter: Certificate,
+    /// CA cert
+    pub ca: Certificate,
+    /// client random
+    pub cr: Random,
+    /// server random
+    pub sr: Random,
+    /// server ephemeral P256 pubkey
+    pub pubkey: PublicKey,
+    /// server signature over the key exchange parameters
+    pub sig: Vec<u8>,
+    /// unix time when TLS handshake began
+    pub time: u64,
+    /// algorithm used to create the sig
+    pub sig_scheme: SignatureScheme,
+    /// DNS name of the website
+    pub dns_name: String,
+}
+
+impl TestData {
+    /// Returns the [ServerECDHParams] in encoded form
+    pub fn kx_params(&self) -> Vec<u8> {
+        let mut params = Vec::new();
+        let ecdh_params = ServerECDHParams::new(NamedGroup::secp256r1, &self.pubkey.key);
+        ecdh_params.encode(&mut params);
+        params
+    }
+
+    /// Returns the [DigitallySignedStruct]
+    pub fn dss(&self) -> DigitallySignedStruct {
+        DigitallySignedStruct::new(self.sig_scheme, self.sig.clone())
+    }
+
+    /// Returns the client random + server random + kx params in encoded form
+    pub fn signature_msg(&self) -> Vec<u8> {
+        let mut msg = Vec::new();
+        msg.extend_from_slice(&self.cr.0);
+        msg.extend_from_slice(&self.sr.0);
+        msg.extend_from_slice(&self.kx_params());
+        msg
+    }
+}
+
+/// Returns test data for the tlsnotary.org website
+pub fn tlsnotary() -> TestData {
+    TestData {
+        ee: Certificate(include_bytes!("testdata/key_exchange/tlsnotary.org/ee.der").to_vec()),
+        inter: Certificate(
+            include_bytes!("testdata/key_exchange/tlsnotary.org/inter.der").to_vec(),
+        ),
+        ca: Certificate(include_bytes!("testdata/key_exchange/tlsnotary.org/ca.der").to_vec()),
+        cr: Random(
+            <[u8; 32]>::from_hex(include_bytes!(
+                "testdata/key_exchange/tlsnotary.org/client_random"
+            ))
+            .unwrap(),
+        ),
+        sr: Random(
+            <[u8; 32]>::from_hex(include_bytes!(
+                "testdata/key_exchange/tlsnotary.org/server_random"
+            ))
+            .unwrap(),
+        ),
+        pubkey: PublicKey::new(
+            NamedGroup::secp256r1,
+            &Vec::<u8>::from_hex(include_bytes!("testdata/key_exchange/tlsnotary.org/pubkey"))
+                .unwrap(),
+        ),
+        sig: Vec::<u8>::from_hex(include_bytes!(
+            "testdata/key_exchange/tlsnotary.org/signature"
+        ))
+        .unwrap(),
+        time: 1671637529,
+        sig_scheme: SignatureScheme::RSA_PKCS1_SHA256,
+        dns_name: "tlsnotary.org".to_string(),
+    }
+}
+
+/// Returns test data for the appliedzkp.org website
+pub fn appliedzkp() -> TestData {
+    TestData {
+        ee: Certificate(include_bytes!("testdata/key_exchange/appliedzkp.org/ee.der").to_vec()),
+        inter: Certificate(
+            include_bytes!("testdata/key_exchange/appliedzkp.org/inter.der").to_vec(),
+        ),
+        ca: Certificate(include_bytes!("testdata/key_exchange/appliedzkp.org/ca.der").to_vec()),
+        cr: Random(
+            <[u8; 32]>::from_hex(include_bytes!(
+                "testdata/key_exchange/appliedzkp.org/client_random"
+            ))
+            .unwrap(),
+        ),
+        sr: Random(
+            <[u8; 32]>::from_hex(include_bytes!(
+                "testdata/key_exchange/appliedzkp.org/server_random"
+            ))
+            .unwrap(),
+        ),
+        pubkey: PublicKey::new(
+            NamedGroup::secp256r1,
+            &Vec::<u8>::from_hex(include_bytes!(
+                "testdata/key_exchange/appliedzkp.org/pubkey"
+            ))
+            .unwrap(),
+        ),
+        sig: Vec::<u8>::from_hex(include_bytes!(
+            "testdata/key_exchange/appliedzkp.org/signature"
+        ))
+        .unwrap(),
+        time: 1671637529,
+        sig_scheme: SignatureScheme::ECDSA_NISTP256_SHA256,
+        dns_name: "appliedzkp.org".to_string(),
+    }
+}
+
\ No newline at end of file diff --git a/src/tlsn_core/fixtures/mod.rs.html b/src/tlsn_core/fixtures/mod.rs.html new file mode 100644 index 0000000000..79111eac10 --- /dev/null +++ b/src/tlsn_core/fixtures/mod.rs.html @@ -0,0 +1,329 @@ +mod.rs - source
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
+145
+146
+147
+148
+149
+150
+151
+152
+153
+154
+155
+156
+157
+158
+159
+160
+161
+162
+163
+164
+
//! Fixtures for testing
+
+/// Certificate fixtures
+pub mod cert;
+
+use std::collections::HashMap;
+
+use hex::FromHex;
+use mpz_circuits::types::ValueType;
+use mpz_core::{commit::HashCommit, hash::Hash, value::ValueId};
+use mpz_garble_core::{ChaChaEncoder, Encoder};
+use tls_core::{
+    cert::ServerCertDetails,
+    handshake::HandshakeData,
+    ke::ServerKxDetails,
+    key::{Certificate, PublicKey},
+    msgs::{
+        codec::Codec,
+        enums::{NamedGroup, SignatureScheme},
+        handshake::{DigitallySignedStruct, Random, ServerECDHParams},
+    },
+};
+
+use p256::ecdsa::SigningKey;
+
+use crate::{
+    merkle::MerkleRoot,
+    session::{HandshakeSummary, SessionHeader},
+    EncodingProvider,
+};
+
+/// Returns a session header fixture using the given transcript lengths and merkle root.
+///
+/// # Arguments
+///
+/// * `root` - The merkle root of the transcript commitments.
+/// * `sent_len` - The length of the sent transcript.
+/// * `recv_len` - The length of the received transcript.
+pub fn session_header(root: MerkleRoot, sent_len: usize, recv_len: usize) -> SessionHeader {
+    SessionHeader::new(
+        encoder_seed(),
+        root,
+        sent_len,
+        recv_len,
+        handshake_summary(),
+    )
+}
+
+/// Returns an encoding provider fixture using the given transcripts.
+pub fn encoding_provider(transcript_tx: &[u8], transcript_rx: &[u8]) -> EncodingProvider {
+    let encoder = encoder();
+    let mut active_encodings = HashMap::new();
+    for (idx, byte) in transcript_tx.iter().enumerate() {
+        let id = format!("tx/{idx}");
+        let enc = encoder.encode_by_type(ValueId::new(&id).to_u64(), &ValueType::U8);
+        active_encodings.insert(id, enc.select(*byte).unwrap());
+    }
+    for (idx, byte) in transcript_rx.iter().enumerate() {
+        let id = format!("rx/{idx}");
+        let enc = encoder.encode_by_type(ValueId::new(&id).to_u64(), &ValueType::U8);
+        active_encodings.insert(id, enc.select(*byte).unwrap());
+    }
+
+    Box::new(move |ids: &[&str]| {
+        ids.iter()
+            .map(|id| active_encodings.get(*id).cloned())
+            .collect()
+    })
+}
+
+/// Returns a handshake summary fixture.
+pub fn handshake_summary() -> HandshakeSummary {
+    HandshakeSummary::new(1671637529, server_ephemeral_key(), handshake_commitment())
+}
+
+/// Returns a handshake commitment fixture.
+pub fn handshake_commitment() -> Hash {
+    let (_, hash) = handshake_data().hash_commit();
+    hash
+}
+
+/// Returns a handshake data fixture.
+pub fn handshake_data() -> HandshakeData {
+    HandshakeData::new(
+        server_cert_details(),
+        server_kx_details(),
+        client_random(),
+        server_random(),
+    )
+}
+
+/// Returns a server certificate details fixture.
+pub fn server_cert_details() -> ServerCertDetails {
+    ServerCertDetails::new(
+        vec![
+            Certificate(include_bytes!("testdata/key_exchange/tlsnotary.org/ee.der").to_vec()),
+            Certificate(include_bytes!("testdata/key_exchange/tlsnotary.org/inter.der").to_vec()),
+            Certificate(include_bytes!("testdata/key_exchange/tlsnotary.org/ca.der").to_vec()),
+        ],
+        vec![],
+        None,
+    )
+}
+
+/// Returns a server key exchange details fixture.
+pub fn server_kx_details() -> ServerKxDetails {
+    let mut params = Vec::new();
+    let ecdh_params = ServerECDHParams::new(NamedGroup::secp256r1, &server_ephemeral_key().key);
+    ecdh_params.encode(&mut params);
+
+    ServerKxDetails::new(
+        params,
+        DigitallySignedStruct::new(
+            SignatureScheme::RSA_PKCS1_SHA256,
+            Vec::<u8>::from_hex(include_bytes!(
+                "testdata/key_exchange/tlsnotary.org/signature"
+            ))
+            .unwrap(),
+        ),
+    )
+}
+
+/// Returns a client random fixture.
+pub fn client_random() -> Random {
+    Random(
+        <[u8; 32]>::from_hex(include_bytes!(
+            "testdata/key_exchange/tlsnotary.org/client_random"
+        ))
+        .unwrap(),
+    )
+}
+
+/// Returns a server random fixture.
+pub fn server_random() -> Random {
+    Random(
+        <[u8; 32]>::from_hex(include_bytes!(
+            "testdata/key_exchange/tlsnotary.org/server_random"
+        ))
+        .unwrap(),
+    )
+}
+
+/// Returns an encoder fixture.
+pub fn encoder() -> ChaChaEncoder {
+    ChaChaEncoder::new(encoder_seed())
+}
+
+/// Returns an encoder seed fixture.
+pub fn encoder_seed() -> [u8; 32] {
+    [0u8; 32]
+}
+
+/// Returns a server ephemeral key fixture.
+pub fn server_ephemeral_key() -> PublicKey {
+    PublicKey::new(
+        NamedGroup::secp256r1,
+        &Vec::<u8>::from_hex(include_bytes!("testdata/key_exchange/tlsnotary.org/pubkey")).unwrap(),
+    )
+}
+
+/// Returns a notary signing key fixture.
+pub fn notary_signing_key() -> SigningKey {
+    SigningKey::from_slice(&[1; 32]).unwrap()
+}
+
\ No newline at end of file diff --git a/src/tlsn_core/lib.rs.html b/src/tlsn_core/lib.rs.html index 2f4b7abea4..1ec1a2f560 100644 --- a/src/tlsn_core/lib.rs.html +++ b/src/tlsn_core/lib.rs.html @@ -1,4 +1,4 @@ -lib.rs - source
1
+lib.rs - source
1
 2
 3
 4
@@ -68,6 +68,14 @@
 68
 69
 70
+71
+72
+73
+74
+75
+76
+77
+78
 
//! TLSNotary core protocol library.
 //!
 //! This crate contains core types for the TLSNotary protocol, including some functionality for selective disclosure.
@@ -77,6 +85,8 @@
 #![forbid(unsafe_code)]
 
 pub mod commitment;
+#[cfg(feature = "fixtures")]
+pub mod fixtures;
 pub mod merkle;
 pub mod msg;
 pub mod proof;
@@ -84,11 +94,13 @@
 mod signature;
 pub mod transcript;
 
-use serde::{Deserialize, Serialize};
 pub use session::{HandshakeSummary, NotarizedSession, SessionData, SessionHeader};
 pub use signature::{NotaryPublicKey, Signature};
 pub use transcript::{Direction, RedactedTranscript, Transcript, TranscriptSlice};
 
+use mpz_garble_core::{encoding_state, EncodedValue};
+use serde::{Deserialize, Serialize};
+
 /// The maximum allowed total bytelength of all committed data. Used to prevent DoS during verification.
 /// (this will cause the verifier to hash up to a max of 1GB * 128 = 128GB of plaintext encodings if the
 /// commitment type is [crate::commitment::Blake3]).
@@ -96,6 +108,10 @@
 /// This value must not exceed bcs's MAX_SEQUENCE_LENGTH limit (which is (1 << 31) - 1 by default)
 const MAX_TOTAL_COMMITTED_DATA: usize = 1_000_000_000;
 
+/// A provider of plaintext encodings.
+pub(crate) type EncodingProvider =
+    Box<dyn Fn(&[&str]) -> Option<Vec<EncodedValue<encoding_state::Active>>> + Send>;
+
 /// The encoding id
 ///
 /// A 64 bit Blake3 hash which is used for the plaintext encodings
diff --git a/src/tlsn_core/merkle.rs.html b/src/tlsn_core/merkle.rs.html
index 1d77a71c8e..385604d309 100644
--- a/src/tlsn_core/merkle.rs.html
+++ b/src/tlsn_core/merkle.rs.html
@@ -1,4 +1,4 @@
-merkle.rs - source
1
+merkle.rs - source
1
 2
 3
 4
diff --git a/src/tlsn_core/msg.rs.html b/src/tlsn_core/msg.rs.html
index 31fdc72330..2a14435efa 100644
--- a/src/tlsn_core/msg.rs.html
+++ b/src/tlsn_core/msg.rs.html
@@ -1,4 +1,4 @@
-msg.rs - source
1
+msg.rs - source
1
 2
 3
 4
diff --git a/src/tlsn_core/proof/mod.rs.html b/src/tlsn_core/proof/mod.rs.html
index c791edcfc2..2a35a6ad5d 100644
--- a/src/tlsn_core/proof/mod.rs.html
+++ b/src/tlsn_core/proof/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/tlsn_core/proof/substrings.rs.html b/src/tlsn_core/proof/substrings.rs.html
index 57361ba55d..427c3fd6c1 100644
--- a/src/tlsn_core/proof/substrings.rs.html
+++ b/src/tlsn_core/proof/substrings.rs.html
@@ -1,4 +1,4 @@
-substrings.rs - source
1
+substrings.rs - source
1
 2
 3
 4
diff --git a/src/tlsn_core/proof/tls.rs.html b/src/tlsn_core/proof/tls.rs.html
index 89baed683e..a4fa349544 100644
--- a/src/tlsn_core/proof/tls.rs.html
+++ b/src/tlsn_core/proof/tls.rs.html
@@ -1,4 +1,4 @@
-tls.rs - source
1
+tls.rs - source
1
 2
 3
 4
@@ -124,6 +124,9 @@
 124
 125
 126
+127
+128
+129
 
use std::time::{Duration, UNIX_EPOCH};
 
 use serde::{Deserialize, Serialize};
@@ -237,17 +240,20 @@
         &self,
         notary_public_key: impl Into<NotaryPublicKey>,
     ) -> Result<(), SessionProofError> {
-        let mut root_store = RootCertStore::empty();
-        root_store.add_server_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.0.iter().map(|ta| {
-            OwnedTrustAnchor::from_subject_spki_name_constraints(
-                ta.subject,
-                ta.spki,
-                ta.name_constraints,
-            )
-        }));
-        let verifier = WebPkiVerifier::new(root_store, None);
-
-        self.verify(notary_public_key, &verifier)
+        self.verify(notary_public_key, &default_cert_verifier())
     }
 }
+
+fn default_cert_verifier() -> WebPkiVerifier {
+    let mut root_store = RootCertStore::empty();
+    root_store.add_server_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.0.iter().map(|ta| {
+        OwnedTrustAnchor::from_subject_spki_name_constraints(
+            ta.subject,
+            ta.spki,
+            ta.name_constraints,
+        )
+    }));
+
+    WebPkiVerifier::new(root_store, None)
+}
 
\ No newline at end of file diff --git a/src/tlsn_core/session/data.rs.html b/src/tlsn_core/session/data.rs.html index 15a0a6cd30..6039eac0e5 100644 --- a/src/tlsn_core/session/data.rs.html +++ b/src/tlsn_core/session/data.rs.html @@ -1,4 +1,4 @@ -data.rs - source
1
+data.rs - source
1
 2
 3
 4
diff --git a/src/tlsn_core/session/handshake.rs.html b/src/tlsn_core/session/handshake.rs.html
index 3af7b75e08..370524fbfe 100644
--- a/src/tlsn_core/session/handshake.rs.html
+++ b/src/tlsn_core/session/handshake.rs.html
@@ -1,4 +1,4 @@
-handshake.rs - source
1
+handshake.rs - source
1
 2
 3
 4
diff --git a/src/tlsn_core/session/header.rs.html b/src/tlsn_core/session/header.rs.html
index 282ab446b6..67ac4f36b1 100644
--- a/src/tlsn_core/session/header.rs.html
+++ b/src/tlsn_core/session/header.rs.html
@@ -1,4 +1,4 @@
-header.rs - source
1
+header.rs - source
1
 2
 3
 4
diff --git a/src/tlsn_core/session/mod.rs.html b/src/tlsn_core/session/mod.rs.html
index ea388a2dda..7faefd898d 100644
--- a/src/tlsn_core/session/mod.rs.html
+++ b/src/tlsn_core/session/mod.rs.html
@@ -1,4 +1,4 @@
-mod.rs - source
1
+mod.rs - source
1
 2
 3
 4
diff --git a/src/tlsn_core/signature.rs.html b/src/tlsn_core/signature.rs.html
index d6147f26da..1e45da1f13 100644
--- a/src/tlsn_core/signature.rs.html
+++ b/src/tlsn_core/signature.rs.html
@@ -1,4 +1,4 @@
-signature.rs - source
1
+signature.rs - source
1
 2
 3
 4
diff --git a/src/tlsn_core/transcript.rs.html b/src/tlsn_core/transcript.rs.html
index 6569e8a88d..334446bd90 100644
--- a/src/tlsn_core/transcript.rs.html
+++ b/src/tlsn_core/transcript.rs.html
@@ -1,4 +1,4 @@
-transcript.rs - source
1
+transcript.rs - source
1
 2
 3
 4
diff --git a/src/tlsn_notary/config.rs.html b/src/tlsn_notary/config.rs.html
index e02bbcdc4b..f1167cc201 100644
--- a/src/tlsn_notary/config.rs.html
+++ b/src/tlsn_notary/config.rs.html
@@ -1,4 +1,4 @@
-config.rs - source
1
+config.rs - source
1
 2
 3
 4
diff --git a/src/tlsn_notary/error.rs.html b/src/tlsn_notary/error.rs.html
index a250bca9c3..284ba3cdb3 100644
--- a/src/tlsn_notary/error.rs.html
+++ b/src/tlsn_notary/error.rs.html
@@ -1,4 +1,4 @@
-error.rs - source
1
+error.rs - source
1
 2
 3
 4
diff --git a/src/tlsn_notary/lib.rs.html b/src/tlsn_notary/lib.rs.html
index b4c70a238c..7d840002b0 100644
--- a/src/tlsn_notary/lib.rs.html
+++ b/src/tlsn_notary/lib.rs.html
@@ -1,4 +1,4 @@
-lib.rs - source
1
+lib.rs - source
1
 2
 3
 4
diff --git a/src/tlsn_prover/config.rs.html b/src/tlsn_prover/config.rs.html
index e161a212b2..455dfba5db 100644
--- a/src/tlsn_prover/config.rs.html
+++ b/src/tlsn_prover/config.rs.html
@@ -1,4 +1,4 @@
-config.rs - source
1
+config.rs - source
1
 2
 3
 4
diff --git a/src/tlsn_prover/error.rs.html b/src/tlsn_prover/error.rs.html
index 1abdf1b072..cac3ebd44a 100644
--- a/src/tlsn_prover/error.rs.html
+++ b/src/tlsn_prover/error.rs.html
@@ -1,4 +1,4 @@
-error.rs - source
1
+error.rs - source
1
 2
 3
 4
diff --git a/src/tlsn_prover/lib.rs.html b/src/tlsn_prover/lib.rs.html
index 84d41b1ab3..b5eb37a4cc 100644
--- a/src/tlsn_prover/lib.rs.html
+++ b/src/tlsn_prover/lib.rs.html
@@ -1,4 +1,4 @@
-lib.rs - source
1
+lib.rs - source
1
 2
 3
 4
diff --git a/src/tlsn_prover/state.rs.html b/src/tlsn_prover/state.rs.html
index cfc5718b09..46e4f93528 100644
--- a/src/tlsn_prover/state.rs.html
+++ b/src/tlsn_prover/state.rs.html
@@ -1,4 +1,4 @@
-state.rs - source
1
+state.rs - source
1
 2
 3
 4
diff --git a/static.files/ayu-614652228113ac93.css b/static.files/ayu-fd19013d6ce078bf.css
similarity index 63%
rename from static.files/ayu-614652228113ac93.css
rename to static.files/ayu-fd19013d6ce078bf.css
index 8fd09c9e44..ba3aa60e0d 100644
--- a/static.files/ayu-614652228113ac93.css
+++ b/static.files/ayu-fd19013d6ce078bf.css
@@ -1 +1 @@
- :root{--main-background-color:#0f1419;--main-color:#c5c5c5;--settings-input-color:#ffb454;--settings-input-border-color:#999;--settings-button-color:#fff;--settings-button-border-focus:#e0e0e0;--sidebar-background-color:#14191f;--sidebar-background-color-hover:rgba(70,70,70,0.33);--code-block-background-color:#191f26;--scrollbar-track-background-color:transparent;--scrollbar-thumb-background-color:#5c6773;--scrollbar-color:#5c6773 #24292f;--headings-border-bottom-color:#5c6773;--border-color:#5c6773;--button-background-color:#141920;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--search-input-focused-border-color:#5c6773;--copy-path-button-color:#fff;--copy-path-img-filter:invert(70%);--copy-path-img-hover-filter:invert(100%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--type-link-color:#ffa0a5;--trait-link-color:#39afd7;--assoc-item-link-color:#39afd7;--function-link-color:#fdd687;--macro-link-color:#a37acc;--keyword-link-color:#39afd7;--mod-link-color:#39afd7;--link-color:#39afd7;--sidebar-link-color:#53b1db;--sidebar-current-link-background-color:transparent;--search-result-link-focus-background-color:#3c3c3c;--search-result-border-color:#aaa3;--search-color:#fff;--search-error-code-background-color:#4f4c4c;--search-results-alias-color:#c5c5c5;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:none;--search-tab-button-not-selected-background:transparent !important;--search-tab-button-selected-border-top-color:none;--search-tab-button-selected-background:#141920 !important;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ff7733;--code-highlight-kw-2-color:#ff7733;--code-highlight-lifetime-color:#ff7733;--code-highlight-prelude-color:#69f2df;--code-highlight-prelude-val-color:#ff7733;--code-highlight-number-color:#b8cc52;--code-highlight-string-color:#b8cc52;--code-highlight-literal-color:#ff7733;--code-highlight-attribute-color:#e6e1cf;--code-highlight-self-color:#36a3d9;--code-highlight-macro-color:#a37acc;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#788797;--code-highlight-doc-comment-color:#a1ac88;--src-line-numbers-span-color:#5c6773;--src-line-number-highlighted-background-color:rgba(255,236,164,0.06);--test-arrow-color:#788797;--test-arrow-background-color:rgba(57,175,215,0.09);--test-arrow-hover-color:#c5c5c5;--test-arrow-hover-background-color:rgba(57,175,215,0.368);--target-background-color:rgba(255,236,164,0.06);--target-border-color:rgba(255,180,76,0.85);--kbd-color:#c5c5c5;--kbd-background:#314559;--kbd-box-shadow-color:#5c6773;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(41%) sepia(12%) saturate(487%) hue-rotate(171deg) brightness(94%) contrast(94%);--crate-search-div-hover-filter:invert(98%) sepia(12%) saturate(81%) hue-rotate(343deg) brightness(113%) contrast(76%);--crate-search-hover-border:#e0e0e0;--source-sidebar-background-selected:#14191f;--source-sidebar-background-hover:#14191f;--table-alt-row-background-color:#191f26;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:rgb(91,59,1);--scrape-example-code-line-highlight-focus:rgb(124,75,15);--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(15,20,25,1);--scrape-example-code-wrapper-background-end:rgba(15,20,25,0);}h1,h2,h3,h4,h1 a,.sidebar h2 a,.sidebar h3 a,#source-sidebar>.title{color:#fff;}h4{border:none;}.docblock code{color:#ffb454;}.docblock a>code{color:#39AFD7 !important;}.code-header,.docblock pre>code,pre,pre>code,.item-info code,.rustdoc.source .example-wrap{color:#e6e1cf;}.sidebar .current,.sidebar a:hover,#source-sidebar div.files>a:hover,details.dir-entry summary:hover,#source-sidebar div.files>a:focus,details.dir-entry summary:focus,#source-sidebar div.files>a.selected{color:#ffb44c;}.sidebar-elems .location{color:#ff7733;}.src-line-numbers .line-highlighted{color:#708090;padding-right:7px;border-right:1px solid #ffb44c;}.search-results a:hover,.search-results a:focus{color:#fff !important;background-color:#3c3c3c;}.search-results a{color:#0096cf;}.search-results a div.desc{color:#c5c5c5;}.result-name .primitive>i,.result-name .keyword>i{color:#788797;}#search-tabs>button.selected{border-bottom:1px solid #ffb44c !important;border-top:none;}#search-tabs>button:not(.selected){border:none;background-color:transparent !important;}#search-tabs>button:hover{border-bottom:1px solid rgba(242,151,24,0.3);}#settings-menu>a img{filter:invert(100);}
\ No newline at end of file
+ :root{--main-background-color:#0f1419;--main-color:#c5c5c5;--settings-input-color:#ffb454;--settings-input-border-color:#999;--settings-button-color:#fff;--settings-button-border-focus:#e0e0e0;--sidebar-background-color:#14191f;--sidebar-background-color-hover:rgba(70,70,70,0.33);--code-block-background-color:#191f26;--scrollbar-track-background-color:transparent;--scrollbar-thumb-background-color:#5c6773;--scrollbar-color:#5c6773 #24292f;--headings-border-bottom-color:#5c6773;--border-color:#5c6773;--button-background-color:#141920;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--search-input-focused-border-color:#5c6773;--copy-path-button-color:#fff;--copy-path-img-filter:invert(70%);--copy-path-img-hover-filter:invert(100%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--type-link-color:#ffa0a5;--trait-link-color:#39afd7;--assoc-item-link-color:#39afd7;--function-link-color:#fdd687;--macro-link-color:#a37acc;--keyword-link-color:#39afd7;--mod-link-color:#39afd7;--link-color:#39afd7;--sidebar-link-color:#53b1db;--sidebar-current-link-background-color:transparent;--search-result-link-focus-background-color:#3c3c3c;--search-result-border-color:#aaa3;--search-color:#fff;--search-error-code-background-color:#4f4c4c;--search-results-alias-color:#c5c5c5;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:none;--search-tab-button-not-selected-background:transparent !important;--search-tab-button-selected-border-top-color:none;--search-tab-button-selected-background:#141920 !important;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ff7733;--code-highlight-kw-2-color:#ff7733;--code-highlight-lifetime-color:#ff7733;--code-highlight-prelude-color:#69f2df;--code-highlight-prelude-val-color:#ff7733;--code-highlight-number-color:#b8cc52;--code-highlight-string-color:#b8cc52;--code-highlight-literal-color:#ff7733;--code-highlight-attribute-color:#e6e1cf;--code-highlight-self-color:#36a3d9;--code-highlight-macro-color:#a37acc;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#788797;--code-highlight-doc-comment-color:#a1ac88;--src-line-numbers-span-color:#5c6773;--src-line-number-highlighted-background-color:rgba(255,236,164,0.06);--test-arrow-color:#788797;--test-arrow-background-color:rgba(57,175,215,0.09);--test-arrow-hover-color:#c5c5c5;--test-arrow-hover-background-color:rgba(57,175,215,0.368);--target-background-color:rgba(255,236,164,0.06);--target-border-color:rgba(255,180,76,0.85);--kbd-color:#c5c5c5;--kbd-background:#314559;--kbd-box-shadow-color:#5c6773;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(41%) sepia(12%) saturate(487%) hue-rotate(171deg) brightness(94%) contrast(94%);--crate-search-div-hover-filter:invert(98%) sepia(12%) saturate(81%) hue-rotate(343deg) brightness(113%) contrast(76%);--crate-search-hover-border:#e0e0e0;--src-sidebar-background-selected:#14191f;--src-sidebar-background-hover:#14191f;--table-alt-row-background-color:#191f26;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:rgb(91,59,1);--scrape-example-code-line-highlight-focus:rgb(124,75,15);--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(15,20,25,1);--scrape-example-code-wrapper-background-end:rgba(15,20,25,0);}h1,h2,h3,h4,h1 a,.sidebar h2 a,.sidebar h3 a,#src-sidebar>.title{color:#fff;}h4{border:none;}.docblock code{color:#ffb454;}.docblock a>code{color:#39AFD7 !important;}.code-header,.docblock pre>code,pre,pre>code,.item-info code,.rustdoc.src .example-wrap{color:#e6e1cf;}.sidebar .current,.sidebar a:hover,#src-sidebar div.files>a:hover,details.dir-entry summary:hover,#src-sidebar div.files>a:focus,details.dir-entry summary:focus,#src-sidebar div.files>a.selected{color:#ffb44c;}.sidebar-elems .location{color:#ff7733;}.src-line-numbers .line-highlighted{color:#708090;padding-right:7px;border-right:1px solid #ffb44c;}.search-results a:hover,.search-results a:focus{color:#fff !important;background-color:#3c3c3c;}.search-results a{color:#0096cf;}.search-results a div.desc{color:#c5c5c5;}.result-name .primitive>i,.result-name .keyword>i{color:#788797;}#search-tabs>button.selected{border-bottom:1px solid #ffb44c !important;border-top:none;}#search-tabs>button:not(.selected){border:none;background-color:transparent !important;}#search-tabs>button:hover{border-bottom:1px solid rgba(242,151,24,0.3);}#settings-menu>a img{filter:invert(100);}
\ No newline at end of file
diff --git a/static.files/dark-1097f8e92a01e3cf.css b/static.files/dark-0a43001d3fc2282c.css
similarity index 68%
rename from static.files/dark-1097f8e92a01e3cf.css
rename to static.files/dark-0a43001d3fc2282c.css
index 1e5e7d1944..81032b2fa6 100644
--- a/static.files/dark-1097f8e92a01e3cf.css
+++ b/static.files/dark-0a43001d3fc2282c.css
@@ -1 +1 @@
-:root{--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--settings-input-border-color:#999;--settings-button-color:#000;--settings-button-border-focus:#ffb900;--sidebar-background-color:#505050;--sidebar-background-color-hover:#676767;--code-block-background-color:#2A2A2A;--scrollbar-track-background-color:#717171;--scrollbar-thumb-background-color:rgba(32,34,37,.6);--scrollbar-color:rgba(32,34,37,.6) #5a5a5a;--headings-border-bottom-color:#d2d2d2;--border-color:#e0e0e0;--button-background-color:#f0f0f0;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--search-input-focused-border-color:#008dfd;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(65%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--type-link-color:#2dbfb8;--trait-link-color:#b78cf2;--assoc-item-link-color:#d2991d;--function-link-color:#2bab63;--macro-link-color:#09bd00;--keyword-link-color:#d2991d;--mod-link-color:#d2991d;--link-color:#d2991d;--sidebar-link-color:#fdbf35;--sidebar-current-link-background-color:#444;--search-result-link-focus-background-color:#616161;--search-result-border-color:#aaa3;--search-color:#111;--search-error-code-background-color:#484848;--search-results-alias-color:#fff;--search-results-grey-color:#ccc;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#252525;--search-tab-button-not-selected-background:#252525;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#353535;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ab8ac1;--code-highlight-kw-2-color:#769acb;--code-highlight-lifetime-color:#d97f26;--code-highlight-prelude-color:#769acb;--code-highlight-prelude-val-color:#ee6868;--code-highlight-number-color:#83a300;--code-highlight-string-color:#83a300;--code-highlight-literal-color:#ee6868;--code-highlight-attribute-color:#ee6868;--code-highlight-self-color:#ee6868;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8d8d8b;--code-highlight-doc-comment-color:#8ca375;--src-line-numbers-span-color:#3b91e2;--src-line-number-highlighted-background-color:#0a042f;--test-arrow-color:#dedede;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#dedede;--test-arrow-hover-background-color:#4e8bca;--target-background-color:#494a3d;--target-border-color:#bb7410;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(94%) sepia(0%) saturate(721%) hue-rotate(255deg) brightness(90%) contrast(90%);--crate-search-div-hover-filter:invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);--crate-search-hover-border:#2196f3;--source-sidebar-background-selected:#333;--source-sidebar-background-hover:#444;--table-alt-row-background-color:#2A2A2A;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:rgb(91,59,1);--scrape-example-code-line-highlight-focus:rgb(124,75,15);--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(53,53,53,1);--scrape-example-code-wrapper-background-end:rgba(53,53,53,0);}
\ No newline at end of file
+:root{--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--settings-input-border-color:#999;--settings-button-color:#000;--settings-button-border-focus:#ffb900;--sidebar-background-color:#505050;--sidebar-background-color-hover:#676767;--code-block-background-color:#2A2A2A;--scrollbar-track-background-color:#717171;--scrollbar-thumb-background-color:rgba(32,34,37,.6);--scrollbar-color:rgba(32,34,37,.6) #5a5a5a;--headings-border-bottom-color:#d2d2d2;--border-color:#e0e0e0;--button-background-color:#f0f0f0;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--search-input-focused-border-color:#008dfd;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(65%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--type-link-color:#2dbfb8;--trait-link-color:#b78cf2;--assoc-item-link-color:#d2991d;--function-link-color:#2bab63;--macro-link-color:#09bd00;--keyword-link-color:#d2991d;--mod-link-color:#d2991d;--link-color:#d2991d;--sidebar-link-color:#fdbf35;--sidebar-current-link-background-color:#444;--search-result-link-focus-background-color:#616161;--search-result-border-color:#aaa3;--search-color:#111;--search-error-code-background-color:#484848;--search-results-alias-color:#fff;--search-results-grey-color:#ccc;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#252525;--search-tab-button-not-selected-background:#252525;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#353535;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ab8ac1;--code-highlight-kw-2-color:#769acb;--code-highlight-lifetime-color:#d97f26;--code-highlight-prelude-color:#769acb;--code-highlight-prelude-val-color:#ee6868;--code-highlight-number-color:#83a300;--code-highlight-string-color:#83a300;--code-highlight-literal-color:#ee6868;--code-highlight-attribute-color:#ee6868;--code-highlight-self-color:#ee6868;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8d8d8b;--code-highlight-doc-comment-color:#8ca375;--src-line-numbers-span-color:#3b91e2;--src-line-number-highlighted-background-color:#0a042f;--test-arrow-color:#dedede;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#dedede;--test-arrow-hover-background-color:rgb(78,139,202);--target-background-color:#494a3d;--target-border-color:#bb7410;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(94%) sepia(0%) saturate(721%) hue-rotate(255deg) brightness(90%) contrast(90%);--crate-search-div-hover-filter:invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);--crate-search-hover-border:#2196f3;--src-sidebar-background-selected:#333;--src-sidebar-background-hover:#444;--table-alt-row-background-color:#2A2A2A;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:rgb(91,59,1);--scrape-example-code-line-highlight-focus:rgb(124,75,15);--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(53,53,53,1);--scrape-example-code-wrapper-background-end:rgba(53,53,53,0);}
\ No newline at end of file
diff --git a/static.files/light-0f8c037637f9eb3e.css b/static.files/light-1596385f77d47ef2.css
similarity index 68%
rename from static.files/light-0f8c037637f9eb3e.css
rename to static.files/light-1596385f77d47ef2.css
index 21c3a859b8..50adde5b0d 100644
--- a/static.files/light-0f8c037637f9eb3e.css
+++ b/static.files/light-1596385f77d47ef2.css
@@ -1 +1 @@
-:root{--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--settings-input-border-color:#717171;--settings-button-color:#000;--settings-button-border-focus:#717171;--sidebar-background-color:#F5F5F5;--sidebar-background-color-hover:#E0E0E0;--code-block-background-color:#F5F5F5;--scrollbar-track-background-color:#dcdcdc;--scrollbar-thumb-background-color:rgba(36,37,39,0.6);--scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;--headings-border-bottom-color:#ddd;--border-color:#e0e0e0;--button-background-color:#fff;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:none;--search-input-focused-border-color:#66afe9;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(35%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--type-link-color:#ad378a;--trait-link-color:#6e4fc9;--assoc-item-link-color:#3873ad;--function-link-color:#ad7c37;--macro-link-color:#068000;--keyword-link-color:#3873ad;--mod-link-color:#3873ad;--link-color:#3873ad;--sidebar-link-color:#356da4;--sidebar-current-link-background-color:#fff;--search-result-link-focus-background-color:#ccc;--search-result-border-color:#aaa3;--search-color:#000;--search-error-code-background-color:#d0cccc;--search-results-alias-color:#000;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#e6e6e6;--search-tab-button-not-selected-background:#e6e6e6;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#ffffff;--stab-background-color:#fff5d6;--stab-code-color:#000;--code-highlight-kw-color:#8959a8;--code-highlight-kw-2-color:#4271ae;--code-highlight-lifetime-color:#b76514;--code-highlight-prelude-color:#4271ae;--code-highlight-prelude-val-color:#c82829;--code-highlight-number-color:#718c00;--code-highlight-string-color:#718c00;--code-highlight-literal-color:#c82829;--code-highlight-attribute-color:#c82829;--code-highlight-self-color:#c82829;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8e908c;--code-highlight-doc-comment-color:#4d4d4c;--src-line-numbers-span-color:#c67e2d;--src-line-number-highlighted-background-color:#fdffd3;--test-arrow-color:#f5f5f5;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#f5f5f5;--test-arrow-hover-background-color:#4e8bca;--target-background-color:#fdffd3;--target-border-color:#ad7c37;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:initial;--crate-search-div-filter:invert(100%) sepia(0%) saturate(4223%) hue-rotate(289deg) brightness(114%) contrast(76%);--crate-search-div-hover-filter:invert(44%) sepia(18%) saturate(23%) hue-rotate(317deg) brightness(96%) contrast(93%);--crate-search-hover-border:#717171;--source-sidebar-background-selected:#fff;--source-sidebar-background-hover:#e0e0e0;--table-alt-row-background-color:#F5F5F5;--codeblock-link-background:#eee;--scrape-example-toggle-line-background:#ccc;--scrape-example-toggle-line-hover-background:#999;--scrape-example-code-line-highlight:#fcffd6;--scrape-example-code-line-highlight-focus:#f6fdb0;--scrape-example-help-border-color:#555;--scrape-example-help-color:#333;--scrape-example-help-hover-border-color:#000;--scrape-example-help-hover-color:#000;--scrape-example-code-wrapper-background-start:rgba(255,255,255,1);--scrape-example-code-wrapper-background-end:rgba(255,255,255,0);}
\ No newline at end of file
+:root{--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--settings-input-border-color:#717171;--settings-button-color:#000;--settings-button-border-focus:#717171;--sidebar-background-color:#F5F5F5;--sidebar-background-color-hover:#E0E0E0;--code-block-background-color:#F5F5F5;--scrollbar-track-background-color:#dcdcdc;--scrollbar-thumb-background-color:rgba(36,37,39,0.6);--scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;--headings-border-bottom-color:#ddd;--border-color:#e0e0e0;--button-background-color:#fff;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:none;--search-input-focused-border-color:#66afe9;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(35%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--type-link-color:#ad378a;--trait-link-color:#6e4fc9;--assoc-item-link-color:#3873ad;--function-link-color:#ad7c37;--macro-link-color:#068000;--keyword-link-color:#3873ad;--mod-link-color:#3873ad;--link-color:#3873ad;--sidebar-link-color:#356da4;--sidebar-current-link-background-color:#fff;--search-result-link-focus-background-color:#ccc;--search-result-border-color:#aaa3;--search-color:#000;--search-error-code-background-color:#d0cccc;--search-results-alias-color:#000;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#e6e6e6;--search-tab-button-not-selected-background:#e6e6e6;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#ffffff;--stab-background-color:#fff5d6;--stab-code-color:#000;--code-highlight-kw-color:#8959a8;--code-highlight-kw-2-color:#4271ae;--code-highlight-lifetime-color:#b76514;--code-highlight-prelude-color:#4271ae;--code-highlight-prelude-val-color:#c82829;--code-highlight-number-color:#718c00;--code-highlight-string-color:#718c00;--code-highlight-literal-color:#c82829;--code-highlight-attribute-color:#c82829;--code-highlight-self-color:#c82829;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8e908c;--code-highlight-doc-comment-color:#4d4d4c;--src-line-numbers-span-color:#c67e2d;--src-line-number-highlighted-background-color:#fdffd3;--test-arrow-color:#f5f5f5;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#f5f5f5;--test-arrow-hover-background-color:rgb(78,139,202);--target-background-color:#fdffd3;--target-border-color:#ad7c37;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:initial;--crate-search-div-filter:invert(100%) sepia(0%) saturate(4223%) hue-rotate(289deg) brightness(114%) contrast(76%);--crate-search-div-hover-filter:invert(44%) sepia(18%) saturate(23%) hue-rotate(317deg) brightness(96%) contrast(93%);--crate-search-hover-border:#717171;--src-sidebar-background-selected:#fff;--src-sidebar-background-hover:#e0e0e0;--table-alt-row-background-color:#F5F5F5;--codeblock-link-background:#eee;--scrape-example-toggle-line-background:#ccc;--scrape-example-toggle-line-hover-background:#999;--scrape-example-code-line-highlight:#fcffd6;--scrape-example-code-line-highlight-focus:#f6fdb0;--scrape-example-help-border-color:#555;--scrape-example-help-color:#333;--scrape-example-help-hover-border-color:#000;--scrape-example-help-hover-color:#000;--scrape-example-code-wrapper-background-start:rgba(255,255,255,1);--scrape-example-code-wrapper-background-end:rgba(255,255,255,0);}
\ No newline at end of file
diff --git a/static.files/noscript-13285aec31fa243e.css b/static.files/noscript-13285aec31fa243e.css
deleted file mode 100644
index c32e0cb135..0000000000
--- a/static.files/noscript-13285aec31fa243e.css
+++ /dev/null
@@ -1 +0,0 @@
- #main-content .attributes{margin-left:0 !important;}#copy-path{display:none;}nav.sub{display:none;}.source .sidebar{display:none;}.notable-traits{display:none;}
\ No newline at end of file
diff --git a/static.files/noscript-cffde32267a19fd6.css b/static.files/noscript-cffde32267a19fd6.css
new file mode 100644
index 0000000000..12d3f6dd5f
--- /dev/null
+++ b/static.files/noscript-cffde32267a19fd6.css
@@ -0,0 +1 @@
+ #main-content .attributes{margin-left:0 !important;}#copy-path{display:none;}nav.sub{display:none;}.src .sidebar{display:none;}.notable-traits{display:none;}
\ No newline at end of file
diff --git a/static.files/rustdoc-9bb858ba049f1f21.css b/static.files/rustdoc-9bb858ba049f1f21.css
deleted file mode 100644
index 73eacd8030..0000000000
--- a/static.files/rustdoc-9bb858ba049f1f21.css
+++ /dev/null
@@ -1,8 +0,0 @@
- :root{--nav-sub-mobile-padding:8px;--search-typename-width:6.75rem;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular-018c141bf0843ffd.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium-8f9a781e4970d388.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular-46f98efaafac5295.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2") format("woff2");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{box-sizing:border-box;}body{font:1rem/1.5 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;overflow-wrap:break-word;overflow-wrap:anywhere;font-feature-settings:"kern","liga";background-color:var(--main-background-color);color:var(--main-color);}h1{font-size:1.5rem;}h2{font-size:1.375rem;}h3{font-size:1.25rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:25px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}.docblock>h2:first-child,.docblock>h3:first-child,.docblock>h4:first-child,.docblock>h5:first-child,.docblock>h6:first-child{margin-top:0;}.main-heading h1{margin:0;padding:0;flex-grow:1;overflow-wrap:break-word;overflow-wrap:anywhere;}.main-heading{display:flex;flex-wrap:wrap;padding-bottom:6px;margin-bottom:15px;}.content h2,.top-doc .docblock>h3,.top-doc .docblock>h4{border-bottom:1px solid var(--headings-border-bottom-color);}h1,h2{line-height:1.25;padding-top:3px;padding-bottom:9px;}h3.code-header{font-size:1.125rem;}h4.code-header{font-size:1rem;}.code-header{font-weight:600;margin:0;padding:0;white-space:pre-wrap;}#crate-search,h1,h2,h3,h4,h5,h6,.sidebar,.mobile-topbar,.search-input,.search-results .result-name,.item-name>a,.out-of-band,span.since,a.srclink,#help-button>a,summary.hideme,.scraped-example-list,ul.all-items{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}#toggle-all-docs,a.anchor,.small-section-header a,#source-sidebar a,.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,h1 a,.search-results a,.stab,.result-name i{color:var(--main-color);}span.enum,a.enum,span.struct,a.struct,span.union,a.union,span.primitive,a.primitive,span.type,a.type,span.foreigntype,a.foreigntype{color:var(--type-link-color);}span.trait,a.trait,span.traitalias,a.traitalias{color:var(--trait-link-color);}span.associatedtype,a.associatedtype,span.constant,a.constant,span.static,a.static{color:var(--assoc-item-link-color);}span.fn,a.fn,span.method,a.method,span.tymethod,a.tymethod{color:var(--function-link-color);}span.attr,a.attr,span.derive,a.derive,span.macro,a.macro{color:var(--macro-link-color);}span.mod,a.mod{color:var(--mod-link-color);}span.keyword,a.keyword{color:var(--keyword-link-color);}a{color:var(--link-color);text-decoration:none;}ol,ul{padding-left:24px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.625em;}p{margin:0 0 .75em 0;}p:last-child{margin:0;}button{padding:1px 6px;cursor:pointer;}button#toggle-all-docs{padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.source main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}details:not(.toggle) summary{margin-bottom:.6em;}code,pre,a.test-arrow,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.125em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;line-height:1.5;}pre.item-decl{overflow-x:auto;}.item-decl .type-contents-toggle{contain:initial;}.source .content pre{padding:20px;}.rustdoc.source .example-wrap pre.src-line-numbers{padding:20px 0 20px 4px;}img{max-width:100%;}.sub-logo-container,.logo-container{line-height:0;display:block;}.sub-logo-container{margin-right:32px;}.sub-logo-container>img{height:60px;width:60px;object-fit:contain;}.rust-logo{filter:var(--rust-logo-filter);}.sidebar{font-size:0.875rem;flex:0 0 200px;overflow-y:scroll;overscroll-behavior:contain;position:sticky;height:100vh;top:0;left:0;}.rustdoc.source .sidebar{flex-basis:50px;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;z-index:1;}.sidebar,.mobile-topbar,.sidebar-menu-toggle,#src-sidebar-toggle,#source-sidebar{background-color:var(--sidebar-background-color);}#src-sidebar-toggle>button:hover,#src-sidebar-toggle>button:focus{background-color:var(--sidebar-background-color-hover);}.source .sidebar>*:not(#src-sidebar-toggle){visibility:hidden;}.source-sidebar-expanded .source .sidebar{overflow-y:auto;flex-basis:300px;}.source-sidebar-expanded .source .sidebar>*:not(#src-sidebar-toggle){visibility:visible;}#all-types{margin-top:1em;}*{scrollbar-width:initial;scrollbar-color:var(--scrollbar-color);}.sidebar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-color);}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;background-color:var(--scrollbar-track-background-color);}.sidebar::-webkit-scrollbar-track{background-color:var(--scrollbar-track-background-color);}::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-background-color);}.hidden{display:none !important;}.sidebar .logo-container{margin-top:10px;margin-bottom:10px;text-align:center;}.version{overflow-wrap:break-word;}.logo-container>img{height:100px;width:100px;}ul.block,.block li{padding:0;margin:0;list-style:none;}.sidebar-elems a,.sidebar>h2 a{display:block;padding:0.25rem;margin-left:-0.25rem;}.sidebar h2{overflow-wrap:anywhere;padding:0;margin:0.7rem 0;}.sidebar h3{font-size:1.125rem;padding:0;margin:0;}.sidebar-elems,.sidebar>h2{padding-left:24px;}.sidebar a{color:var(--sidebar-link-color);}.sidebar .current,.sidebar a:hover:not(.logo-container){background-color:var(--sidebar-current-link-background-color);}.sidebar-elems .block{margin-bottom:2em;}.sidebar-elems .block li a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}.mobile-topbar{display:none;}.rustdoc .example-wrap{display:flex;position:relative;margin-bottom:10px;}.rustdoc .example-wrap:last-child{margin-bottom:0px;}.rustdoc .example-wrap pre{margin:0;flex-grow:1;}.rustdoc:not(.source) .example-wrap pre{overflow:auto hidden;}.rustdoc .example-wrap pre.example-line-numbers,.rustdoc .example-wrap pre.src-line-numbers{flex-grow:0;min-width:fit-content;overflow:initial;text-align:right;-webkit-user-select:none;user-select:none;padding:14px 8px;color:var(--src-line-numbers-span-color);}.rustdoc .example-wrap pre.src-line-numbers{padding:14px 0;}.src-line-numbers a,.src-line-numbers span{color:var(--src-line-numbers-span-color);padding:0 8px;}.src-line-numbers :target{background-color:transparent;border-right:none;padding:0 8px;}.src-line-numbers .line-highlighted{background-color:var(--src-line-number-highlighted-background-color);}.search-loading{text-align:center;}.docblock-short{overflow-wrap:break-word;overflow-wrap:anywhere;}.docblock :not(pre)>code,.docblock-short code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.375rem;}.top-doc .docblock h3{font-size:1.25rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.125rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.875rem;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.more-examples-toggle):not(.example-wrap){max-width:100%;overflow-x:auto;}.out-of-band{flex-grow:0;font-size:1.125rem;}.docblock code,.docblock-short code,pre,.rustdoc.source .example-wrap{background-color:var(--code-block-background-color);}#main-content{position:relative;}.docblock table{margin:.5em 0;border-collapse:collapse;}.docblock table td,.docblock table th{padding:.5em;border:1px solid var(--border-color);}.docblock table tbody tr:nth-child(2n){background:var(--table-alt-row-background-color);}.method .where,.fn .where,.where.fmt-newline{display:block;white-space:pre-wrap;font-size:0.875rem;}.item-info{display:block;margin-left:24px;}.item-info code{font-size:0.875rem;}#main-content>.item-info{margin-left:0;}nav.sub{flex-grow:1;flex-flow:row nowrap;margin:4px 0 25px 0;display:flex;align-items:center;}.search-form{position:relative;display:flex;height:34px;flex-grow:1;}.source nav.sub{margin:0 0 15px 0;}.small-section-header{display:block;position:relative;}.small-section-header:hover>.anchor,.impl:hover>.anchor,.trait-impl:hover>.anchor,.variant:hover>.anchor{display:initial;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-15px;padding-right:8px;}h2.small-section-header>.anchor{padding-right:6px;}.main-heading a:hover,.example-wrap .rust a:hover,.all-items a:hover,.docblock a:not(.test-arrow):not(.scrape-help):not(.tooltip):hover,.docblock-short a:not(.test-arrow):not(.scrape-help):not(.tooltip):hover,.item-info a{text-decoration:underline;}.crate.block a.current{font-weight:500;}table,.item-table{overflow-wrap:break-word;}.item-table{display:table;padding:0;margin:0;}.item-table>li{display:table-row;}.item-table>li>div{display:table-cell;}.item-table>li>.item-name{padding-right:1.25rem;}.search-results-title{margin-top:0;white-space:nowrap;display:flex;align-items:baseline;}#crate-search-div{position:relative;min-width:5em;}#crate-search{min-width:115px;padding:0 23px 0 4px;max-width:100%;text-overflow:ellipsis;border:1px solid var(--border-color);border-radius:4px;outline:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;background-color:var(--main-background-color);color:inherit;line-height:1.5;font-weight:500;}#crate-search:hover,#crate-search:focus{border-color:var(--crate-search-hover-border);}@-moz-document url-prefix(){#crate-search{padding-left:0px;padding-right:19px;}}#crate-search-div::after{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0;content:"";background-repeat:no-repeat;background-size:20px;background-position:calc(100% - 2px) 56%;background-image:url('data:image/svg+xml, \
-	');filter:var(--crate-search-div-filter);}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:var(--crate-search-div-hover-filter);}#crate-search>option{font-size:1rem;}.search-input{-webkit-appearance:none;outline:none;border:1px solid var(--border-color);border-radius:2px;padding:8px;font-size:1rem;flex-grow:1;background-color:var(--button-background-color);color:var(--search-color);}.search-input:focus{border-color:var(--search-input-focused-border-color);}.search-results{display:none;}.search-results.active{display:block;}.search-results>a{display:flex;margin-left:2px;margin-right:2px;border-bottom:1px solid var(--search-result-border-color);gap:1em;}.search-results>a>div.desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:2;}.search-results a:hover,.search-results a:focus{background-color:var(--search-result-link-focus-background-color);}.search-results .result-name{display:flex;align-items:center;justify-content:start;flex:3;}.search-results .result-name span.alias{color:var(--search-results-alias-color);}.search-results .result-name .grey{color:var(--search-results-grey-color);}.search-results .result-name .typename{color:var(--search-results-grey-color);font-size:0.875rem;width:var(--search-typename-width);}.search-results .result-name .path{word-break:break-all;max-width:calc(100% - var(--search-typename-width));display:inline-block;}.popover{position:absolute;top:100%;right:0;z-index:2;margin-top:7px;border-radius:3px;border:1px solid var(--border-color);background-color:var(--main-background-color);color:var(--main-color);--popover-arrow-offset:11px;}.popover::before{content:'';position:absolute;right:var(--popover-arrow-offset);border:solid var(--border-color);border-width:1px 1px 0 0;background-color:var(--main-background-color);padding:4px;transform:rotate(-45deg);top:-5px;}#help.popover{max-width:600px;--popover-arrow-offset:48px;}#help dt{float:left;clear:left;margin-right:0.5rem;}#help span.top,#help span.bottom{text-align:center;display:block;font-size:1.125rem;}#help span.top{margin:10px 0;border-bottom:1px solid var(--border-color);padding-bottom:4px;margin-bottom:6px;}#help span.bottom{clear:both;border-top:1px solid var(--border-color);}.side-by-side>div{width:50%;float:left;padding:0 20px 20px 17px;}.item-info .stab{min-height:36px;display:flex;padding:3px;margin-bottom:5px;align-items:center;vertical-align:text-bottom;}.item-name .stab{margin-left:0.3125em;}.stab{padding:0 2px;font-size:0.875rem;font-weight:normal;color:var(--main-color);background-color:var(--stab-background-color);width:fit-content;white-space:pre-wrap;border-radius:3px;display:inline;}.stab.portability>code{background:none;color:var(--stab-code-color);}.stab .emoji{font-size:1.25rem;margin-right:0.3rem;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.since{font-weight:normal;font-size:initial;}.rightside{padding-left:12px;float:right;}.rightside:not(a),.out-of-band{color:var(--right-side-color);}pre.rust{tab-size:4;-moz-tab-size:4;}pre.rust .kw{color:var(--code-highlight-kw-color);}pre.rust .kw-2{color:var(--code-highlight-kw-2-color);}pre.rust .lifetime{color:var(--code-highlight-lifetime-color);}pre.rust .prelude-ty{color:var(--code-highlight-prelude-color);}pre.rust .prelude-val{color:var(--code-highlight-prelude-val-color);}pre.rust .string{color:var(--code-highlight-string-color);}pre.rust .number{color:var(--code-highlight-number-color);}pre.rust .bool-val{color:var(--code-highlight-literal-color);}pre.rust .self{color:var(--code-highlight-self-color);}pre.rust .attr{color:var(--code-highlight-attribute-color);}pre.rust .macro,pre.rust .macro-nonterminal{color:var(--code-highlight-macro-color);}pre.rust .question-mark{font-weight:bold;color:var(--code-highlight-question-mark-color);}pre.rust .comment{color:var(--code-highlight-comment-color);}pre.rust .doccomment{color:var(--code-highlight-doc-comment-color);}.rustdoc.source .example-wrap pre.rust a{background:var(--codeblock-link-background);}.example-wrap.compile_fail,.example-wrap.should_panic{border-left:2px solid var(--codeblock-error-color);}.ignore.example-wrap{border-left:2px solid var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover,.example-wrap.should_panic:hover{border-left:2px solid var(--codeblock-error-hover-color);}.example-wrap.ignore:hover{border-left:2px solid var(--codeblock-ignore-hover-color);}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip{color:var(--codeblock-error-color);}.example-wrap.ignore .tooltip{color:var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover .tooltip,.example-wrap.should_panic:hover .tooltip{color:var(--codeblock-error-hover-color);}.example-wrap.ignore:hover .tooltip{color:var(--codeblock-ignore-hover-color);}.example-wrap .tooltip{position:absolute;display:block;left:-25px;top:5px;margin:0;line-height:1;}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip,.example-wrap.ignore .tooltip{font-weight:bold;font-size:1.25rem;}a.test-arrow{visibility:hidden;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:1.375rem;top:5px;right:5px;z-index:1;color:var(--test-arrow-color);background-color:var(--test-arrow-background-color);}a.test-arrow:hover{color:var(--test-arrow-hover-color);background-color:var(--test-arrow-hover-background-color);}.example-wrap:hover .test-arrow{visibility:visible;}.code-attribute{font-weight:300;color:var(--code-attribute-color);}.item-spacer{width:100%;height:12px;display:block;}.out-of-band>span.since{font-size:1.25rem;}.sub-variant h4{font-size:1rem;font-weight:400;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}:target{padding-right:3px;background-color:var(--target-background-color);border-right:3px solid var(--target-border-color);}.code-header a.tooltip{color:inherit;margin-right:15px;position:relative;}.code-header a.tooltip:hover{color:var(--link-color);}a.tooltip:hover::after{position:absolute;top:calc(100% - 10px);left:-15px;right:-15px;height:20px;content:"\00a0";}.fade-out{opacity:0;transition:opacity 0.45s cubic-bezier(0,0,0.1,1.0);}.popover.tooltip .content{margin:0.25em 0.5em;}.popover.tooltip .content pre,.popover.tooltip .content code{background:transparent;margin:0;padding:0;font-size:1.25rem;white-space:pre-wrap;}.popover.tooltip .content>h3:first-child{margin:0 0 5px 0;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#search-tabs{display:flex;flex-direction:row;gap:1px;margin-bottom:4px;}#search-tabs button{text-align:center;font-size:1.125rem;border:0;border-top:2px solid;flex:1;line-height:1.5;color:inherit;}#search-tabs button:not(.selected){background-color:var(--search-tab-button-not-selected-background);border-top-color:var(--search-tab-button-not-selected-border-top-color);}#search-tabs button:hover,#search-tabs button.selected{background-color:var(--search-tab-button-selected-background);border-top-color:var(--search-tab-button-selected-border-top-color);}#search-tabs .count{font-size:1rem;color:var(--search-tab-title-count-color);}#search .error code{border-radius:3px;background-color:var(--search-error-code-background-color);}.search-corrections{font-weight:normal;}#src-sidebar-toggle{position:sticky;top:0;left:0;font-size:1.25rem;border-bottom:1px solid;display:flex;height:40px;justify-content:stretch;align-items:stretch;z-index:10;}#source-sidebar{width:100%;overflow:auto;}#source-sidebar>.title{font-size:1.5rem;text-align:center;border-bottom:1px solid var(--border-color);margin-bottom:6px;}#source-sidebar div.files>a:hover,details.dir-entry summary:hover,#source-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:var(--source-sidebar-background-hover);}#source-sidebar div.files>a.selected{background-color:var(--source-sidebar-background-selected);}#src-sidebar-toggle>button{font-size:inherit;font-weight:bold;background:none;color:inherit;text-align:center;border:none;outline:none;flex:1 1;-webkit-appearance:none;opacity:1;}#settings-menu,#help-button{margin-left:4px;display:flex;}#settings-menu>a,#help-button>a{display:flex;align-items:center;justify-content:center;background-color:var(--button-background-color);border:1px solid var(--border-color);border-radius:2px;color:var(--settings-button-color);font-size:20px;width:33px;}#settings-menu>a:hover,#settings-menu>a:focus,#help-button>a:hover,#help-button>a:focus{border-color:var(--settings-button-border-focus);}#copy-path{color:var(--copy-path-button-color);background:var(--main-background-color);height:34px;margin-left:10px;padding:0;padding-left:2px;border:0;width:33px;}#copy-path>img{filter:var(--copy-path-img-filter);}#copy-path:hover>img{filter:var(--copy-path-img-hover-filter);}@keyframes rotating{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}#settings-menu.rotate>a img{animation:rotating 2s linear infinite;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px var(--border-color);border-radius:3px;color:var(--kbd-color);background-color:var(--kbd-background);box-shadow:inset 0 -1px 0 var(--kbd-box-shadow-color);}ul.all-items>li{list-style:none;}details.dir-entry{padding-left:4px;}details.dir-entry>summary{margin:0 0 0 -4px;padding:0 0 0 4px;cursor:pointer;}details.dir-entry div.folders,details.dir-entry div.files{padding-left:23px;}details.dir-entry a{display:block;}details.toggle{contain:layout;position:relative;}details.toggle>summary.hideme{cursor:pointer;font-size:1rem;}details.toggle>summary{list-style:none;outline:none;}details.toggle>summary::-webkit-details-marker,details.toggle>summary::marker{display:none;}details.toggle>summary.hideme>span{margin-left:9px;}details.toggle>summary::before{background:url('data:image/svg+xml,') no-repeat top left;content:"";cursor:pointer;width:16px;height:16px;display:inline-block;vertical-align:middle;opacity:.5;filter:var(--toggle-filter);}details.toggle>summary.hideme>span,.more-examples-toggle summary,.more-examples-toggle .hide-more{color:var(--toggles-color);}details.toggle>summary::after{content:"Expand";overflow:hidden;width:0;height:0;position:absolute;}details.toggle>summary.hideme::after{content:"";}details.toggle>summary:focus::before,details.toggle>summary:hover::before{opacity:1;}details.toggle>summary:focus-visible::before{outline:1px dotted #000;outline-offset:1px;}details.non-exhaustive{margin-bottom:8px;}details.toggle>summary.hideme::before{position:relative;}details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;top:4px;}.impl-items>details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;}details.toggle[open] >summary.hideme{position:absolute;}details.toggle[open] >summary.hideme>span{display:none;}details.toggle[open] >summary::before{background:url('data:image/svg+xml,') no-repeat top left;}details.toggle[open] >summary::after{content:"Collapse";}.docblock summary>*{display:inline-block;}.docblock>.example-wrap:first-child .tooltip{margin-top:16px;}@media (max-width:700px){*[id]{scroll-margin-top:45px;}.rustdoc{display:block;}main{padding-left:15px;padding-top:0px;}.main-heading{flex-direction:column;}.out-of-band{text-align:left;margin-left:initial;padding:initial;}.out-of-band .since::before{content:"Since ";}.sidebar .logo-container,.sidebar .location{display:none;}.sidebar{position:fixed;top:45px;left:-1000px;z-index:11;height:calc(100vh - 45px);width:200px;}.source main,.rustdoc.source .sidebar{top:0;padding:0;height:100vh;border:0;}.sidebar.shown,.source-sidebar-expanded .source .sidebar,.rustdoc:not(.source) .sidebar:focus-within{left:0;}.mobile-topbar h2{padding-bottom:0;margin:auto 0.5em auto auto;overflow:hidden;font-size:24px;}.mobile-topbar h2 a{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin:5px 0 5px 20px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.sidebar-menu-toggle{width:45px;font-size:32px;border:none;color:var(--main-color);}.sidebar-elems{margin-top:1em;}.anchor{display:none !important;}#search-tabs .count{display:block;}#main-content>details.toggle>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}#src-sidebar-toggle{position:fixed;left:1px;top:100px;width:30px;font-size:1.5rem;padding:0;z-index:10;border-top-right-radius:3px;border-bottom-right-radius:3px;border:1px solid;border-left:0;}.source-sidebar-expanded #src-sidebar-toggle{left:unset;top:unset;width:unset;border-top-right-radius:unset;border-bottom-right-radius:unset;position:sticky;border:0;border-bottom:1px solid;}#copy-path,#help-button{display:none;}.item-table,.item-row,.item-table>li,.item-table>li>div,.search-results>a,.search-results>a>div{display:block;}.search-results>a{padding:5px 0px;}.search-results>a>div.desc,.item-table>li>div.desc{padding-left:2em;}.search-results .result-name{display:block;}.search-results .result-name .typename{width:initial;margin-right:0;}.search-results .result-name .typename,.search-results .result-name .path{display:inline;}.source-sidebar-expanded .source .sidebar{max-width:100vw;width:100vw;}details.toggle:not(.top-doc)>summary{margin-left:10px;}.impl-items>details.toggle>summary:not(.hideme)::before,#main-content>details.toggle:not(.top-doc)>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}.impl-items>.item-info{margin-left:34px;}.source nav.sub{margin:0;padding:var(--nav-sub-mobile-padding);}}@media (min-width:701px){.scraped-example-title{position:absolute;z-index:10;background:var(--main-background-color);bottom:8px;right:5px;padding:2px 4px;box-shadow:0 0 4px var(--main-background-color);}}@media print{nav.sidebar,nav.sub,.out-of-band,a.srclink,#copy-path,details.toggle[open] >summary::before,details.toggle>summary::before,details.toggle.top-doc>summary{display:none;}.docblock{margin-left:0;}main{padding:10px;}}@media (max-width:464px){.docblock{margin-left:12px;}.docblock code{overflow-wrap:break-word;overflow-wrap:anywhere;}nav.sub{flex-direction:column;}.search-form{align-self:stretch;}.sub-logo-container>img{height:35px;width:35px;margin-bottom:var(--nav-sub-mobile-padding);}}.variant,.implementors-toggle>summary,.impl,#implementors-list>.docblock,.impl-items>section,.impl-items>.toggle>summary,.methods>section,.methods>.toggle>summary{margin-bottom:0.75em;}.variants>.docblock,.implementors-toggle>.docblock,.impl-items>.toggle[open]:not(:last-child),.methods>.toggle[open]:not(:last-child),.implementors-toggle[open]:not(:last-child){margin-bottom:2em;}#trait-implementations-list .impl-items>.toggle:not(:last-child),#synthetic-implementations-list .impl-items>.toggle:not(:last-child),#blanket-implementations-list .impl-items>.toggle:not(:last-child){margin-bottom:1em;}.scraped-example-list .scrape-help{margin-left:10px;padding:0 4px;font-weight:normal;font-size:12px;position:relative;bottom:1px;border:1px solid var(--scrape-example-help-border-color);border-radius:50px;color:var(--scrape-example-help-color);}.scraped-example-list .scrape-help:hover{border-color:var(--scrape-example-help-hover-border-color);color:var(--scrape-example-help-hover-color);}.scraped-example{position:relative;}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper{max-height:calc(1.5em * 5 + 10px);}.scraped-example:not(.expanded) .code-wrapper pre{overflow-y:hidden;padding-bottom:0;max-height:calc(1.5em * 5 + 10px);}.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper,.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper pre{max-height:calc(1.5em * 10 + 10px);}.scraped-example .code-wrapper .next,.scraped-example .code-wrapper .prev,.scraped-example .code-wrapper .expand{color:var(--main-color);position:absolute;top:0.25em;z-index:1;padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.scraped-example .code-wrapper .prev{right:2.25em;}.scraped-example .code-wrapper .next{right:1.25em;}.scraped-example .code-wrapper .expand{right:0.25em;}.scraped-example:not(.expanded) .code-wrapper::before,.scraped-example:not(.expanded) .code-wrapper::after{content:" ";width:100%;height:5px;position:absolute;z-index:1;}.scraped-example:not(.expanded) .code-wrapper::before{top:0;background:linear-gradient(to bottom,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example:not(.expanded) .code-wrapper::after{bottom:0;background:linear-gradient(to top,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example .code-wrapper .example-wrap{width:100%;overflow-y:hidden;margin-bottom:0;}.scraped-example:not(.expanded) .code-wrapper .example-wrap{overflow-x:hidden;}.scraped-example .example-wrap .rust span.highlight{background:var(--scrape-example-code-line-highlight);}.scraped-example .example-wrap .rust span.highlight.focus{background:var(--scrape-example-code-line-highlight-focus);}.more-examples-toggle{max-width:calc(100% + 25px);margin-top:10px;margin-left:-25px;}.more-examples-toggle .hide-more{margin-left:25px;cursor:pointer;}.more-scraped-examples{margin-left:25px;position:relative;}.toggle-line{position:absolute;top:5px;bottom:0;right:calc(100% + 10px);padding:0 4px;cursor:pointer;}.toggle-line-inner{min-width:2px;height:100%;background:var(--scrape-example-toggle-line-background);}.toggle-line:hover .toggle-line-inner{background:var(--scrape-example-toggle-line-hover-background);}.more-scraped-examples .scraped-example,.example-links{margin-top:20px;}.more-scraped-examples .scraped-example:first-child{margin-top:5px;}.example-links ul{margin-bottom:0;}
\ No newline at end of file
diff --git a/static.files/rustdoc-cb6f1f67f1bcd037.css b/static.files/rustdoc-cb6f1f67f1bcd037.css
new file mode 100644
index 0000000000..ac787240c1
--- /dev/null
+++ b/static.files/rustdoc-cb6f1f67f1bcd037.css
@@ -0,0 +1,8 @@
+ :root{--nav-sub-mobile-padding:8px;--search-typename-width:6.75rem;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular-018c141bf0843ffd.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium-8f9a781e4970d388.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular-46f98efaafac5295.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2") format("woff2");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{box-sizing:border-box;}body{font:1rem/1.5 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;overflow-wrap:break-word;overflow-wrap:anywhere;font-feature-settings:"kern","liga";background-color:var(--main-background-color);color:var(--main-color);}h1{font-size:1.5rem;}h2{font-size:1.375rem;}h3{font-size:1.25rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:25px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}.docblock>h2:first-child,.docblock>h3:first-child,.docblock>h4:first-child,.docblock>h5:first-child,.docblock>h6:first-child{margin-top:0;}.main-heading h1{margin:0;padding:0;flex-grow:1;overflow-wrap:break-word;overflow-wrap:anywhere;}.main-heading{display:flex;flex-wrap:wrap;padding-bottom:6px;margin-bottom:15px;}.content h2,.top-doc .docblock>h3,.top-doc .docblock>h4{border-bottom:1px solid var(--headings-border-bottom-color);}h1,h2{line-height:1.25;padding-top:3px;padding-bottom:9px;}h3.code-header{font-size:1.125rem;}h4.code-header{font-size:1rem;}.code-header{font-weight:600;margin:0;padding:0;white-space:pre-wrap;}#crate-search,h1,h2,h3,h4,h5,h6,.sidebar,.mobile-topbar,.search-input,.search-results .result-name,.item-name>a,.out-of-band,span.since,a.src,#help-button>a,summary.hideme,.scraped-example-list,ul.all-items{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}#toggle-all-docs,a.anchor,.small-section-header a,#src-sidebar a,.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,h1 a,.search-results a,.stab,.result-name i{color:var(--main-color);}span.enum,a.enum,span.struct,a.struct,span.union,a.union,span.primitive,a.primitive,span.type,a.type,span.foreigntype,a.foreigntype{color:var(--type-link-color);}span.trait,a.trait,span.traitalias,a.traitalias{color:var(--trait-link-color);}span.associatedtype,a.associatedtype,span.constant,a.constant,span.static,a.static{color:var(--assoc-item-link-color);}span.fn,a.fn,span.method,a.method,span.tymethod,a.tymethod{color:var(--function-link-color);}span.attr,a.attr,span.derive,a.derive,span.macro,a.macro{color:var(--macro-link-color);}span.mod,a.mod{color:var(--mod-link-color);}span.keyword,a.keyword{color:var(--keyword-link-color);}a{color:var(--link-color);text-decoration:none;}ol,ul{padding-left:24px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.625em;}p{margin:0 0 .75em 0;}p:last-child{margin:0;}button{padding:1px 6px;cursor:pointer;}button#toggle-all-docs{padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.src main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}details:not(.toggle) summary{margin-bottom:.6em;}code,pre,a.test-arrow,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.125em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;line-height:1.5;}pre.item-decl{overflow-x:auto;}.item-decl .type-contents-toggle{contain:initial;}.src .content pre{padding:20px;}.rustdoc.src .example-wrap pre.src-line-numbers{padding:20px 0 20px 4px;}img{max-width:100%;}.sub-logo-container,.logo-container{line-height:0;display:block;}.sub-logo-container{margin-right:32px;}.sub-logo-container>img{height:60px;width:60px;object-fit:contain;}.rust-logo{filter:var(--rust-logo-filter);}.sidebar{font-size:0.875rem;flex:0 0 200px;overflow-y:scroll;overscroll-behavior:contain;position:sticky;height:100vh;top:0;left:0;}.rustdoc.src .sidebar{flex-basis:50px;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;z-index:1;}.sidebar,.mobile-topbar,.sidebar-menu-toggle,#src-sidebar-toggle,#src-sidebar{background-color:var(--sidebar-background-color);}#src-sidebar-toggle>button:hover,#src-sidebar-toggle>button:focus{background-color:var(--sidebar-background-color-hover);}.src .sidebar>*:not(#src-sidebar-toggle){visibility:hidden;}.src-sidebar-expanded .src .sidebar{overflow-y:auto;flex-basis:300px;}.src-sidebar-expanded .src .sidebar>*:not(#src-sidebar-toggle){visibility:visible;}#all-types{margin-top:1em;}*{scrollbar-width:initial;scrollbar-color:var(--scrollbar-color);}.sidebar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-color);}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;background-color:var(--scrollbar-track-background-color);}.sidebar::-webkit-scrollbar-track{background-color:var(--scrollbar-track-background-color);}::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-background-color);}.hidden{display:none !important;}.sidebar .logo-container{margin-top:10px;margin-bottom:10px;text-align:center;}.version{overflow-wrap:break-word;}.logo-container>img{height:100px;width:100px;}ul.block,.block li{padding:0;margin:0;list-style:none;}.sidebar-elems a,.sidebar>h2 a{display:block;padding:0.25rem;margin-left:-0.25rem;}.sidebar h2{overflow-wrap:anywhere;padding:0;margin:0.7rem 0;}.sidebar h3{font-size:1.125rem;padding:0;margin:0;}.sidebar-elems,.sidebar>h2{padding-left:24px;}.sidebar a{color:var(--sidebar-link-color);}.sidebar .current,.sidebar a:hover:not(.logo-container){background-color:var(--sidebar-current-link-background-color);}.sidebar-elems .block{margin-bottom:2em;}.sidebar-elems .block li a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}.mobile-topbar{display:none;}.rustdoc .example-wrap{display:flex;position:relative;margin-bottom:10px;}.rustdoc .example-wrap:last-child{margin-bottom:0px;}.rustdoc .example-wrap pre{margin:0;flex-grow:1;}.rustdoc:not(.src) .example-wrap pre{overflow:auto hidden;}.rustdoc .example-wrap pre.example-line-numbers,.rustdoc .example-wrap pre.src-line-numbers{flex-grow:0;min-width:fit-content;overflow:initial;text-align:right;-webkit-user-select:none;user-select:none;padding:14px 8px;color:var(--src-line-numbers-span-color);}.rustdoc .example-wrap pre.src-line-numbers{padding:14px 0;}.src-line-numbers a,.src-line-numbers span{color:var(--src-line-numbers-span-color);padding:0 8px;}.src-line-numbers :target{background-color:transparent;border-right:none;padding:0 8px;}.src-line-numbers .line-highlighted{background-color:var(--src-line-number-highlighted-background-color);}.search-loading{text-align:center;}.docblock-short{overflow-wrap:break-word;overflow-wrap:anywhere;}.docblock :not(pre)>code,.docblock-short code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.375rem;}.top-doc .docblock h3{font-size:1.25rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.125rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.875rem;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.more-examples-toggle):not(.example-wrap){max-width:100%;overflow-x:auto;}.out-of-band{flex-grow:0;font-size:1.125rem;}.docblock code,.docblock-short code,pre,.rustdoc.src .example-wrap{background-color:var(--code-block-background-color);}#main-content{position:relative;}.docblock table{margin:.5em 0;border-collapse:collapse;}.docblock table td,.docblock table th{padding:.5em;border:1px solid var(--border-color);}.docblock table tbody tr:nth-child(2n){background:var(--table-alt-row-background-color);}.method .where,.fn .where,.where.fmt-newline{display:block;white-space:pre-wrap;font-size:0.875rem;}.item-info{display:block;margin-left:24px;}.item-info code{font-size:0.875rem;}#main-content>.item-info{margin-left:0;}nav.sub{flex-grow:1;flex-flow:row nowrap;margin:4px 0 25px 0;display:flex;align-items:center;}.search-form{position:relative;display:flex;height:34px;flex-grow:1;}.src nav.sub{margin:0 0 15px 0;}.small-section-header{display:block;position:relative;}.small-section-header:hover>.anchor,.impl:hover>.anchor,.trait-impl:hover>.anchor,.variant:hover>.anchor{display:initial;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-15px;padding-right:8px;}h2.small-section-header>.anchor{padding-right:6px;}.main-heading a:hover,.example-wrap .rust a:hover,.all-items a:hover,.docblock a:not(.test-arrow):not(.scrape-help):not(.tooltip):hover,.docblock-short a:not(.test-arrow):not(.scrape-help):not(.tooltip):hover,.item-info a{text-decoration:underline;}.crate.block a.current{font-weight:500;}table,.item-table{overflow-wrap:break-word;}.item-table{display:table;padding:0;margin:0;}.item-table>li{display:table-row;}.item-table>li>div{display:table-cell;}.item-table>li>.item-name{padding-right:1.25rem;}.search-results-title{margin-top:0;white-space:nowrap;display:flex;align-items:baseline;}#crate-search-div{position:relative;min-width:5em;}#crate-search{min-width:115px;padding:0 23px 0 4px;max-width:100%;text-overflow:ellipsis;border:1px solid var(--border-color);border-radius:4px;outline:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;background-color:var(--main-background-color);color:inherit;line-height:1.5;font-weight:500;}#crate-search:hover,#crate-search:focus{border-color:var(--crate-search-hover-border);}#crate-search-div::after{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0;content:"";background-repeat:no-repeat;background-size:20px;background-position:calc(100% - 2px) 56%;background-image:url('data:image/svg+xml, \
+	');filter:var(--crate-search-div-filter);}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:var(--crate-search-div-hover-filter);}#crate-search>option{font-size:1rem;}.search-input{-webkit-appearance:none;outline:none;border:1px solid var(--border-color);border-radius:2px;padding:8px;font-size:1rem;flex-grow:1;background-color:var(--button-background-color);color:var(--search-color);}.search-input:focus{border-color:var(--search-input-focused-border-color);}.search-results{display:none;}.search-results.active{display:block;}.search-results>a{display:flex;margin-left:2px;margin-right:2px;border-bottom:1px solid var(--search-result-border-color);gap:1em;}.search-results>a>div.desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:2;}.search-results a:hover,.search-results a:focus{background-color:var(--search-result-link-focus-background-color);}.search-results .result-name{display:flex;align-items:center;justify-content:start;flex:3;}.search-results .result-name .alias{color:var(--search-results-alias-color);}.search-results .result-name .grey{color:var(--search-results-grey-color);}.search-results .result-name .typename{color:var(--search-results-grey-color);font-size:0.875rem;width:var(--search-typename-width);}.search-results .result-name .path{word-break:break-all;max-width:calc(100% - var(--search-typename-width));display:inline-block;}.search-results .result-name .path>*{display:inline;}.popover{position:absolute;top:100%;right:0;z-index:2;margin-top:7px;border-radius:3px;border:1px solid var(--border-color);background-color:var(--main-background-color);color:var(--main-color);--popover-arrow-offset:11px;}.popover::before{content:'';position:absolute;right:var(--popover-arrow-offset);border:solid var(--border-color);border-width:1px 1px 0 0;background-color:var(--main-background-color);padding:4px;transform:rotate(-45deg);top:-5px;}#help.popover{max-width:600px;--popover-arrow-offset:48px;}#help dt{float:left;clear:left;margin-right:0.5rem;}#help span.top,#help span.bottom{text-align:center;display:block;font-size:1.125rem;}#help span.top{margin:10px 0;border-bottom:1px solid var(--border-color);padding-bottom:4px;margin-bottom:6px;}#help span.bottom{clear:both;border-top:1px solid var(--border-color);}.side-by-side>div{width:50%;float:left;padding:0 20px 20px 17px;}.item-info .stab{min-height:36px;display:flex;padding:3px;margin-bottom:5px;align-items:center;vertical-align:text-bottom;}.item-name .stab{margin-left:0.3125em;}.stab{padding:0 2px;font-size:0.875rem;font-weight:normal;color:var(--main-color);background-color:var(--stab-background-color);width:fit-content;white-space:pre-wrap;border-radius:3px;display:inline;}.stab.portability>code{background:none;color:var(--stab-code-color);}.stab .emoji{font-size:1.25rem;margin-right:0.3rem;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.since{font-weight:normal;font-size:initial;}.rightside{padding-left:12px;float:right;}.rightside:not(a),.out-of-band{color:var(--right-side-color);}pre.rust{tab-size:4;-moz-tab-size:4;}pre.rust .kw{color:var(--code-highlight-kw-color);}pre.rust .kw-2{color:var(--code-highlight-kw-2-color);}pre.rust .lifetime{color:var(--code-highlight-lifetime-color);}pre.rust .prelude-ty{color:var(--code-highlight-prelude-color);}pre.rust .prelude-val{color:var(--code-highlight-prelude-val-color);}pre.rust .string{color:var(--code-highlight-string-color);}pre.rust .number{color:var(--code-highlight-number-color);}pre.rust .bool-val{color:var(--code-highlight-literal-color);}pre.rust .self{color:var(--code-highlight-self-color);}pre.rust .attr{color:var(--code-highlight-attribute-color);}pre.rust .macro,pre.rust .macro-nonterminal{color:var(--code-highlight-macro-color);}pre.rust .question-mark{font-weight:bold;color:var(--code-highlight-question-mark-color);}pre.rust .comment{color:var(--code-highlight-comment-color);}pre.rust .doccomment{color:var(--code-highlight-doc-comment-color);}.rustdoc.src .example-wrap pre.rust a{background:var(--codeblock-link-background);}.example-wrap.compile_fail,.example-wrap.should_panic{border-left:2px solid var(--codeblock-error-color);}.ignore.example-wrap{border-left:2px solid var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover,.example-wrap.should_panic:hover{border-left:2px solid var(--codeblock-error-hover-color);}.example-wrap.ignore:hover{border-left:2px solid var(--codeblock-ignore-hover-color);}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip{color:var(--codeblock-error-color);}.example-wrap.ignore .tooltip{color:var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover .tooltip,.example-wrap.should_panic:hover .tooltip{color:var(--codeblock-error-hover-color);}.example-wrap.ignore:hover .tooltip{color:var(--codeblock-ignore-hover-color);}.example-wrap .tooltip{position:absolute;display:block;left:-25px;top:5px;margin:0;line-height:1;}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip,.example-wrap.ignore .tooltip{font-weight:bold;font-size:1.25rem;}a.test-arrow{visibility:hidden;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:1.375rem;top:5px;right:5px;z-index:1;color:var(--test-arrow-color);background-color:var(--test-arrow-background-color);}a.test-arrow:hover{color:var(--test-arrow-hover-color);background-color:var(--test-arrow-hover-background-color);}.example-wrap:hover .test-arrow{visibility:visible;}.code-attribute{font-weight:300;color:var(--code-attribute-color);}.item-spacer{width:100%;height:12px;display:block;}.out-of-band>span.since{font-size:1.25rem;}.sub-variant h4{font-size:1rem;font-weight:400;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}:target{padding-right:3px;background-color:var(--target-background-color);border-right:3px solid var(--target-border-color);}.code-header a.tooltip{color:inherit;margin-right:15px;position:relative;}.code-header a.tooltip:hover{color:var(--link-color);}a.tooltip:hover::after{position:absolute;top:calc(100% - 10px);left:-15px;right:-15px;height:20px;content:"\00a0";}.fade-out{opacity:0;transition:opacity 0.45s cubic-bezier(0,0,0.1,1.0);}.popover.tooltip .content{margin:0.25em 0.5em;}.popover.tooltip .content pre,.popover.tooltip .content code{background:transparent;margin:0;padding:0;font-size:1.25rem;white-space:pre-wrap;}.popover.tooltip .content>h3:first-child{margin:0 0 5px 0;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#search-tabs{display:flex;flex-direction:row;gap:1px;margin-bottom:4px;}#search-tabs button{text-align:center;font-size:1.125rem;border:0;border-top:2px solid;flex:1;line-height:1.5;color:inherit;}#search-tabs button:not(.selected){background-color:var(--search-tab-button-not-selected-background);border-top-color:var(--search-tab-button-not-selected-border-top-color);}#search-tabs button:hover,#search-tabs button.selected{background-color:var(--search-tab-button-selected-background);border-top-color:var(--search-tab-button-selected-border-top-color);}#search-tabs .count{font-size:1rem;color:var(--search-tab-title-count-color);}#search .error code{border-radius:3px;background-color:var(--search-error-code-background-color);}.search-corrections{font-weight:normal;}#src-sidebar-toggle{position:sticky;top:0;left:0;font-size:1.25rem;border-bottom:1px solid;display:flex;height:40px;justify-content:stretch;align-items:stretch;z-index:10;}#src-sidebar{width:100%;overflow:auto;}#src-sidebar>.title{font-size:1.5rem;text-align:center;border-bottom:1px solid var(--border-color);margin-bottom:6px;}#src-sidebar div.files>a:hover,details.dir-entry summary:hover,#src-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:var(--src-sidebar-background-hover);}#src-sidebar div.files>a.selected{background-color:var(--src-sidebar-background-selected);}#src-sidebar-toggle>button{font-size:inherit;font-weight:bold;background:none;color:inherit;text-align:center;border:none;outline:none;flex:1 1;-webkit-appearance:none;opacity:1;}#settings-menu,#help-button{margin-left:4px;display:flex;}#settings-menu>a,#help-button>a{display:flex;align-items:center;justify-content:center;background-color:var(--button-background-color);border:1px solid var(--border-color);border-radius:2px;color:var(--settings-button-color);font-size:20px;width:33px;}#settings-menu>a:hover,#settings-menu>a:focus,#help-button>a:hover,#help-button>a:focus{border-color:var(--settings-button-border-focus);}#copy-path{color:var(--copy-path-button-color);background:var(--main-background-color);height:34px;margin-left:10px;padding:0;padding-left:2px;border:0;width:33px;}#copy-path>img{filter:var(--copy-path-img-filter);}#copy-path:hover>img{filter:var(--copy-path-img-hover-filter);}@keyframes rotating{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}#settings-menu.rotate>a img{animation:rotating 2s linear infinite;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px var(--border-color);border-radius:3px;color:var(--kbd-color);background-color:var(--kbd-background);box-shadow:inset 0 -1px 0 var(--kbd-box-shadow-color);}ul.all-items>li{list-style:none;}details.dir-entry{padding-left:4px;}details.dir-entry>summary{margin:0 0 0 -4px;padding:0 0 0 4px;cursor:pointer;}details.dir-entry div.folders,details.dir-entry div.files{padding-left:23px;}details.dir-entry a{display:block;}details.toggle{contain:layout;position:relative;}details.toggle>summary.hideme{cursor:pointer;font-size:1rem;}details.toggle>summary{list-style:none;outline:none;}details.toggle>summary::-webkit-details-marker,details.toggle>summary::marker{display:none;}details.toggle>summary.hideme>span{margin-left:9px;}details.toggle>summary::before{background:url('data:image/svg+xml,') no-repeat top left;content:"";cursor:pointer;width:16px;height:16px;display:inline-block;vertical-align:middle;opacity:.5;filter:var(--toggle-filter);}details.toggle>summary.hideme>span,.more-examples-toggle summary,.more-examples-toggle .hide-more{color:var(--toggles-color);}details.toggle>summary::after{content:"Expand";overflow:hidden;width:0;height:0;position:absolute;}details.toggle>summary.hideme::after{content:"";}details.toggle>summary:focus::before,details.toggle>summary:hover::before{opacity:1;}details.toggle>summary:focus-visible::before{outline:1px dotted #000;outline-offset:1px;}details.non-exhaustive{margin-bottom:8px;}details.toggle>summary.hideme::before{position:relative;}details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;top:4px;}.impl-items>details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;}details.toggle[open] >summary.hideme{position:absolute;}details.toggle[open] >summary.hideme>span{display:none;}details.toggle[open] >summary::before{background:url('data:image/svg+xml,') no-repeat top left;}details.toggle[open] >summary::after{content:"Collapse";}.docblock summary>*{display:inline-block;}.docblock>.example-wrap:first-child .tooltip{margin-top:16px;}@media (max-width:700px){*[id]{scroll-margin-top:45px;}.rustdoc{display:block;}main{padding-left:15px;padding-top:0px;}.main-heading{flex-direction:column;}.out-of-band{text-align:left;margin-left:initial;padding:initial;}.out-of-band .since::before{content:"Since ";}.sidebar .logo-container,.sidebar .location{display:none;}.sidebar{position:fixed;top:45px;left:-1000px;z-index:11;height:calc(100vh - 45px);width:200px;}.src main,.rustdoc.src .sidebar{top:0;padding:0;height:100vh;border:0;}.sidebar.shown,.src-sidebar-expanded .src .sidebar,.rustdoc:not(.src) .sidebar:focus-within{left:0;}.mobile-topbar h2{padding-bottom:0;margin:auto 0.5em auto auto;overflow:hidden;font-size:24px;}.mobile-topbar h2 a{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin:5px 0 5px 20px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.sidebar-menu-toggle{width:45px;font-size:32px;border:none;color:var(--main-color);}.sidebar-elems{margin-top:1em;}.anchor{display:none !important;}#search-tabs .count{display:block;}#main-content>details.toggle>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}#src-sidebar-toggle{position:fixed;left:1px;top:100px;width:30px;font-size:1.5rem;padding:0;z-index:10;border-top-right-radius:3px;border-bottom-right-radius:3px;border:1px solid;border-left:0;}.src-sidebar-expanded #src-sidebar-toggle{left:unset;top:unset;width:unset;border-top-right-radius:unset;border-bottom-right-radius:unset;position:sticky;border:0;border-bottom:1px solid;}#copy-path,#help-button{display:none;}.item-table,.item-row,.item-table>li,.item-table>li>div,.search-results>a,.search-results>a>div{display:block;}.search-results>a{padding:5px 0px;}.search-results>a>div.desc,.item-table>li>div.desc{padding-left:2em;}.search-results .result-name{display:block;}.search-results .result-name .typename{width:initial;margin-right:0;}.search-results .result-name .typename,.search-results .result-name .path{display:inline;}.src-sidebar-expanded .src .sidebar{max-width:100vw;width:100vw;}details.toggle:not(.top-doc)>summary{margin-left:10px;}.impl-items>details.toggle>summary:not(.hideme)::before,#main-content>details.toggle:not(.top-doc)>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}.impl-items>.item-info{margin-left:34px;}.src nav.sub{margin:0;padding:var(--nav-sub-mobile-padding);}}@media (min-width:701px){.scraped-example-title{position:absolute;z-index:10;background:var(--main-background-color);bottom:8px;right:5px;padding:2px 4px;box-shadow:0 0 4px var(--main-background-color);}}@media print{nav.sidebar,nav.sub,.out-of-band,a.src,#copy-path,details.toggle[open] >summary::before,details.toggle>summary::before,details.toggle.top-doc>summary{display:none;}.docblock{margin-left:0;}main{padding:10px;}}@media (max-width:464px){.docblock{margin-left:12px;}.docblock code{overflow-wrap:break-word;overflow-wrap:anywhere;}nav.sub{flex-direction:column;}.search-form{align-self:stretch;}.sub-logo-container>img{height:35px;width:35px;margin-bottom:var(--nav-sub-mobile-padding);}}.variant,.implementors-toggle>summary,.impl,#implementors-list>.docblock,.impl-items>section,.impl-items>.toggle>summary,.methods>section,.methods>.toggle>summary{margin-bottom:0.75em;}.variants>.docblock,.implementors-toggle>.docblock,.impl-items>.toggle[open]:not(:last-child),.methods>.toggle[open]:not(:last-child),.implementors-toggle[open]:not(:last-child){margin-bottom:2em;}#trait-implementations-list .impl-items>.toggle:not(:last-child),#synthetic-implementations-list .impl-items>.toggle:not(:last-child),#blanket-implementations-list .impl-items>.toggle:not(:last-child){margin-bottom:1em;}.scraped-example-list .scrape-help{margin-left:10px;padding:0 4px;font-weight:normal;font-size:12px;position:relative;bottom:1px;border:1px solid var(--scrape-example-help-border-color);border-radius:50px;color:var(--scrape-example-help-color);}.scraped-example-list .scrape-help:hover{border-color:var(--scrape-example-help-hover-border-color);color:var(--scrape-example-help-hover-color);}.scraped-example{position:relative;}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper{max-height:calc(1.5em * 5 + 10px);}.scraped-example:not(.expanded) .code-wrapper pre{overflow-y:hidden;padding-bottom:0;max-height:calc(1.5em * 5 + 10px);}.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper,.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper pre{max-height:calc(1.5em * 10 + 10px);}.scraped-example .code-wrapper .next,.scraped-example .code-wrapper .prev,.scraped-example .code-wrapper .expand{color:var(--main-color);position:absolute;top:0.25em;z-index:1;padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.scraped-example .code-wrapper .prev{right:2.25em;}.scraped-example .code-wrapper .next{right:1.25em;}.scraped-example .code-wrapper .expand{right:0.25em;}.scraped-example:not(.expanded) .code-wrapper::before,.scraped-example:not(.expanded) .code-wrapper::after{content:" ";width:100%;height:5px;position:absolute;z-index:1;}.scraped-example:not(.expanded) .code-wrapper::before{top:0;background:linear-gradient(to bottom,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example:not(.expanded) .code-wrapper::after{bottom:0;background:linear-gradient(to top,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example .code-wrapper .example-wrap{width:100%;overflow-y:hidden;margin-bottom:0;}.scraped-example:not(.expanded) .code-wrapper .example-wrap{overflow-x:hidden;}.scraped-example .example-wrap .rust span.highlight{background:var(--scrape-example-code-line-highlight);}.scraped-example .example-wrap .rust span.highlight.focus{background:var(--scrape-example-code-line-highlight-focus);}.more-examples-toggle{max-width:calc(100% + 25px);margin-top:10px;margin-left:-25px;}.more-examples-toggle .hide-more{margin-left:25px;cursor:pointer;}.more-scraped-examples{margin-left:25px;position:relative;}.toggle-line{position:absolute;top:5px;bottom:0;right:calc(100% + 10px);padding:0 4px;cursor:pointer;}.toggle-line-inner{min-width:2px;height:100%;background:var(--scrape-example-toggle-line-background);}.toggle-line:hover .toggle-line-inner{background:var(--scrape-example-toggle-line-hover-background);}.more-scraped-examples .scraped-example,.example-links{margin-top:20px;}.more-scraped-examples .scraped-example:first-child{margin-top:5px;}.example-links ul{margin-bottom:0;}
\ No newline at end of file
diff --git a/static.files/search-f6292fe389d70017.js b/static.files/search-6dfdfced5eff6596.js
similarity index 70%
rename from static.files/search-f6292fe389d70017.js
rename to static.files/search-6dfdfced5eff6596.js
index c91355a613..90d0eb7533 100644
--- a/static.files/search-f6292fe389d70017.js
+++ b/static.files/search-6dfdfced5eff6596.js
@@ -1,5 +1,5 @@
-"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const longItemTypes=["module","extern crate","re-export","struct","enum","function","type alias","static","trait","","trait method","method","struct field","enum variant","macro","primitive type","assoc type","constant","assoc const","union","foreign type","keyword","existential type","attribute macro","derive macro","trait alias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"../";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("search-tabs").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});const isTypeSearch=(nb>0||iter===1);iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb;const correctionsElem=document.getElementsByClassName("search-corrections");if(isTypeSearch){removeClass(correctionsElem[0],"hidden")}else{addClass(correctionsElem[0],"hidden")}}else if(nb!==0){printTab(0)}}const editDistanceState={current:[],prev:[],prevPrev:[],calculate:function calculate(a,b,limit){if(a.lengthlimit){return limit+1}while(b.length>0&&b[0]===a[0]){a=a.substring(1);b=b.substring(1)}while(b.length>0&&b[b.length-1]===a[a.length-1]){a=a.substring(0,a.length-1);b=b.substring(0,b.length-1)}if(b.length===0){return minDist}const aLength=a.length;const bLength=b.length;for(let i=0;i<=bLength;++i){this.current[i]=0;this.prev[i]=i;this.prevPrev[i]=Number.MAX_VALUE}for(let i=1;i<=aLength;++i){this.current[0]=i;const aIdx=i-1;for(let j=1;j<=bLength;++j){const bIdx=j-1;const substitutionCost=a[aIdx]===b[bIdx]?0:1;this.current[j]=Math.min(this.prev[j]+1,this.current[j-1]+1,this.prev[j-1]+substitutionCost);if((i>1)&&(j>1)&&(a[aIdx]===b[bIdx-1])&&(a[aIdx-1]===b[bIdx])){this.current[j]=Math.min(this.current[j],this.prevPrev[j-2]+1)}}const prevPrevTmp=this.prevPrev;this.prevPrev=this.prev;this.prev=this.current;this.current=prevPrevTmp}const distance=this.prev[bLength];return distance<=limit?distance:(limit+1)},};function editDistance(a,b,limit){return editDistanceState.calculate(a,b,limit)}function initSearch(rawSearchIndex){const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;let typeNameIdMap;const ALIASES=new Map();let typeNameIdOfArray;let typeNameIdOfSlice;let typeNameIdOfArrayOrSlice;function buildTypeMapIndex(name){if(name===""||name===null){return-1}if(typeNameIdMap.has(name)){return typeNameIdMap.get(name)}else{const id=typeNameIdMap.size;typeNameIdMap.set(name,id);return id}}function isWhitespace(c){return" \t\n\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-]".indexOf(c)!==-1}function isStopCharacter(c){return isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){const index=itemTypes.findIndex(i=>i===typename);if(index<0){throw["Unknown type filter ",typename]}return index}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw["Unexpected ","\""," in generics"]}else if(query.literalSearch){throw["Cannot have more than one literal search element"]}else if(parserState.totalElems-parserState.genericsElems>0){throw["Cannot use literal search when there is more than one element"]}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw["Unclosed ","\""]}else if(parserState.userQuery[end]!=="\""){throw["Unexpected ",parserState.userQuery[end]," in a string element"]}else if(start===end){throw["Cannot have empty string element"]}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","}function isPathSeparator(c){return c===":"||isWhitespace(c)}function prevIs(parserState,lookingFor){let pos=parserState.pos;while(pos>0){const c=parserState.userQuery[pos-1];if(c===lookingFor){return true}else if(!isWhitespace(c)){break}pos-=1}return false}function isLastElemGeneric(elems,parserState){return(elems.length>0&&elems[elems.length-1].generics.length>0)||prevIs(parserState,">")}function skipWhitespace(parserState){while(parserState.pos0){throw["Cannot have more than one element if you use quotes"]}const typeFilter=parserState.typeFilter;parserState.typeFilter=null;if(name==="!"){if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive never type ","!"," and ",typeFilter," both specified",]}if(generics.length!==0){throw["Never type ","!"," does not accept generic parameters",]}return{name:"never",id:-1,fullPath:["never"],pathWithoutLast:[],pathLast:"never",generics:[],typeFilter:"primitive",}}if(path.startsWith("::")){throw["Paths cannot start with ","::"]}else if(path.endsWith("::")){throw["Paths cannot end with ","::"]}else if(path.includes("::::")){throw["Unexpected ","::::"]}else if(path.includes(" ::")){throw["Unexpected "," ::"]}else if(path.includes(":: ")){throw["Unexpected ",":: "]}const pathSegments=path.split(/::|\s+/);if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){if(generics.length>0||prevIs(parserState,">")){throw["Found generics without a path"]}else{throw["Unexpected ",parserState.userQuery[parserState.pos]]}}for(const[i,pathSegment]of pathSegments.entries()){if(pathSegment==="!"){if(i!==0){throw["Never type ","!"," is not associated item"]}pathSegments[i]="never"}}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name.trim(),id:-1,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,typeFilter,}}function getIdentEndPosition(parserState){const start=parserState.pos;let end=parserState.pos;let foundExclamation=-1;while(parserState.pos=end){throw["Found generics without a path"]}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(isStringElem){skipWhitespace(parserState)}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;let start=parserState.pos;const oldTypeFilter=parserState.typeFilter;parserState.typeFilter=null;let extra="";if(endChar===">"){extra="<"}else if(endChar==="]"){extra="["}else if(endChar===""){extra="->"}else{extra=endChar}while(parserState.pos"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(endChar!==""){throw["Expected ",","," or ",endChar,...extra,", found ",c,]}throw["Expected ",",",...extra,", found ",c,]}const posBefore=parserState.pos;start=parserState.pos;getNextElem(query,parserState,elems,endChar!=="");if(endChar!==""&&parserState.pos>=parserState.length){throw["Unclosed ",extra]}if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}if(parserState.pos>=parserState.length&&endChar!==""){throw["Unclosed ",extra]}parserState.pos+=1;parserState.typeFilter=oldTypeFilter}function checkExtraTypeFilterCharacters(start,parserState){const query=parserState.userQuery.slice(start,parserState.pos).trim();for(const c in query){if(!isIdentCharacter(query[c])){throw["Unexpected ",query[c]," in type filter (before ",":",")",]}}}function parseInput(query,parserState){let foundStopChar=true;let start=parserState.pos;while(parserState.pos"){if(isReturnArrow(parserState)){break}throw["Unexpected ",c," (did you mean ","->","?)"]}throw["Unexpected ",c]}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}else if(query.elems.length===0){throw["Expected type filter before ",":"]}else if(query.literalSearch){throw["Cannot use quotes on type filter"]}const typeFilterElem=query.elems.pop();checkExtraTypeFilterCharacters(start,parserState);parserState.typeFilter=typeFilterElem.name;parserState.pos+=1;parserState.totalElems-=1;query.literalSearch=false;foundStopChar=true;continue}else if(isWhitespace(c)){skipWhitespace(parserState);continue}if(!foundStopChar){let extra="";if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(parserState.typeFilter!==null){throw["Expected ",","," or ","->",...extra,", found ",c,]}throw["Expected ",",",", ",":"," or ","->",...extra,", found ",c,]}const before=query.elems.length;start=parserState.pos;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}while(parserState.pos"]}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),elems:[],returned:[],foundElems:0,literalSearch:false,error:null,correction:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){function convertTypeFilterOnElem(elem){if(elem.typeFilter!==null){let typeFilter=elem.typeFilter;if(typeFilter==="const"){typeFilter="constant"}elem.typeFilter=itemTypeFromName(typeFilter)}else{elem.typeFilter=NO_TYPE_FILTER}for(const elem2 of elem.generics){convertTypeFilterOnElem(elem2)}}userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);for(const elem of query.elems){convertTypeFilterOnElem(elem)}for(const elem of query.returned){convertTypeFilterOnElem(elem)}}catch(err){query=newParsedQuery(userQuery);query.error=err;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others=new Map(),results_in_args=new Map(),results_returned=new Map();function transformResults(results){const duplicates=new Set();const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.dist=result.dist;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates.has(obj.fullPath)){continue}duplicates.add(obj.fullPath);obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){if(results.size===0){return[]}const userQuery=parsedQuery.userQuery;const result_list=[];for(const result of results.values()){result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};result_list.push(result)}result_list.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.path_dist;b=bbb.path_dist;if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}a=(aaa.dist);b=(bbb.dist);if(a!==b){return a-b}a=aaa.item.deprecated;b=bbb.item.deprecated;if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of result_list){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(result_list)}function checkGenerics(fnType,queryElem){return unifyFunctionTypes(fnType.generics,queryElem.generics)}function unifyFunctionTypes(fnTypes,queryElems){if(queryElems.length===0){return true}if(!fnTypes||fnTypes.length===0){return false}const queryElemSet=new Map();const addQueryElemToQueryElemSet=function addQueryElemToQueryElemSet(queryElem){let currentQueryElemList;if(queryElemSet.has(queryElem.id)){currentQueryElemList=queryElemSet.get(queryElem.id)}else{currentQueryElemList=[];queryElemSet.set(queryElem.id,currentQueryElemList)}currentQueryElemList.push(queryElem)};for(const queryElem of queryElems){addQueryElemToQueryElemSet(queryElem)}const fnTypeSet=new Map();const addFnTypeToFnTypeSet=function addFnTypeToFnTypeSet(fnType){const queryContainsArrayOrSliceElem=queryElemSet.has(typeNameIdOfArrayOrSlice);if(fnType.id===-1||!(queryElemSet.has(fnType.id)||(fnType.id===typeNameIdOfSlice&&queryContainsArrayOrSliceElem)||(fnType.id===typeNameIdOfArray&&queryContainsArrayOrSliceElem))){for(const innerFnType of fnType.generics){addFnTypeToFnTypeSet(innerFnType)}return}let currentQueryElemList=queryElemSet.get(fnType.id)||[];let matchIdx=currentQueryElemList.findIndex(queryElem=>{return typePassesFilter(queryElem.typeFilter,fnType.ty)&&checkGenerics(fnType,queryElem)});if(matchIdx===-1&&(fnType.id===typeNameIdOfSlice||fnType.id===typeNameIdOfArray)&&queryContainsArrayOrSliceElem){currentQueryElemList=queryElemSet.get(typeNameIdOfArrayOrSlice)||[];matchIdx=currentQueryElemList.findIndex(queryElem=>{return typePassesFilter(queryElem.typeFilter,fnType.ty)&&checkGenerics(fnType,queryElem)})}if(matchIdx===-1){for(const innerFnType of fnType.generics){addFnTypeToFnTypeSet(innerFnType)}return}let currentFnTypeList;if(fnTypeSet.has(fnType.id)){currentFnTypeList=fnTypeSet.get(fnType.id)}else{currentFnTypeList=[];fnTypeSet.set(fnType.id,currentFnTypeList)}currentFnTypeList.push(fnType)};for(const fnType of fnTypes){addFnTypeToFnTypeSet(fnType)}const doHandleQueryElemList=(currentFnTypeList,queryElemList)=>{if(queryElemList.length===0){return true}const queryElem=queryElemList.pop();const l=currentFnTypeList.length;for(let i=0;i{if(!fnTypeSet.has(id)){if(id===typeNameIdOfArrayOrSlice){return handleQueryElemList(typeNameIdOfSlice,queryElemList)||handleQueryElemList(typeNameIdOfArray,queryElemList)}return false}const currentFnTypeList=fnTypeSet.get(id);if(currentFnTypeList.length0?checkIfInList(row.generics,elem):false}const matchesExact=row.id===elem.id;const matchesArrayOrSlice=elem.id===typeNameIdOfArrayOrSlice&&(row.id===typeNameIdOfSlice||row.id===typeNameIdOfArray);if((matchesExact||matchesArrayOrSlice)&&typePassesFilter(elem.typeFilter,row.ty)){if(elem.generics.length>0){return checkGenerics(row,elem)}return true}return checkIfInList(row.generics,elem)}function checkPath(contains,ty,maxEditDistance){if(contains.length===0){return 0}let ret_dist=maxEditDistance+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return maxEditDistance+1}for(let i=0;ilength){break}let dist_total=0;let aborted=false;for(let x=0;xmaxEditDistance){aborted=true;break}dist_total+=dist}if(!aborted){ret_dist=Math.min(ret_dist,Math.round(dist_total/clength))}}return ret_dist}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,deprecated:item.deprecated,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES.has(filterCrates)&&ALIASES.get(filterCrates).has(lowerQuery)){const query_aliases=ALIASES.get(filterCrates).get(lowerQuery);for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{for(const[crate,crateAliasesIndex]of ALIASES){if(crateAliasesIndex.has(lowerQuery)){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=crateAliasesIndex.get(lowerQuery);for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}}}const sortFunc=(aaa,bbb)=>{if(aaa.path{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,dist,path_dist,maxEditDistance){const inBounds=dist<=maxEditDistance||index!==-1;if(dist===0||(!parsedQuery.literalSearch&&inBounds)){if(results.has(fullId)){const result=results.get(fullId);if(result.dontValidate||result.dist<=dist){return}}results.set(fullId,{id:id,index:index,dontValidate:parsedQuery.literalSearch,dist:dist,path_dist:path_dist,})}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned,maxEditDistance){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let index=-1,path_dist=0;const fullId=row.id;const searchWord=searchWords[pos];const in_args=row.type&&row.type.inputs&&checkIfInList(row.type.inputs,elem);if(in_args){addIntoResults(results_in_args,fullId,pos,-1,0,0,maxEditDistance)}const returned=row.type&&row.type.output&&checkIfInList(row.type.output,elem);if(returned){addIntoResults(results_returned,fullId,pos,-1,0,0,maxEditDistance)}if(!typePassesFilter(elem.typeFilter,row.ty)){return}const row_index=row.normalizedName.indexOf(elem.pathLast);const word_index=searchWord.indexOf(elem.pathLast);if(row_index===-1){index=word_index}else if(word_index===-1){index=row_index}else if(word_index1){path_dist=checkPath(elem.pathWithoutLast,row,maxEditDistance);if(path_dist>maxEditDistance){return}}if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,index,0,path_dist)}return}const dist=editDistance(searchWord,elem.pathLast,maxEditDistance);if(index===-1&&dist+path_dist>maxEditDistance){return}addIntoResults(results_others,fullId,pos,index,dist,path_dist,maxEditDistance)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)||!row.type){return}if(!unifyFunctionTypes(row.type.inputs,parsedQuery.elems)){return}if(!unifyFunctionTypes(row.type.output,parsedQuery.returned)){return}addIntoResults(results,row.id,pos,0,0,0,Number.MAX_VALUE)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;let queryLen=0;for(const elem of parsedQuery.elems){queryLen+=elem.name.length}for(const elem of parsedQuery.returned){queryLen+=elem.name.length}const maxEditDistance=Math.floor(queryLen/3);function convertNameToId(elem){if(typeNameIdMap.has(elem.name)){elem.id=typeNameIdMap.get(elem.name)}else if(!parsedQuery.literalSearch){let match=-1;let matchDist=maxEditDistance+1;let matchName="";for(const[name,id]of typeNameIdMap){const dist=editDistance(name,elem.name,maxEditDistance);if(dist<=matchDist&&dist<=maxEditDistance){if(dist===matchDist&&matchName>name){continue}match=id;matchDist=dist;matchName=name}}if(match!==-1){parsedQuery.correction=matchName}elem.id=match}for(const elem2 of elem.generics){convertNameToId(elem2)}}for(const elem of parsedQuery.elems){convertNameToId(elem)}for(const elem of parsedQuery.returned){convertNameToId(elem)}if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i0){for(i=0,nSearchWords=searchWords.length;i-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||editDistance(name,key,maxEditDistance)<=maxEditDistance)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#search-tabs button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];const longType=longItemTypes[item.ty];const typeName=longType.length!==0?`${longType}`:"?";length+=1;const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";if(item.is_alias){const alias=document.createElement("span");alias.className="alias";const bold=document.createElement("b");bold.innerText=item.alias;alias.appendChild(bold);alias.insertAdjacentHTML("beforeend"," - see ");resultName.appendChild(alias)}resultName.insertAdjacentHTML("beforeend",`\
-${typeName}\
-
\ - ${item.displayPath}${name}\ -
`);link.appendChild(resultName);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(
"+"Try on DuckDuckGo?

"+"Or try looking in one of these:"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return""}return""}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true")){window.onunload=()=>{};searchState.removeQueryParameters();const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in 
"}let output=`

Results${crates}

`;if(results.query.error!==null){const error=results.query.error;error.forEach((value,index)=>{value=value.split("<").join("<").split(">").join(">");if(index%2!==0){error[index]=`${value.replaceAll(" ", " ")}`}else{error[index]=value}});output+=`

Query parser error: "${error.join("")}".

`;output+="
"+makeTabHeader(0,"In Names",ret_others[1])+"
";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="
"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"
"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="
"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"
";currentTab=0}if(results.query.correction!==null){const orig=results.query.returned.length>0?results.query.returned[0].name:results.query.elems[0].name;output+="

"+`Type "${orig}" not found. `+"Showing results for closest type name "+`"${results.query.correction}" instead.

`}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("search-tabs").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function updateSearchHistory(url){if(!browserSupportsHistoryApi()){return}const params=searchState.getQueryStringParams();if(!history.state&&!params.search){history.pushState(null,"",url)}else{history.replaceState(null,"",url)}}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";updateSearchHistory(buildUrl(query.original,filterCrates));showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{id:pathIndex===0?-1:buildTypeMapIndex(lowercasePaths[pathIndex-1].name),ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{id:pathIndex===0?-1:buildTypeMapIndex(lowercasePaths[pathIndex-1].name),ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{id:pathIndex===0?-1:buildTypeMapIndex(lowercasePaths[pathIndex-1].name),ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];typeNameIdMap=new Map();const charA="A".charCodeAt(0);let currentIndex=0;let id=0;typeNameIdOfArray=buildTypeMapIndex("array");typeNameIdOfSlice=buildTypeMapIndex("slice");typeNameIdOfArrayOrSlice=buildTypeMapIndex("[]");for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(/_/g,""),deprecated:null,};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=new Map(crateCorpus.q);const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const deprecatedItems=new Set(crateCorpus.c);const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(let i=0;i0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(/_/g,""),deprecated:deprecatedItems.has(i),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){const currentCrateAliases=new Map();ALIASES.set(crate,currentCrateAliases);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}let currentNameAliases;if(currentCrateAliases.has(alias_name)){currentNameAliases=currentCrateAliases.get(alias_name)}else{currentNameAliases=[];currentCrateAliases.set(alias_name,currentNameAliases)}for(const local_alias of aliases[alias_name]){currentNameAliases.push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const query=searchState.input.value.trim();updateSearchHistory(buildUrl(query,null))}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})() \ No newline at end of file +"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const longItemTypes=["module","extern crate","re-export","struct","enum","function","type alias","static","trait","","trait method","method","struct field","enum variant","macro","primitive type","assoc type","constant","assoc const","union","foreign type","keyword","existential type","attribute macro","derive macro","trait alias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"../";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("search-tabs").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});const isTypeSearch=(nb>0||iter===1);iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb;const correctionsElem=document.getElementsByClassName("search-corrections");if(isTypeSearch){removeClass(correctionsElem[0],"hidden")}else{addClass(correctionsElem[0],"hidden")}}else if(nb!==0){printTab(0)}}const editDistanceState={current:[],prev:[],prevPrev:[],calculate:function calculate(a,b,limit){if(a.lengthlimit){return limit+1}while(b.length>0&&b[0]===a[0]){a=a.substring(1);b=b.substring(1)}while(b.length>0&&b[b.length-1]===a[a.length-1]){a=a.substring(0,a.length-1);b=b.substring(0,b.length-1)}if(b.length===0){return minDist}const aLength=a.length;const bLength=b.length;for(let i=0;i<=bLength;++i){this.current[i]=0;this.prev[i]=i;this.prevPrev[i]=Number.MAX_VALUE}for(let i=1;i<=aLength;++i){this.current[0]=i;const aIdx=i-1;for(let j=1;j<=bLength;++j){const bIdx=j-1;const substitutionCost=a[aIdx]===b[bIdx]?0:1;this.current[j]=Math.min(this.prev[j]+1,this.current[j-1]+1,this.prev[j-1]+substitutionCost);if((i>1)&&(j>1)&&(a[aIdx]===b[bIdx-1])&&(a[aIdx-1]===b[bIdx])){this.current[j]=Math.min(this.current[j],this.prevPrev[j-2]+1)}}const prevPrevTmp=this.prevPrev;this.prevPrev=this.prev;this.prev=this.current;this.current=prevPrevTmp}const distance=this.prev[bLength];return distance<=limit?distance:(limit+1)},};function editDistance(a,b,limit){return editDistanceState.calculate(a,b,limit)}function initSearch(rawSearchIndex){const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;let typeNameIdMap;const ALIASES=new Map();let typeNameIdOfArray;let typeNameIdOfSlice;let typeNameIdOfArrayOrSlice;function buildTypeMapIndex(name){if(name===""||name===null){return-1}if(typeNameIdMap.has(name)){return typeNameIdMap.get(name)}else{const id=typeNameIdMap.size;typeNameIdMap.set(name,id);return id}}function isWhitespace(c){return" \t\n\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-]".indexOf(c)!==-1}function isStopCharacter(c){return isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){const index=itemTypes.findIndex(i=>i===typename);if(index<0){throw["Unknown type filter ",typename]}return index}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw["Unexpected ","\""," in generics"]}else if(query.literalSearch){throw["Cannot have more than one literal search element"]}else if(parserState.totalElems-parserState.genericsElems>0){throw["Cannot use literal search when there is more than one element"]}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw["Unclosed ","\""]}else if(parserState.userQuery[end]!=="\""){throw["Unexpected ",parserState.userQuery[end]," in a string element"]}else if(start===end){throw["Cannot have empty string element"]}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","}function isPathSeparator(c){return c===":"||isWhitespace(c)}function prevIs(parserState,lookingFor){let pos=parserState.pos;while(pos>0){const c=parserState.userQuery[pos-1];if(c===lookingFor){return true}else if(!isWhitespace(c)){break}pos-=1}return false}function isLastElemGeneric(elems,parserState){return(elems.length>0&&elems[elems.length-1].generics.length>0)||prevIs(parserState,">")}function skipWhitespace(parserState){while(parserState.pos0){throw["Cannot have more than one element if you use quotes"]}const typeFilter=parserState.typeFilter;parserState.typeFilter=null;if(name==="!"){if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive never type ","!"," and ",typeFilter," both specified",]}if(generics.length!==0){throw["Never type ","!"," does not accept generic parameters",]}return{name:"never",id:-1,fullPath:["never"],pathWithoutLast:[],pathLast:"never",generics:[],typeFilter:"primitive",}}if(path.startsWith("::")){throw["Paths cannot start with ","::"]}else if(path.endsWith("::")){throw["Paths cannot end with ","::"]}else if(path.includes("::::")){throw["Unexpected ","::::"]}else if(path.includes(" ::")){throw["Unexpected "," ::"]}else if(path.includes(":: ")){throw["Unexpected ",":: "]}const pathSegments=path.split(/::|\s+/);if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){if(generics.length>0||prevIs(parserState,">")){throw["Found generics without a path"]}else{throw["Unexpected ",parserState.userQuery[parserState.pos]]}}for(const[i,pathSegment]of pathSegments.entries()){if(pathSegment==="!"){if(i!==0){throw["Never type ","!"," is not associated item"]}pathSegments[i]="never"}}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name.trim(),id:-1,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,typeFilter,}}function getIdentEndPosition(parserState){const start=parserState.pos;let end=parserState.pos;let foundExclamation=-1;while(parserState.pos=end){throw["Found generics without a path"]}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(isStringElem){skipWhitespace(parserState)}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;let start=parserState.pos;const oldTypeFilter=parserState.typeFilter;parserState.typeFilter=null;let extra="";if(endChar===">"){extra="<"}else if(endChar==="]"){extra="["}else if(endChar===""){extra="->"}else{extra=endChar}while(parserState.pos"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(endChar!==""){throw["Expected ",","," or ",endChar,...extra,", found ",c,]}throw["Expected ",",",...extra,", found ",c,]}const posBefore=parserState.pos;start=parserState.pos;getNextElem(query,parserState,elems,endChar!=="");if(endChar!==""&&parserState.pos>=parserState.length){throw["Unclosed ",extra]}if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}if(parserState.pos>=parserState.length&&endChar!==""){throw["Unclosed ",extra]}parserState.pos+=1;parserState.typeFilter=oldTypeFilter}function checkExtraTypeFilterCharacters(start,parserState){const query=parserState.userQuery.slice(start,parserState.pos).trim();for(const c in query){if(!isIdentCharacter(query[c])){throw["Unexpected ",query[c]," in type filter (before ",":",")",]}}}function parseInput(query,parserState){let foundStopChar=true;let start=parserState.pos;while(parserState.pos"){if(isReturnArrow(parserState)){break}throw["Unexpected ",c," (did you mean ","->","?)"]}throw["Unexpected ",c]}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}else if(query.elems.length===0){throw["Expected type filter before ",":"]}else if(query.literalSearch){throw["Cannot use quotes on type filter"]}const typeFilterElem=query.elems.pop();checkExtraTypeFilterCharacters(start,parserState);parserState.typeFilter=typeFilterElem.name;parserState.pos+=1;parserState.totalElems-=1;query.literalSearch=false;foundStopChar=true;continue}else if(isWhitespace(c)){skipWhitespace(parserState);continue}if(!foundStopChar){let extra="";if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(parserState.typeFilter!==null){throw["Expected ",","," or ","->",...extra,", found ",c,]}throw["Expected ",",",", ",":"," or ","->",...extra,", found ",c,]}const before=query.elems.length;start=parserState.pos;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}while(parserState.pos"]}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),elems:[],returned:[],foundElems:0,literalSearch:false,error:null,correction:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){function convertTypeFilterOnElem(elem){if(elem.typeFilter!==null){let typeFilter=elem.typeFilter;if(typeFilter==="const"){typeFilter="constant"}elem.typeFilter=itemTypeFromName(typeFilter)}else{elem.typeFilter=NO_TYPE_FILTER}for(const elem2 of elem.generics){convertTypeFilterOnElem(elem2)}}userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);for(const elem of query.elems){convertTypeFilterOnElem(elem)}for(const elem of query.returned){convertTypeFilterOnElem(elem)}}catch(err){query=newParsedQuery(userQuery);query.error=err;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others=new Map(),results_in_args=new Map(),results_returned=new Map();function transformResults(results){const duplicates=new Set();const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.dist=result.dist;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates.has(obj.fullPath)){continue}duplicates.add(obj.fullPath);obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){if(results.size===0){return[]}const userQuery=parsedQuery.userQuery;const result_list=[];for(const result of results.values()){result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};result_list.push(result)}result_list.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.path_dist;b=bbb.path_dist;if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}a=(aaa.dist);b=(bbb.dist);if(a!==b){return a-b}a=aaa.item.deprecated;b=bbb.item.deprecated;if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of result_list){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(result_list)}function checkGenerics(fnType,queryElem){return unifyFunctionTypes(fnType.generics,queryElem.generics)}function unifyFunctionTypes(fnTypes,queryElems){if(queryElems.length===0){return true}if(!fnTypes||fnTypes.length===0){return false}const queryElemSet=new Map();const addQueryElemToQueryElemSet=function addQueryElemToQueryElemSet(queryElem){let currentQueryElemList;if(queryElemSet.has(queryElem.id)){currentQueryElemList=queryElemSet.get(queryElem.id)}else{currentQueryElemList=[];queryElemSet.set(queryElem.id,currentQueryElemList)}currentQueryElemList.push(queryElem)};for(const queryElem of queryElems){addQueryElemToQueryElemSet(queryElem)}const fnTypeSet=new Map();const addFnTypeToFnTypeSet=function addFnTypeToFnTypeSet(fnType){const queryContainsArrayOrSliceElem=queryElemSet.has(typeNameIdOfArrayOrSlice);if(fnType.id===-1||!(queryElemSet.has(fnType.id)||(fnType.id===typeNameIdOfSlice&&queryContainsArrayOrSliceElem)||(fnType.id===typeNameIdOfArray&&queryContainsArrayOrSliceElem))){for(const innerFnType of fnType.generics){addFnTypeToFnTypeSet(innerFnType)}return}let currentQueryElemList=queryElemSet.get(fnType.id)||[];let matchIdx=currentQueryElemList.findIndex(queryElem=>{return typePassesFilter(queryElem.typeFilter,fnType.ty)&&checkGenerics(fnType,queryElem)});if(matchIdx===-1&&(fnType.id===typeNameIdOfSlice||fnType.id===typeNameIdOfArray)&&queryContainsArrayOrSliceElem){currentQueryElemList=queryElemSet.get(typeNameIdOfArrayOrSlice)||[];matchIdx=currentQueryElemList.findIndex(queryElem=>{return typePassesFilter(queryElem.typeFilter,fnType.ty)&&checkGenerics(fnType,queryElem)})}if(matchIdx===-1){for(const innerFnType of fnType.generics){addFnTypeToFnTypeSet(innerFnType)}return}let currentFnTypeList;if(fnTypeSet.has(fnType.id)){currentFnTypeList=fnTypeSet.get(fnType.id)}else{currentFnTypeList=[];fnTypeSet.set(fnType.id,currentFnTypeList)}currentFnTypeList.push(fnType)};for(const fnType of fnTypes){addFnTypeToFnTypeSet(fnType)}const doHandleQueryElemList=(currentFnTypeList,queryElemList)=>{if(queryElemList.length===0){return true}const queryElem=queryElemList.pop();const l=currentFnTypeList.length;for(let i=0;i{if(!fnTypeSet.has(id)){if(id===typeNameIdOfArrayOrSlice){return handleQueryElemList(typeNameIdOfSlice,queryElemList)||handleQueryElemList(typeNameIdOfArray,queryElemList)}return false}const currentFnTypeList=fnTypeSet.get(id);if(currentFnTypeList.length0?checkIfInList(row.generics,elem):false}const matchesExact=row.id===elem.id;const matchesArrayOrSlice=elem.id===typeNameIdOfArrayOrSlice&&(row.id===typeNameIdOfSlice||row.id===typeNameIdOfArray);if((matchesExact||matchesArrayOrSlice)&&typePassesFilter(elem.typeFilter,row.ty)){if(elem.generics.length>0){return checkGenerics(row,elem)}return true}return checkIfInList(row.generics,elem)}function checkPath(contains,ty,maxEditDistance){if(contains.length===0){return 0}let ret_dist=maxEditDistance+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return maxEditDistance+1}for(let i=0;ilength){break}let dist_total=0;let aborted=false;for(let x=0;xmaxEditDistance){aborted=true;break}dist_total+=dist}if(!aborted){ret_dist=Math.min(ret_dist,Math.round(dist_total/clength))}}return ret_dist}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,deprecated:item.deprecated,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES.has(filterCrates)&&ALIASES.get(filterCrates).has(lowerQuery)){const query_aliases=ALIASES.get(filterCrates).get(lowerQuery);for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{for(const[crate,crateAliasesIndex]of ALIASES){if(crateAliasesIndex.has(lowerQuery)){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=crateAliasesIndex.get(lowerQuery);for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}}}const sortFunc=(aaa,bbb)=>{if(aaa.path{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,dist,path_dist,maxEditDistance){const inBounds=dist<=maxEditDistance||index!==-1;if(dist===0||(!parsedQuery.literalSearch&&inBounds)){if(results.has(fullId)){const result=results.get(fullId);if(result.dontValidate||result.dist<=dist){return}}results.set(fullId,{id:id,index:index,dontValidate:parsedQuery.literalSearch,dist:dist,path_dist:path_dist,})}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned,maxEditDistance){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let index=-1,path_dist=0;const fullId=row.id;const searchWord=searchWords[pos];const in_args=row.type&&row.type.inputs&&checkIfInList(row.type.inputs,elem);if(in_args){addIntoResults(results_in_args,fullId,pos,-1,0,0,maxEditDistance)}const returned=row.type&&row.type.output&&checkIfInList(row.type.output,elem);if(returned){addIntoResults(results_returned,fullId,pos,-1,0,0,maxEditDistance)}if(!typePassesFilter(elem.typeFilter,row.ty)){return}const row_index=row.normalizedName.indexOf(elem.pathLast);const word_index=searchWord.indexOf(elem.pathLast);if(row_index===-1){index=word_index}else if(word_index===-1){index=row_index}else if(word_index1){path_dist=checkPath(elem.pathWithoutLast,row,maxEditDistance);if(path_dist>maxEditDistance){return}}if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,index,0,path_dist)}return}const dist=editDistance(searchWord,elem.pathLast,maxEditDistance);if(index===-1&&dist+path_dist>maxEditDistance){return}addIntoResults(results_others,fullId,pos,index,dist,path_dist,maxEditDistance)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)||!row.type){return}if(!unifyFunctionTypes(row.type.inputs,parsedQuery.elems)){return}if(!unifyFunctionTypes(row.type.output,parsedQuery.returned)){return}addIntoResults(results,row.id,pos,0,0,0,Number.MAX_VALUE)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;let queryLen=0;for(const elem of parsedQuery.elems){queryLen+=elem.name.length}for(const elem of parsedQuery.returned){queryLen+=elem.name.length}const maxEditDistance=Math.floor(queryLen/3);function convertNameToId(elem){if(typeNameIdMap.has(elem.name)){elem.id=typeNameIdMap.get(elem.name)}else if(!parsedQuery.literalSearch){let match=-1;let matchDist=maxEditDistance+1;let matchName="";for(const[name,id]of typeNameIdMap){const dist=editDistance(name,elem.name,maxEditDistance);if(dist<=matchDist&&dist<=maxEditDistance){if(dist===matchDist&&matchName>name){continue}match=id;matchDist=dist;matchName=name}}if(match!==-1){parsedQuery.correction=matchName}elem.id=match}for(const elem2 of elem.generics){convertNameToId(elem2)}}for(const elem of parsedQuery.elems){convertNameToId(elem)}for(const elem of parsedQuery.returned){convertNameToId(elem)}if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i0){for(i=0,nSearchWords=searchWords.length;i-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||editDistance(name,key,maxEditDistance)<=maxEditDistance)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#search-tabs button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];const longType=longItemTypes[item.ty];const typeName=longType.length!==0?`${longType}`:"?";length+=1;const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";resultName.insertAdjacentHTML("beforeend",`${typeName}`);link.appendChild(resultName);let alias=" ";if(item.is_alias){alias=`
\ +${item.alias} - see \ +
`}resultName.insertAdjacentHTML("beforeend",`
${alias}\ +${item.displayPath}${name}\ +
`);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(
"+"Try on DuckDuckGo?

"+"Or try looking in one of these:"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return""}return""}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true")){window.onunload=()=>{};searchState.removeQueryParameters();const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in 
"}let output=`

Results${crates}

`;if(results.query.error!==null){const error=results.query.error;error.forEach((value,index)=>{value=value.split("<").join("<").split(">").join(">");if(index%2!==0){error[index]=`${value.replaceAll(" ", " ")}`}else{error[index]=value}});output+=`

Query parser error: "${error.join("")}".

`;output+="
"+makeTabHeader(0,"In Names",ret_others[1])+"
";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="
"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"
"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="
"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"
";currentTab=0}if(results.query.correction!==null){const orig=results.query.returned.length>0?results.query.returned[0].name:results.query.elems[0].name;output+="

"+`Type "${orig}" not found. `+"Showing results for closest type name "+`"${results.query.correction}" instead.

`}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("search-tabs").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function updateSearchHistory(url){if(!browserSupportsHistoryApi()){return}const params=searchState.getQueryStringParams();if(!history.state&&!params.search){history.pushState(null,"",url)}else{history.replaceState(null,"",url)}}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";updateSearchHistory(buildUrl(query.original,filterCrates));showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{id:pathIndex===0?-1:buildTypeMapIndex(lowercasePaths[pathIndex-1].name),ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{id:pathIndex===0?-1:buildTypeMapIndex(lowercasePaths[pathIndex-1].name),ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{id:pathIndex===0?-1:buildTypeMapIndex(lowercasePaths[pathIndex-1].name),ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];typeNameIdMap=new Map();const charA="A".charCodeAt(0);let currentIndex=0;let id=0;typeNameIdOfArray=buildTypeMapIndex("array");typeNameIdOfSlice=buildTypeMapIndex("slice");typeNameIdOfArrayOrSlice=buildTypeMapIndex("[]");for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(/_/g,""),deprecated:null,};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=new Map(crateCorpus.q);const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const deprecatedItems=new Set(crateCorpus.c);const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(let i=0;i0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(/_/g,""),deprecated:deprecatedItems.has(i),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){const currentCrateAliases=new Map();ALIASES.set(crate,currentCrateAliases);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}let currentNameAliases;if(currentCrateAliases.has(alias_name)){currentNameAliases=currentCrateAliases.get(alias_name)}else{currentNameAliases=[];currentCrateAliases.set(alias_name,currentNameAliases)}for(const local_alias of aliases[alias_name]){currentNameAliases.push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const query=searchState.input.value.trim();updateSearchHistory(buildUrl(query,null))}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})() \ No newline at end of file diff --git a/static.files/source-script-106908c7a7964ba4.js b/static.files/source-script-106908c7a7964ba4.js deleted file mode 100644 index 191bf6d999..0000000000 --- a/static.files/source-script-106908c7a7964ba4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(function(){const rootPath=getVar("root-path");const NAME_OFFSET=0;const DIRS_OFFSET=1;const FILES_OFFSET=2;const RUSTDOC_MOBILE_BREAKPOINT=700;function closeSidebarIfMobile(){if(window.innerWidth"){addClass(document.documentElement,"source-sidebar-expanded");child.innerText="<";updateLocalStorage("source-sidebar-show","true")}else{removeClass(document.documentElement,"source-sidebar-expanded");child.innerText=">";updateLocalStorage("source-sidebar-show","false")}}function createSidebarToggle(){const sidebarToggle=document.createElement("div");sidebarToggle.id="src-sidebar-toggle";const inner=document.createElement("button");if(getCurrentValue("source-sidebar-show")==="true"){inner.innerText="<"}else{inner.innerText=">"}inner.onclick=toggleSidebar;sidebarToggle.appendChild(inner);return sidebarToggle}function createSourceSidebar(){const container=document.querySelector("nav.sidebar");const sidebarToggle=createSidebarToggle();container.insertBefore(sidebarToggle,container.firstChild);const sidebar=document.createElement("div");sidebar.id="source-sidebar";let hasFoundFile=false;const title=document.createElement("div");title.className="title";title.innerText="Files";sidebar.appendChild(title);Object.keys(sourcesIndex).forEach(key=>{sourcesIndex[key][NAME_OFFSET]=key;hasFoundFile=createDirEntry(sourcesIndex[key],sidebar,"",hasFoundFile)});container.appendChild(sidebar);const selected_elem=sidebar.getElementsByClassName("selected")[0];if(typeof selected_elem!=="undefined"){selected_elem.focus()}}const lineNumbersRegex=/^#?(\d+)(?:-(\d+))?$/;function highlightSourceLines(match){if(typeof match==="undefined"){match=window.location.hash.match(lineNumbersRegex)}if(!match){return}let from=parseInt(match[1],10);let to=from;if(typeof match[2]!=="undefined"){to=parseInt(match[2],10)}if(to{onEachLazy(e.getElementsByTagName("a"),i_e=>{removeClass(i_e,"line-highlighted")})});for(let i=from;i<=to;++i){elem=document.getElementById(i);if(!elem){break}addClass(elem,"line-highlighted")}}const handleSourceHighlight=(function(){let prev_line_id=0;const set_fragment=name=>{const x=window.scrollX,y=window.scrollY;if(browserSupportsHistoryApi()){history.replaceState(null,null,"#"+name);highlightSourceLines()}else{location.replace("#"+name)}window.scrollTo(x,y)};return ev=>{let cur_line_id=parseInt(ev.target.id,10);if(isNaN(cur_line_id)||ev.ctrlKey||ev.altKey||ev.metaKey){return}ev.preventDefault();if(ev.shiftKey&&prev_line_id){if(prev_line_id>cur_line_id){const tmp=prev_line_id;prev_line_id=cur_line_id;cur_line_id=tmp}set_fragment(prev_line_id+"-"+cur_line_id)}else{prev_line_id=cur_line_id;set_fragment(cur_line_id)}}}());window.addEventListener("hashchange",()=>{const match=window.location.hash.match(lineNumbersRegex);if(match){return highlightSourceLines(match)}});onEachLazy(document.getElementsByClassName("src-line-numbers"),el=>{el.addEventListener("click",handleSourceHighlight)});highlightSourceLines();window.createSourceSidebar=createSourceSidebar})() \ No newline at end of file diff --git a/static.files/src-script-3280b574d94e47b4.js b/static.files/src-script-3280b574d94e47b4.js new file mode 100644 index 0000000000..9ea88921e2 --- /dev/null +++ b/static.files/src-script-3280b574d94e47b4.js @@ -0,0 +1 @@ +"use strict";(function(){const rootPath=getVar("root-path");const NAME_OFFSET=0;const DIRS_OFFSET=1;const FILES_OFFSET=2;const RUSTDOC_MOBILE_BREAKPOINT=700;function closeSidebarIfMobile(){if(window.innerWidth"){addClass(document.documentElement,"src-sidebar-expanded");child.innerText="<";updateLocalStorage("source-sidebar-show","true")}else{removeClass(document.documentElement,"src-sidebar-expanded");child.innerText=">";updateLocalStorage("source-sidebar-show","false")}}function createSidebarToggle(){const sidebarToggle=document.createElement("div");sidebarToggle.id="src-sidebar-toggle";const inner=document.createElement("button");if(getCurrentValue("source-sidebar-show")==="true"){inner.innerText="<"}else{inner.innerText=">"}inner.onclick=toggleSidebar;sidebarToggle.appendChild(inner);return sidebarToggle}function createSrcSidebar(){const container=document.querySelector("nav.sidebar");const sidebarToggle=createSidebarToggle();container.insertBefore(sidebarToggle,container.firstChild);const sidebar=document.createElement("div");sidebar.id="src-sidebar";let hasFoundFile=false;const title=document.createElement("div");title.className="title";title.innerText="Files";sidebar.appendChild(title);Object.keys(srcIndex).forEach(key=>{srcIndex[key][NAME_OFFSET]=key;hasFoundFile=createDirEntry(srcIndex[key],sidebar,"",hasFoundFile)});container.appendChild(sidebar);const selected_elem=sidebar.getElementsByClassName("selected")[0];if(typeof selected_elem!=="undefined"){selected_elem.focus()}}const lineNumbersRegex=/^#?(\d+)(?:-(\d+))?$/;function highlightSrcLines(match){if(typeof match==="undefined"){match=window.location.hash.match(lineNumbersRegex)}if(!match){return}let from=parseInt(match[1],10);let to=from;if(typeof match[2]!=="undefined"){to=parseInt(match[2],10)}if(to{onEachLazy(e.getElementsByTagName("a"),i_e=>{removeClass(i_e,"line-highlighted")})});for(let i=from;i<=to;++i){elem=document.getElementById(i);if(!elem){break}addClass(elem,"line-highlighted")}}const handleSrcHighlight=(function(){let prev_line_id=0;const set_fragment=name=>{const x=window.scrollX,y=window.scrollY;if(browserSupportsHistoryApi()){history.replaceState(null,null,"#"+name);highlightSrcLines()}else{location.replace("#"+name)}window.scrollTo(x,y)};return ev=>{let cur_line_id=parseInt(ev.target.id,10);if(isNaN(cur_line_id)||ev.ctrlKey||ev.altKey||ev.metaKey){return}ev.preventDefault();if(ev.shiftKey&&prev_line_id){if(prev_line_id>cur_line_id){const tmp=prev_line_id;prev_line_id=cur_line_id;cur_line_id=tmp}set_fragment(prev_line_id+"-"+cur_line_id)}else{prev_line_id=cur_line_id;set_fragment(cur_line_id)}}}());window.addEventListener("hashchange",()=>{const match=window.location.hash.match(lineNumbersRegex);if(match){return highlightSrcLines(match)}});onEachLazy(document.getElementsByClassName("src-line-numbers"),el=>{el.addEventListener("click",handleSrcHighlight)});highlightSrcLines();window.createSrcSidebar=createSrcSidebar})() \ No newline at end of file diff --git a/static.files/storage-59fd9b8ccb335783.js b/static.files/storage-db41da1a38ea3cb8.js similarity index 95% rename from static.files/storage-59fd9b8ccb335783.js rename to static.files/storage-db41da1a38ea3cb8.js index ca5481acb2..b872813591 100644 --- a/static.files/storage-59fd9b8ccb335783.js +++ b/static.files/storage-db41da1a38ea3cb8.js @@ -1 +1 @@ -"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");return settingsElement&&settingsElement.dataset?settingsElement.dataset:null})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current===null&&settingsDataset!==null){const def=settingsDataset[settingName.replace(/-/g,"_")];if(def!==undefined){return def}}return current}const localStoredTheme=getSettingValue("theme");function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(elem&&elem.classList){elem.classList.add(className)}}function removeClass(elem,className){if(elem&&elem.classList){elem.classList.remove(className)}}function onEach(arr,func,reversed){if(arr&&arr.length>0){if(reversed){for(let i=arr.length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}const getVar=(function getVar(name){const el=document.querySelector("head > meta[name='rustdoc-vars']");return el?el.attributes["data-"+name].value:null});function switchTheme(newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}let newHref;if(newThemeName==="light"||newThemeName==="dark"||newThemeName==="ayu"){newHref=getVar("static-root-path")+getVar("theme-"+newThemeName+"-css")}else{newHref=getVar("root-path")+newThemeName+getVar("resource-suffix")+".css"}if(!window.currentTheme){document.write(``);window.currentTheme=document.getElementById("themeStyle")}else if(newHref!==window.currentTheme.href){window.currentTheme.href=newHref}}const updateTheme=(function(){const mql=window.matchMedia("(prefers-color-scheme: dark)");function updateTheme(){if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";updateLocalStorage("use-system-theme","true");switchTheme(mql.matches?darkTheme:lightTheme,true)}else{switchTheme(getSettingValue("theme"),false)}}mql.addEventListener("change",updateTheme);return updateTheme})();if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}}updateTheme();if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"source-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(updateTheme,0)}}) \ No newline at end of file +"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");return settingsElement&&settingsElement.dataset?settingsElement.dataset:null})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current===null&&settingsDataset!==null){const def=settingsDataset[settingName.replace(/-/g,"_")];if(def!==undefined){return def}}return current}const localStoredTheme=getSettingValue("theme");function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(elem&&elem.classList){elem.classList.add(className)}}function removeClass(elem,className){if(elem&&elem.classList){elem.classList.remove(className)}}function onEach(arr,func,reversed){if(arr&&arr.length>0){if(reversed){for(let i=arr.length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}const getVar=(function getVar(name){const el=document.querySelector("head > meta[name='rustdoc-vars']");return el?el.attributes["data-"+name].value:null});function switchTheme(newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}let newHref;if(newThemeName==="light"||newThemeName==="dark"||newThemeName==="ayu"){newHref=getVar("static-root-path")+getVar("theme-"+newThemeName+"-css")}else{newHref=getVar("root-path")+newThemeName+getVar("resource-suffix")+".css"}if(!window.currentTheme){document.write(``);window.currentTheme=document.getElementById("themeStyle")}else if(newHref!==window.currentTheme.href){window.currentTheme.href=newHref}}const updateTheme=(function(){const mql=window.matchMedia("(prefers-color-scheme: dark)");function updateTheme(){if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";updateLocalStorage("use-system-theme","true");switchTheme(mql.matches?darkTheme:lightTheme,true)}else{switchTheme(getSettingValue("theme"),false)}}mql.addEventListener("change",updateTheme);return updateTheme})();if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}}updateTheme();if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"src-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(updateTheme,0)}}) \ No newline at end of file diff --git a/tlsn_core/all.html b/tlsn_core/all.html index c7814470c4..12c758dbb8 100644 --- a/tlsn_core/all.html +++ b/tlsn_core/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/tlsn_core/commitment/blake3/index.html b/tlsn_core/commitment/blake3/index.html index 107d7ba77a..3b764633e9 100644 --- a/tlsn_core/commitment/blake3/index.html +++ b/tlsn_core/commitment/blake3/index.html @@ -1,2 +1,2 @@ -tlsn_core::commitment::blake3 - Rust
Expand description

BLAKE3 commitments.

+tlsn_core::commitment::blake3 - Rust
Expand description

BLAKE3 commitments.

Structs

\ No newline at end of file diff --git a/tlsn_core/commitment/blake3/struct.Blake3Commitment.html b/tlsn_core/commitment/blake3/struct.Blake3Commitment.html index e4d1545200..0b202efce8 100644 --- a/tlsn_core/commitment/blake3/struct.Blake3Commitment.html +++ b/tlsn_core/commitment/blake3/struct.Blake3Commitment.html @@ -1,29 +1,29 @@ -Blake3Commitment in tlsn_core::commitment::blake3 - Rust
pub struct Blake3Commitment { /* private fields */ }
Expand description

A Blake3 commitment to the encodings of the substrings of a Transcript.

-

Implementations§

source§

impl Blake3Commitment

source

pub fn new(encodings: &[EncodedValue<Active>]) -> Self

Creates a new Blake3 commitment

-
source

pub fn hash(&self) -> &Hash

Returns the hash of this commitment

-
source

pub fn nonce(&self) -> &Nonce

Returns the nonce of this commitment

-
source

pub fn open(&self, data: Vec<u8>) -> Blake3Opening

Opens this commitment

-

Trait Implementations§

source§

impl Clone for Blake3Commitment

source§

fn clone(&self) -> Blake3Commitment

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Blake3Commitment

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Blake3Commitment

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<Blake3Commitment> for Commitment

source§

fn from(value: Blake3Commitment) -> Self

Converts to this type from the input type.
source§

impl Serialize for Blake3Commitment

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Blake3Commitment

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+Blake3Commitment in tlsn_core::commitment::blake3 - Rust
pub struct Blake3Commitment { /* private fields */ }
Expand description

A Blake3 commitment to the encodings of the substrings of a Transcript.

+

Implementations§

source§

impl Blake3Commitment

source

pub fn new(encodings: &[EncodedValue<Active>]) -> Self

Creates a new Blake3 commitment

+
source

pub fn hash(&self) -> &Hash

Returns the hash of this commitment

+
source

pub fn nonce(&self) -> &Nonce

Returns the nonce of this commitment

+
source

pub fn open(&self, data: Vec<u8>) -> Blake3Opening

Opens this commitment

+

Trait Implementations§

source§

impl Clone for Blake3Commitment

source§

fn clone(&self) -> Blake3Commitment

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Blake3Commitment

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Blake3Commitment

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<Blake3Commitment> for Commitment

source§

fn from(value: Blake3Commitment) -> Self

Converts to this type from the input type.
source§

impl Serialize for Blake3Commitment

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Blake3Commitment

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/commitment/blake3/struct.Blake3Opening.html b/tlsn_core/commitment/blake3/struct.Blake3Opening.html index 066d9e21cb..b1e7e7e317 100644 --- a/tlsn_core/commitment/blake3/struct.Blake3Opening.html +++ b/tlsn_core/commitment/blake3/struct.Blake3Opening.html @@ -1,33 +1,33 @@ -Blake3Opening in tlsn_core::commitment::blake3 - Rust
pub struct Blake3Opening { /* private fields */ }
Expand description

A substring opening using Blake3

-

Implementations§

source§

impl Blake3Opening

source

pub fn recover(&self, encodings: &[EncodedValue<Full>]) -> Blake3Commitment

Recovers the expected commitment from this opening.

+Blake3Opening in tlsn_core::commitment::blake3 - Rust
pub struct Blake3Opening { /* private fields */ }
Expand description

A substring opening using Blake3

+

Implementations§

source§

impl Blake3Opening

source

pub fn recover(&self, encodings: &[EncodedValue<Full>]) -> Blake3Commitment

Recovers the expected commitment from this opening.

Panics
  • If the number of encodings does not match the number of bytes in the opening.
  • If an encoding is not for a u8.
-
source

pub fn data(&self) -> &[u8]

Returns the transcript data corresponding to this opening

-
source

pub fn into_data(self) -> Vec<u8>

Returns the transcript data corresponding to this opening

-

Trait Implementations§

source§

impl Clone for Blake3Opening

source§

fn clone(&self) -> Blake3Opening

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'de> Deserialize<'de> for Blake3Opening

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<Blake3Opening> for CommitmentOpening

source§

fn from(value: Blake3Opening) -> Self

Converts to this type from the input type.
source§

impl Serialize for Blake3Opening

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source

pub fn data(&self) -> &[u8]

Returns the transcript data corresponding to this opening

+
source

pub fn into_data(self) -> Vec<u8>

Returns the transcript data corresponding to this opening

+

Trait Implementations§

source§

impl Clone for Blake3Opening

source§

fn clone(&self) -> Blake3Opening

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'de> Deserialize<'de> for Blake3Opening

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<Blake3Opening> for CommitmentOpening

source§

fn from(value: Blake3Opening) -> Self

Converts to this type from the input type.
source§

impl Serialize for Blake3Opening

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/commitment/enum.Commitment.html b/tlsn_core/commitment/enum.Commitment.html index 3379eb4faa..ff1f9edaff 100644 --- a/tlsn_core/commitment/enum.Commitment.html +++ b/tlsn_core/commitment/enum.Commitment.html @@ -1,30 +1,30 @@ -Commitment in tlsn_core::commitment - Rust
#[non_exhaustive]
pub enum Commitment { +Commitment in tlsn_core::commitment - Rust
#[non_exhaustive]
pub enum Commitment { Blake3(Blake3Commitment), }
Expand description

A commitment to some bytes in a transcript

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Blake3(Blake3Commitment)

A BLAKE3 commitment to encodings of the transcript.

-

Implementations§

source§

impl Commitment

source

pub fn hash(&self) -> Hash

Returns the hash of this commitment

-
source

pub fn kind(&self) -> CommitmentKind

Returns the kind of this commitment

-

Trait Implementations§

source§

impl Clone for Commitment

source§

fn clone(&self) -> Commitment

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'de> Deserialize<'de> for Commitment

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<Blake3Commitment> for Commitment

source§

fn from(value: Blake3Commitment) -> Self

Converts to this type from the input type.
source§

impl Serialize for Commitment

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Implementations§

source§

impl Commitment

source

pub fn hash(&self) -> Hash

Returns the hash of this commitment

+
source

pub fn kind(&self) -> CommitmentKind

Returns the kind of this commitment

+

Trait Implementations§

source§

impl Clone for Commitment

source§

fn clone(&self) -> Commitment

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'de> Deserialize<'de> for Commitment

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<Blake3Commitment> for Commitment

source§

fn from(value: Blake3Commitment) -> Self

Converts to this type from the input type.
source§

impl Serialize for Commitment

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/commitment/enum.CommitmentKind.html b/tlsn_core/commitment/enum.CommitmentKind.html index 44e9501939..6d02af90af 100644 --- a/tlsn_core/commitment/enum.CommitmentKind.html +++ b/tlsn_core/commitment/enum.CommitmentKind.html @@ -1,32 +1,32 @@ -CommitmentKind in tlsn_core::commitment - Rust
#[non_exhaustive]
pub enum CommitmentKind { +CommitmentKind in tlsn_core::commitment - Rust
#[non_exhaustive]
pub enum CommitmentKind { Blake3, }
Expand description

The kind of a Commitment.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Blake3

A BLAKE3 commitment to encodings of the transcript.

-

Trait Implementations§

source§

impl Clone for CommitmentKind

source§

fn clone(&self) -> CommitmentKind

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CommitmentKind

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CommitmentKind

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for CommitmentKind

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<CommitmentKind> for CommitmentKind

source§

fn eq(&self, other: &CommitmentKind) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for CommitmentKind

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for CommitmentKind

source§

impl Eq for CommitmentKind

source§

impl StructuralEq for CommitmentKind

source§

impl StructuralPartialEq for CommitmentKind

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

source§

impl Clone for CommitmentKind

source§

fn clone(&self) -> CommitmentKind

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CommitmentKind

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CommitmentKind

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for CommitmentKind

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<CommitmentKind> for CommitmentKind

source§

fn eq(&self, other: &CommitmentKind) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for CommitmentKind

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for CommitmentKind

source§

impl Eq for CommitmentKind

source§

impl StructuralEq for CommitmentKind

source§

impl StructuralPartialEq for CommitmentKind

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/commitment/enum.CommitmentOpening.html b/tlsn_core/commitment/enum.CommitmentOpening.html index 32d283cd7f..1f58a4d58a 100644 --- a/tlsn_core/commitment/enum.CommitmentOpening.html +++ b/tlsn_core/commitment/enum.CommitmentOpening.html @@ -1,38 +1,38 @@ -CommitmentOpening in tlsn_core::commitment - Rust
#[non_exhaustive]
pub enum CommitmentOpening { +CommitmentOpening in tlsn_core::commitment - Rust
#[non_exhaustive]
pub enum CommitmentOpening { Blake3(Blake3Opening), }
Expand description

An opening to a commitment to the transcript.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Blake3(Blake3Opening)

An opening to a BLAKE3 commitment

-

Implementations§

source§

impl CommitmentOpening

source

pub fn kind(&self) -> CommitmentKind

Returns the kind of this opening

-
source

pub fn recover(&self, encodings: &[EncodedValue<Full>]) -> Commitment

Recovers the expected commitment from this opening.

+

Implementations§

source§

impl CommitmentOpening

source

pub fn kind(&self) -> CommitmentKind

Returns the kind of this opening

+
source

pub fn recover(&self, encodings: &[EncodedValue<Full>]) -> Commitment

Recovers the expected commitment from this opening.

Panics

Implementations may panic if the following conditions are not met:

  • If the number of encodings does not match the number of bytes in the opening.
  • If an encoding is not for a u8.
-
source

pub fn data(&self) -> &[u8]

Returns the transcript data corresponding to this opening

-
source

pub fn into_data(self) -> Vec<u8>

Returns the transcript data corresponding to this opening

-

Trait Implementations§

source§

impl Clone for CommitmentOpening

source§

fn clone(&self) -> CommitmentOpening

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'de> Deserialize<'de> for CommitmentOpening

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<Blake3Opening> for CommitmentOpening

source§

fn from(value: Blake3Opening) -> Self

Converts to this type from the input type.
source§

impl Serialize for CommitmentOpening

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source

pub fn data(&self) -> &[u8]

Returns the transcript data corresponding to this opening

+
source

pub fn into_data(self) -> Vec<u8>

Returns the transcript data corresponding to this opening

+

Trait Implementations§

source§

impl Clone for CommitmentOpening

source§

fn clone(&self) -> CommitmentOpening

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'de> Deserialize<'de> for CommitmentOpening

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<Blake3Opening> for CommitmentOpening

source§

fn from(value: Blake3Opening) -> Self

Converts to this type from the input type.
source§

impl Serialize for CommitmentOpening

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere - T: for<'de> Deserialize<'de>,

\ No newline at end of file +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere + T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/commitment/enum.TranscriptCommitmentBuilderError.html b/tlsn_core/commitment/enum.TranscriptCommitmentBuilderError.html index 52de17aff5..03eb31c027 100644 --- a/tlsn_core/commitment/enum.TranscriptCommitmentBuilderError.html +++ b/tlsn_core/commitment/enum.TranscriptCommitmentBuilderError.html @@ -1,4 +1,4 @@ -TranscriptCommitmentBuilderError in tlsn_core::commitment - Rust
pub enum TranscriptCommitmentBuilderError {
+TranscriptCommitmentBuilderError in tlsn_core::commitment - Rust
pub enum TranscriptCommitmentBuilderError {
     MissingEncodings,
     Duplicate(CommitmentId),
     NoCommitments,
@@ -6,23 +6,21 @@
 

Variants§

§

MissingEncodings

Failed to retrieve encodings for the provided transcript ranges.

§

Duplicate(CommitmentId)

Duplicate commitment

§

NoCommitments

No commitments were added

-

Trait Implementations§

source§

impl Debug for TranscriptCommitmentBuilderError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for TranscriptCommitmentBuilderError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for TranscriptCommitmentBuilderError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Debug for TranscriptCommitmentBuilderError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for TranscriptCommitmentBuilderError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for TranscriptCommitmentBuilderError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<E> Provider for Ewhere - E: Error + ?Sized,

source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to -provide by using demand. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_core/commitment/index.html b/tlsn_core/commitment/index.html index 072064a45c..a61d38ad5d 100644 --- a/tlsn_core/commitment/index.html +++ b/tlsn_core/commitment/index.html @@ -1,2 +1,2 @@ -tlsn_core::commitment - Rust

Module tlsn_core::commitment

source ·
Expand description

Types related to transcript commitments.

+tlsn_core::commitment - Rust

Module tlsn_core::commitment

source ·
Expand description

Types related to transcript commitments.

Modules

Structs

Enums

\ No newline at end of file diff --git a/tlsn_core/commitment/struct.CommitmentId.html b/tlsn_core/commitment/struct.CommitmentId.html index 8f48f30593..5f5cb5e8b6 100644 --- a/tlsn_core/commitment/struct.CommitmentId.html +++ b/tlsn_core/commitment/struct.CommitmentId.html @@ -1,34 +1,34 @@ -CommitmentId in tlsn_core::commitment - Rust
pub struct CommitmentId(_);
Expand description

A commitment id.

-

Trait Implementations§

source§

impl Clone for CommitmentId

source§

fn clone(&self) -> CommitmentId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CommitmentId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CommitmentId

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for CommitmentId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for CommitmentId

source§

fn cmp(&self, other: &CommitmentId) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<CommitmentId> for CommitmentId

source§

fn eq(&self, other: &CommitmentId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CommitmentId> for CommitmentId

source§

fn partial_cmp(&self, other: &CommitmentId) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for CommitmentId

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for CommitmentId

source§

impl Eq for CommitmentId

source§

impl StructuralEq for CommitmentId

source§

impl StructuralPartialEq for CommitmentId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+CommitmentId in tlsn_core::commitment - Rust
pub struct CommitmentId(_);
Expand description

A commitment id.

+

Trait Implementations§

source§

impl Clone for CommitmentId

source§

fn clone(&self) -> CommitmentId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CommitmentId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CommitmentId

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for CommitmentId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for CommitmentId

source§

fn cmp(&self, other: &CommitmentId) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<CommitmentId> for CommitmentId

source§

fn eq(&self, other: &CommitmentId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CommitmentId> for CommitmentId

source§

fn partial_cmp(&self, other: &CommitmentId) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for CommitmentId

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for CommitmentId

source§

impl Eq for CommitmentId

source§

impl StructuralEq for CommitmentId

source§

impl StructuralPartialEq for CommitmentId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/commitment/struct.CommitmentInfo.html b/tlsn_core/commitment/struct.CommitmentInfo.html index e1c1635787..de00b17b9b 100644 --- a/tlsn_core/commitment/struct.CommitmentInfo.html +++ b/tlsn_core/commitment/struct.CommitmentInfo.html @@ -1,32 +1,32 @@ -CommitmentInfo in tlsn_core::commitment - Rust
pub struct CommitmentInfo { /* private fields */ }
Expand description

Info of a transcript commitment

-

Implementations§

source§

impl CommitmentInfo

source

pub fn kind(&self) -> CommitmentKind

Returns the kind of this commitment

-
source

pub fn ranges(&self) -> &RangeSet<usize>

Returns the ranges of this commitment

-
source

pub fn direction(&self) -> &Direction

Returns the direction of this commitment

-

Trait Implementations§

source§

impl Clone for CommitmentInfo

source§

fn clone(&self) -> CommitmentInfo

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CommitmentInfo

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CommitmentInfo

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for CommitmentInfo

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<CommitmentInfo> for CommitmentInfo

source§

fn eq(&self, other: &CommitmentInfo) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for CommitmentInfo

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for CommitmentInfo

source§

impl StructuralEq for CommitmentInfo

source§

impl StructuralPartialEq for CommitmentInfo

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+CommitmentInfo in tlsn_core::commitment - Rust
pub struct CommitmentInfo { /* private fields */ }
Expand description

Info of a transcript commitment

+

Implementations§

source§

impl CommitmentInfo

source

pub fn kind(&self) -> CommitmentKind

Returns the kind of this commitment

+
source

pub fn ranges(&self) -> &RangeSet<usize>

Returns the ranges of this commitment

+
source

pub fn direction(&self) -> &Direction

Returns the direction of this commitment

+

Trait Implementations§

source§

impl Clone for CommitmentInfo

source§

fn clone(&self) -> CommitmentInfo

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CommitmentInfo

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CommitmentInfo

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for CommitmentInfo

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<CommitmentInfo> for CommitmentInfo

source§

fn eq(&self, other: &CommitmentInfo) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for CommitmentInfo

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for CommitmentInfo

source§

impl StructuralEq for CommitmentInfo

source§

impl StructuralPartialEq for CommitmentInfo

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/commitment/struct.TranscriptCommitmentBuilder.html b/tlsn_core/commitment/struct.TranscriptCommitmentBuilder.html index b5565367a1..c9c5bbd263 100644 --- a/tlsn_core/commitment/struct.TranscriptCommitmentBuilder.html +++ b/tlsn_core/commitment/struct.TranscriptCommitmentBuilder.html @@ -1,29 +1,29 @@ -TranscriptCommitmentBuilder in tlsn_core::commitment - Rust
pub struct TranscriptCommitmentBuilder { /* private fields */ }
Expand description

A builder for TranscriptCommitments.

-

Implementations§

source§

impl TranscriptCommitmentBuilder

source

pub fn commit_sent( +TranscriptCommitmentBuilder in tlsn_core::commitment - Rust
pub struct TranscriptCommitmentBuilder { /* private fields */ }
Expand description

A builder for TranscriptCommitments.

+

Implementations§

source§

impl TranscriptCommitmentBuilder

source

pub fn commit_sent( &mut self, - ranges: impl Into<RangeSet<usize>> -) -> Result<CommitmentId, TranscriptCommitmentBuilderError>

Commits to the provided ranges of the sent transcript.

-
source

pub fn commit_recv( + ranges: impl Into<RangeSet<usize>> +) -> Result<CommitmentId, TranscriptCommitmentBuilderError>

Commits to the provided ranges of the sent transcript.

+
source

pub fn commit_recv( &mut self, - ranges: impl Into<RangeSet<usize>> -) -> Result<CommitmentId, TranscriptCommitmentBuilderError>

Commits to the provided ranges of the received transcript.

-
source

pub fn build( + ranges: impl Into<RangeSet<usize>> +) -> Result<CommitmentId, TranscriptCommitmentBuilderError>

Commits to the provided ranges of the received transcript.

+
source

pub fn build( self -) -> Result<TranscriptCommitments, TranscriptCommitmentBuilderError>

Trait Implementations§

source§

impl Debug for TranscriptCommitmentBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

Trait Implementations§

source§

impl Debug for TranscriptCommitmentBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_core/commitment/struct.TranscriptCommitments.html b/tlsn_core/commitment/struct.TranscriptCommitments.html index a38ce0957f..2f6f585364 100644 --- a/tlsn_core/commitment/struct.TranscriptCommitments.html +++ b/tlsn_core/commitment/struct.TranscriptCommitments.html @@ -1,35 +1,35 @@ -TranscriptCommitments in tlsn_core::commitment - Rust
pub struct TranscriptCommitments { /* private fields */ }
Expand description

A collection of transcript commitments.

-

Implementations§

source§

impl TranscriptCommitments

source

pub fn merkle_tree(&self) -> &MerkleTree

Returns the merkle tree of the commitments.

-
source

pub fn merkle_root(&self) -> MerkleRoot

Returns the merkle root of the commitments.

-
source

pub fn get(&self, id: &CommitmentId) -> Option<&Commitment>

Returns a commitment if it exists.

-
source

pub fn get_id_by_info( +TranscriptCommitments in tlsn_core::commitment - Rust
pub struct TranscriptCommitments { /* private fields */ }
Expand description

A collection of transcript commitments.

+

Implementations§

source§

impl TranscriptCommitments

source

pub fn merkle_tree(&self) -> &MerkleTree

Returns the merkle tree of the commitments.

+
source

pub fn merkle_root(&self) -> MerkleRoot

Returns the merkle root of the commitments.

+
source

pub fn get(&self, id: &CommitmentId) -> Option<&Commitment>

Returns a commitment if it exists.

+
source

pub fn get_id_by_info( &self, kind: CommitmentKind, - ranges: RangeSet<usize>, + ranges: RangeSet<usize>, direction: Direction -) -> Option<CommitmentId>

Returns the commitment id for a commitment with the given info, if it exists.

-
source

pub fn get_info(&self, id: &CommitmentId) -> Option<&CommitmentInfo>

Returns commitment info, if it exists.

-

Trait Implementations§

source§

impl Clone for TranscriptCommitments

source§

fn clone(&self) -> TranscriptCommitments

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TranscriptCommitments

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TranscriptCommitments

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for TranscriptCommitments

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Option<CommitmentId>

Returns the commitment id for a commitment with the given info, if it exists.

+
source

pub fn get_info(&self, id: &CommitmentId) -> Option<&CommitmentInfo>

Returns commitment info, if it exists.

+

Trait Implementations§

source§

impl Clone for TranscriptCommitments

source§

fn clone(&self) -> TranscriptCommitments

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TranscriptCommitments

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TranscriptCommitments

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for TranscriptCommitments

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/enum.NotaryPublicKey.html b/tlsn_core/enum.NotaryPublicKey.html index 79e98289d5..7f17be39a4 100644 --- a/tlsn_core/enum.NotaryPublicKey.html +++ b/tlsn_core/enum.NotaryPublicKey.html @@ -1,28 +1,28 @@ -NotaryPublicKey in tlsn_core - Rust
#[non_exhaustive]
pub enum NotaryPublicKey { +NotaryPublicKey in tlsn_core - Rust
#[non_exhaustive]
pub enum NotaryPublicKey { P256(PublicKey), }
Expand description

A Notary public key.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

P256(PublicKey)

A NIST P-256 public key.

-

Trait Implementations§

source§

impl Clone for NotaryPublicKey

source§

fn clone(&self) -> NotaryPublicKey

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NotaryPublicKey

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for NotaryPublicKey

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<PublicKey<NistP256>> for NotaryPublicKey

source§

fn from(key: PublicKey) -> Self

Converts to this type from the input type.
source§

impl Serialize for NotaryPublicKey

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

source§

impl Clone for NotaryPublicKey

source§

fn clone(&self) -> NotaryPublicKey

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NotaryPublicKey

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for NotaryPublicKey

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<PublicKey<NistP256>> for NotaryPublicKey

source§

fn from(key: PublicKey) -> Self

Converts to this type from the input type.
source§

impl Serialize for NotaryPublicKey

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/enum.ServerName.html b/tlsn_core/enum.ServerName.html index 0f4931b6a1..483ba70708 100644 --- a/tlsn_core/enum.ServerName.html +++ b/tlsn_core/enum.ServerName.html @@ -1,33 +1,33 @@ -ServerName in tlsn_core - Rust
pub enum ServerName {
-    Dns(String),
+ServerName in tlsn_core - Rust
pub enum ServerName {
+    Dns(String),
 }
Expand description

A Server’s name.

-

Variants§

§

Dns(String)

A DNS name.

-

Implementations§

source§

impl ServerName

source

pub fn as_str(&self) -> &str

Returns a reference to the server name as a string slice.

-

Trait Implementations§

source§

impl AsRef<str> for ServerName

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for ServerName

source§

fn clone(&self) -> ServerName

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ServerName

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ServerName

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for ServerName

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<ServerName> for ServerName

source§

fn eq(&self, other: &ServerName) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ServerName

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ServerName

source§

impl StructuralEq for ServerName

source§

impl StructuralPartialEq for ServerName

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Variants§

§

Dns(String)

A DNS name.

+

Implementations§

source§

impl ServerName

source

pub fn as_str(&self) -> &str

Returns a reference to the server name as a string slice.

+

Trait Implementations§

source§

impl AsRef<str> for ServerName

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for ServerName

source§

fn clone(&self) -> ServerName

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ServerName

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ServerName

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for ServerName

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<ServerName> for ServerName

source§

fn eq(&self, other: &ServerName) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ServerName

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ServerName

source§

impl StructuralEq for ServerName

source§

impl StructuralPartialEq for ServerName

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/enum.Signature.html b/tlsn_core/enum.Signature.html index 06e1ae96a4..a0665bfc9b 100644 --- a/tlsn_core/enum.Signature.html +++ b/tlsn_core/enum.Signature.html @@ -1,39 +1,39 @@ -Signature in tlsn_core - Rust

Enum tlsn_core::Signature

source ·
#[non_exhaustive]
pub enum Signature { +Signature in tlsn_core - Rust

Enum tlsn_core::Signature

source ·
#[non_exhaustive]
pub enum Signature { P256(Signature), }
Expand description

A Notary signature.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

P256(Signature)

A secp256r1 signature.

-

Implementations§

source§

impl Signature

source

pub fn to_bytes(&self) -> Vec<u8>

Returns the bytes of this signature.

-
source

pub fn verify( +

Implementations§

source§

impl Signature

source

pub fn to_bytes(&self) -> Vec<u8>

Returns the bytes of this signature.

+
source

pub fn verify( &self, - msg: &[u8], - notary_public_key: impl Into<NotaryPublicKey> -) -> Result<(), SignatureVerifyError>

Verifies the signature.

+ msg: &[u8], + notary_public_key: impl Into<NotaryPublicKey> +) -> Result<(), SignatureVerifyError>

Verifies the signature.

Arguments
  • msg - The message to verify.
  • notary_public_key - The public key of the notary.
-

Trait Implementations§

source§

impl Clone for Signature

source§

fn clone(&self) -> Signature

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Signature

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Signature

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<Signature<NistP256>> for Signature

source§

fn from(sig: Signature) -> Self

Converts to this type from the input type.
source§

impl Serialize for Signature

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

source§

impl Clone for Signature

source§

fn clone(&self) -> Signature

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Signature

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Signature

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<Signature<NistP256>> for Signature

source§

fn from(sig: Signature) -> Self

Converts to this type from the input type.
source§

impl Serialize for Signature

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/fixtures/cert/fn.appliedzkp.html b/tlsn_core/fixtures/cert/fn.appliedzkp.html new file mode 100644 index 0000000000..61fc1e15ec --- /dev/null +++ b/tlsn_core/fixtures/cert/fn.appliedzkp.html @@ -0,0 +1,2 @@ +appliedzkp in tlsn_core::fixtures::cert - Rust
pub fn appliedzkp() -> TestData
Expand description

Returns test data for the appliedzkp.org website

+
\ No newline at end of file diff --git a/tlsn_core/fixtures/cert/fn.tlsnotary.html b/tlsn_core/fixtures/cert/fn.tlsnotary.html new file mode 100644 index 0000000000..53bff00dce --- /dev/null +++ b/tlsn_core/fixtures/cert/fn.tlsnotary.html @@ -0,0 +1,2 @@ +tlsnotary in tlsn_core::fixtures::cert - Rust

Function tlsn_core::fixtures::cert::tlsnotary

source ·
pub fn tlsnotary() -> TestData
Expand description

Returns test data for the tlsnotary.org website

+
\ No newline at end of file diff --git a/tlsn_core/fixtures/cert/index.html b/tlsn_core/fixtures/cert/index.html new file mode 100644 index 0000000000..01a81af9b2 --- /dev/null +++ b/tlsn_core/fixtures/cert/index.html @@ -0,0 +1,2 @@ +tlsn_core::fixtures::cert - Rust

Module tlsn_core::fixtures::cert

source ·
Expand description

Certificate fixtures

+

Structs

  • Collects data needed for testing

Functions

  • Returns test data for the appliedzkp.org website
  • Returns test data for the tlsnotary.org website
\ No newline at end of file diff --git a/tlsn_core/fixtures/cert/sidebar-items.js b/tlsn_core/fixtures/cert/sidebar-items.js new file mode 100644 index 0000000000..e5bbacc82c --- /dev/null +++ b/tlsn_core/fixtures/cert/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"fn":["appliedzkp","tlsnotary"],"struct":["TestData"]}; \ No newline at end of file diff --git a/tlsn_core/fixtures/cert/struct.TestData.html b/tlsn_core/fixtures/cert/struct.TestData.html new file mode 100644 index 0000000000..24b4ce5dbc --- /dev/null +++ b/tlsn_core/fixtures/cert/struct.TestData.html @@ -0,0 +1,42 @@ +TestData in tlsn_core::fixtures::cert - Rust
pub struct TestData {
+    pub ee: Certificate,
+    pub inter: Certificate,
+    pub ca: Certificate,
+    pub cr: Random,
+    pub sr: Random,
+    pub pubkey: PublicKey,
+    pub sig: Vec<u8>,
+    pub time: u64,
+    pub sig_scheme: SignatureScheme,
+    pub dns_name: String,
+}
Expand description

Collects data needed for testing

+

Fields§

§ee: Certificate

end-entity cert

+
§inter: Certificate

intermediate cert

+
§ca: Certificate

CA cert

+
§cr: Random

client random

+
§sr: Random

server random

+
§pubkey: PublicKey

server ephemeral P256 pubkey

+
§sig: Vec<u8>

server signature over the key exchange parameters

+
§time: u64

unix time when TLS handshake began

+
§sig_scheme: SignatureScheme

algorithm used to create the sig

+
§dns_name: String

DNS name of the website

+

Implementations§

source§

impl TestData

source

pub fn kx_params(&self) -> Vec<u8>

Returns the [ServerECDHParams] in encoded form

+
source

pub fn dss(&self) -> DigitallySignedStruct

Returns the [DigitallySignedStruct]

+
source

pub fn signature_msg(&self) -> Vec<u8>

Returns the client random + server random + kx params in encoded form

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_core/fixtures/fn.client_random.html b/tlsn_core/fixtures/fn.client_random.html new file mode 100644 index 0000000000..529230e37b --- /dev/null +++ b/tlsn_core/fixtures/fn.client_random.html @@ -0,0 +1,2 @@ +client_random in tlsn_core::fixtures - Rust
pub fn client_random() -> Random
Expand description

Returns a client random fixture.

+
\ No newline at end of file diff --git a/tlsn_core/fixtures/fn.encoder.html b/tlsn_core/fixtures/fn.encoder.html new file mode 100644 index 0000000000..0010caeb0d --- /dev/null +++ b/tlsn_core/fixtures/fn.encoder.html @@ -0,0 +1,2 @@ +encoder in tlsn_core::fixtures - Rust

Function tlsn_core::fixtures::encoder

source ·
pub fn encoder() -> ChaChaEncoder
Expand description

Returns an encoder fixture.

+
\ No newline at end of file diff --git a/tlsn_core/fixtures/fn.encoder_seed.html b/tlsn_core/fixtures/fn.encoder_seed.html new file mode 100644 index 0000000000..b8f2d1c578 --- /dev/null +++ b/tlsn_core/fixtures/fn.encoder_seed.html @@ -0,0 +1,2 @@ +encoder_seed in tlsn_core::fixtures - Rust
pub fn encoder_seed() -> [u8; 32]
Expand description

Returns an encoder seed fixture.

+
\ No newline at end of file diff --git a/tlsn_core/fixtures/fn.encoding_provider.html b/tlsn_core/fixtures/fn.encoding_provider.html new file mode 100644 index 0000000000..f22784a02b --- /dev/null +++ b/tlsn_core/fixtures/fn.encoding_provider.html @@ -0,0 +1,5 @@ +encoding_provider in tlsn_core::fixtures - Rust
pub fn encoding_provider(
+    transcript_tx: &[u8],
+    transcript_rx: &[u8]
+) -> Box<dyn Fn(&[&str]) -> Option<Vec<EncodedValue<Active>>> + Send>
Expand description

Returns an encoding provider fixture using the given transcripts.

+
\ No newline at end of file diff --git a/tlsn_core/fixtures/fn.handshake_commitment.html b/tlsn_core/fixtures/fn.handshake_commitment.html new file mode 100644 index 0000000000..65e5b8d483 --- /dev/null +++ b/tlsn_core/fixtures/fn.handshake_commitment.html @@ -0,0 +1,2 @@ +handshake_commitment in tlsn_core::fixtures - Rust
pub fn handshake_commitment() -> Hash
Expand description

Returns a handshake commitment fixture.

+
\ No newline at end of file diff --git a/tlsn_core/fixtures/fn.handshake_data.html b/tlsn_core/fixtures/fn.handshake_data.html new file mode 100644 index 0000000000..767f76eb46 --- /dev/null +++ b/tlsn_core/fixtures/fn.handshake_data.html @@ -0,0 +1,2 @@ +handshake_data in tlsn_core::fixtures - Rust
pub fn handshake_data() -> HandshakeData
Expand description

Returns a handshake data fixture.

+
\ No newline at end of file diff --git a/tlsn_core/fixtures/fn.handshake_summary.html b/tlsn_core/fixtures/fn.handshake_summary.html new file mode 100644 index 0000000000..bc2c0e93b2 --- /dev/null +++ b/tlsn_core/fixtures/fn.handshake_summary.html @@ -0,0 +1,2 @@ +handshake_summary in tlsn_core::fixtures - Rust
pub fn handshake_summary() -> HandshakeSummary
Expand description

Returns a handshake summary fixture.

+
\ No newline at end of file diff --git a/tlsn_core/fixtures/fn.notary_signing_key.html b/tlsn_core/fixtures/fn.notary_signing_key.html new file mode 100644 index 0000000000..31a93ed96f --- /dev/null +++ b/tlsn_core/fixtures/fn.notary_signing_key.html @@ -0,0 +1,2 @@ +notary_signing_key in tlsn_core::fixtures - Rust
pub fn notary_signing_key() -> SigningKey
Expand description

Returns a notary signing key fixture.

+
\ No newline at end of file diff --git a/tlsn_core/fixtures/fn.server_cert_details.html b/tlsn_core/fixtures/fn.server_cert_details.html new file mode 100644 index 0000000000..8b34ce3363 --- /dev/null +++ b/tlsn_core/fixtures/fn.server_cert_details.html @@ -0,0 +1,2 @@ +server_cert_details in tlsn_core::fixtures - Rust
pub fn server_cert_details() -> ServerCertDetails
Expand description

Returns a server certificate details fixture.

+
\ No newline at end of file diff --git a/tlsn_core/fixtures/fn.server_ephemeral_key.html b/tlsn_core/fixtures/fn.server_ephemeral_key.html new file mode 100644 index 0000000000..1aadeb1c3f --- /dev/null +++ b/tlsn_core/fixtures/fn.server_ephemeral_key.html @@ -0,0 +1,2 @@ +server_ephemeral_key in tlsn_core::fixtures - Rust
pub fn server_ephemeral_key() -> PublicKey
Expand description

Returns a server ephemeral key fixture.

+
\ No newline at end of file diff --git a/tlsn_core/fixtures/fn.server_kx_details.html b/tlsn_core/fixtures/fn.server_kx_details.html new file mode 100644 index 0000000000..fd361d23fb --- /dev/null +++ b/tlsn_core/fixtures/fn.server_kx_details.html @@ -0,0 +1,2 @@ +server_kx_details in tlsn_core::fixtures - Rust
pub fn server_kx_details() -> ServerKxDetails
Expand description

Returns a server key exchange details fixture.

+
\ No newline at end of file diff --git a/tlsn_core/fixtures/fn.server_random.html b/tlsn_core/fixtures/fn.server_random.html new file mode 100644 index 0000000000..da8afecd0d --- /dev/null +++ b/tlsn_core/fixtures/fn.server_random.html @@ -0,0 +1,2 @@ +server_random in tlsn_core::fixtures - Rust
pub fn server_random() -> Random
Expand description

Returns a server random fixture.

+
\ No newline at end of file diff --git a/tlsn_core/fixtures/fn.session_header.html b/tlsn_core/fixtures/fn.session_header.html new file mode 100644 index 0000000000..de57ffa842 --- /dev/null +++ b/tlsn_core/fixtures/fn.session_header.html @@ -0,0 +1,12 @@ +session_header in tlsn_core::fixtures - Rust
pub fn session_header(
+    root: MerkleRoot,
+    sent_len: usize,
+    recv_len: usize
+) -> SessionHeader
Expand description

Returns a session header fixture using the given transcript lengths and merkle root.

+

Arguments

+
    +
  • root - The merkle root of the transcript commitments.
  • +
  • sent_len - The length of the sent transcript.
  • +
  • recv_len - The length of the received transcript.
  • +
+
\ No newline at end of file diff --git a/tlsn_core/fixtures/index.html b/tlsn_core/fixtures/index.html new file mode 100644 index 0000000000..e771a32c35 --- /dev/null +++ b/tlsn_core/fixtures/index.html @@ -0,0 +1,2 @@ +tlsn_core::fixtures - Rust

Module tlsn_core::fixtures

source ·
Expand description

Fixtures for testing

+

Modules

  • Certificate fixtures

Functions

\ No newline at end of file diff --git a/tlsn_core/fixtures/sidebar-items.js b/tlsn_core/fixtures/sidebar-items.js new file mode 100644 index 0000000000..f2553f7d11 --- /dev/null +++ b/tlsn_core/fixtures/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"fn":["client_random","encoder","encoder_seed","encoding_provider","handshake_commitment","handshake_data","handshake_summary","notary_signing_key","server_cert_details","server_ephemeral_key","server_kx_details","server_random","session_header"],"mod":["cert"]}; \ No newline at end of file diff --git a/tlsn_core/index.html b/tlsn_core/index.html index f9b53cd416..929149494c 100644 --- a/tlsn_core/index.html +++ b/tlsn_core/index.html @@ -1,3 +1,3 @@ -tlsn_core - Rust

Crate tlsn_core

source ·
Expand description

TLSNotary core protocol library.

+tlsn_core - Rust

Crate tlsn_core

source ·
Expand description

TLSNotary core protocol library.

This crate contains core types for the TLSNotary protocol, including some functionality for selective disclosure.

-

Re-exports

Modules

  • Types related to transcript commitments.
  • Merkle tree types.
  • Protocol message types.
  • Different types of proofs used in the TLSNotary protocol.
  • TLS session types.
  • Transcript data types.

Enums

\ No newline at end of file +

Re-exports

Modules

  • Types related to transcript commitments.
  • Fixtures for testing
  • Merkle tree types.
  • Protocol message types.
  • Different types of proofs used in the TLSNotary protocol.
  • TLS session types.
  • Transcript data types.

Enums

\ No newline at end of file diff --git a/tlsn_core/merkle/enum.MerkleError.html b/tlsn_core/merkle/enum.MerkleError.html index 881096b160..b5f8262c99 100644 --- a/tlsn_core/merkle/enum.MerkleError.html +++ b/tlsn_core/merkle/enum.MerkleError.html @@ -1,26 +1,24 @@ -MerkleError in tlsn_core::merkle - Rust
pub enum MerkleError {
+MerkleError in tlsn_core::merkle - Rust
pub enum MerkleError {
     MerkleProofVerificationFailed,
     MerkleNoLeavesProvided,
 }
Expand description

Errors that can occur during operations with Merkle tree and Merkle proof

-

Variants§

§

MerkleProofVerificationFailed

§

MerkleNoLeavesProvided

Trait Implementations§

source§

impl Debug for MerkleError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for MerkleError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for MerkleError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl PartialEq<MerkleError> for MerkleError

source§

fn eq(&self, other: &MerkleError) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for MerkleError

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Variants§

§

MerkleProofVerificationFailed

§

MerkleNoLeavesProvided

Trait Implementations§

source§

impl Debug for MerkleError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for MerkleError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for MerkleError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl PartialEq<MerkleError> for MerkleError

source§

fn eq(&self, other: &MerkleError) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for MerkleError

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<E> Provider for Ewhere - E: Error + ?Sized,

source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to -provide by using demand. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_core/merkle/index.html b/tlsn_core/merkle/index.html index 638781ba09..af41933fa3 100644 --- a/tlsn_core/merkle/index.html +++ b/tlsn_core/merkle/index.html @@ -1,4 +1,4 @@ -tlsn_core::merkle - Rust

Module tlsn_core::merkle

source ·
Expand description

Merkle tree types.

+tlsn_core::merkle - Rust

Module tlsn_core::merkle

source ·
Expand description

Merkle tree types.

Usage

During notarization, the Prover generates various commitments to the transcript data, which are subsequently inserted into a MerkleTree. Rather than send each commitment to the Notary individually, the Prover simply sends the diff --git a/tlsn_core/merkle/struct.MerkleProof.html b/tlsn_core/merkle/struct.MerkleProof.html index b746797d37..f5b9d3d41c 100644 --- a/tlsn_core/merkle/struct.MerkleProof.html +++ b/tlsn_core/merkle/struct.MerkleProof.html @@ -1,36 +1,36 @@ -MerkleProof in tlsn_core::merkle - Rust

pub struct MerkleProof { /* private fields */ }
Expand description

A Merkle proof.

-

Implementations§

source§

impl MerkleProof

source

pub fn verify( +MerkleProof in tlsn_core::merkle - Rust
pub struct MerkleProof { /* private fields */ }
Expand description

A Merkle proof.

+

Implementations§

source§

impl MerkleProof

source

pub fn verify( &self, root: &MerkleRoot, - leaf_indices: &[usize], + leaf_indices: &[usize], leaf_hashes: &[Hash] -) -> Result<(), MerkleError>

Checks if indices, hashes and leaves count are valid for the provided root

+) -> Result<(), MerkleError>

Checks if indices, hashes and leaves count are valid for the provided root

Panics
  • If the length of leaf_indices and leaf_hashes does not match.
  • If leaf_indices contains duplicates.
-

Trait Implementations§

source§

impl Clone for MerkleProof

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'de> Deserialize<'de> for MerkleProof

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for MerkleProof

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

source§

impl Clone for MerkleProof

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'de> Deserialize<'de> for MerkleProof

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for MerkleProof

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/merkle/struct.MerkleRoot.html b/tlsn_core/merkle/struct.MerkleRoot.html index c5fbcad0f6..2399d41658 100644 --- a/tlsn_core/merkle/struct.MerkleRoot.html +++ b/tlsn_core/merkle/struct.MerkleRoot.html @@ -1,28 +1,28 @@ -MerkleRoot in tlsn_core::merkle - Rust
pub struct MerkleRoot(_);
Expand description

A Merkle root.

-

Implementations§

source§

impl MerkleRoot

source

pub fn to_inner(self) -> [u8; 32]

Returns the inner byte array

-

Trait Implementations§

source§

impl Clone for MerkleRoot

source§

fn clone(&self) -> MerkleRoot

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MerkleRoot

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MerkleRoot

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<[u8; 32]> for MerkleRoot

source§

fn from(bytes: [u8; 32]) -> Self

Converts to this type from the input type.
source§

impl PartialEq<MerkleRoot> for MerkleRoot

source§

fn eq(&self, other: &MerkleRoot) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for MerkleRoot

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for MerkleRoot

source§

impl Eq for MerkleRoot

source§

impl StructuralEq for MerkleRoot

source§

impl StructuralPartialEq for MerkleRoot

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+MerkleRoot in tlsn_core::merkle - Rust
pub struct MerkleRoot(_);
Expand description

A Merkle root.

+

Implementations§

source§

impl MerkleRoot

source

pub fn to_inner(self) -> [u8; 32]

Returns the inner byte array

+

Trait Implementations§

source§

impl Clone for MerkleRoot

source§

fn clone(&self) -> MerkleRoot

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MerkleRoot

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MerkleRoot

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<[u8; 32]> for MerkleRoot

source§

fn from(bytes: [u8; 32]) -> Self

Converts to this type from the input type.
source§

impl PartialEq<MerkleRoot> for MerkleRoot

source§

fn eq(&self, other: &MerkleRoot) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for MerkleRoot

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for MerkleRoot

source§

impl Eq for MerkleRoot

source§

impl StructuralEq for MerkleRoot

source§

impl StructuralPartialEq for MerkleRoot

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/merkle/struct.MerkleTree.html b/tlsn_core/merkle/struct.MerkleTree.html index 9ba88ef919..3be756064f 100644 --- a/tlsn_core/merkle/struct.MerkleTree.html +++ b/tlsn_core/merkle/struct.MerkleTree.html @@ -1,33 +1,33 @@ -MerkleTree in tlsn_core::merkle - Rust
pub struct MerkleTree(pub MerkleTree_rs_merkle<Sha256>);
Expand description

A Merkle tree.

-

Tuple Fields§

§0: MerkleTree_rs_merkle<Sha256>

Implementations§

source§

impl MerkleTree

source

pub fn from_leaves(leaves: &[Hash]) -> Result<Self, MerkleError>

Create a new Merkle tree from the given leaves

-
source

pub fn proof(&self, indices: &[usize]) -> MerkleProof

Creates an inclusion proof for the given indices

+MerkleTree in tlsn_core::merkle - Rust
pub struct MerkleTree(pub MerkleTree<Sha256>);
Expand description

A Merkle tree.

+

Tuple Fields§

§0: MerkleTree<Sha256>

Implementations§

source§

impl MerkleTree

source

pub fn from_leaves(leaves: &[Hash]) -> Result<Self, MerkleError>

Create a new Merkle tree from the given leaves

+
source

pub fn proof(&self, indices: &[usize]) -> MerkleProof

Creates an inclusion proof for the given indices

Panics
  • if indices is not sorted.
  • if indices contains duplicates
-
source

pub fn root(&self) -> MerkleRoot

Returns the Merkle root for this MerkleTree

-

Trait Implementations§

source§

impl Clone for MerkleTree

source§

fn clone(&self) -> MerkleTree

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for MerkleTree

source§

fn default() -> MerkleTree

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for MerkleTree

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for MerkleTree

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source

pub fn root(&self) -> MerkleRoot

Returns the Merkle root for this MerkleTree

+

Trait Implementations§

source§

impl Clone for MerkleTree

source§

fn clone(&self) -> MerkleTree

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for MerkleTree

source§

fn default() -> MerkleTree

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for MerkleTree

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for MerkleTree

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/msg/enum.TlsnMessage.html b/tlsn_core/msg/enum.TlsnMessage.html index d905ef14e0..3ebb556ce3 100644 --- a/tlsn_core/msg/enum.TlsnMessage.html +++ b/tlsn_core/msg/enum.TlsnMessage.html @@ -1,4 +1,4 @@ -TlsnMessage in tlsn_core::msg - Rust
pub enum TlsnMessage {
+TlsnMessage in tlsn_core::msg - Rust
pub enum TlsnMessage {
     TranscriptCommitmentRoot(MerkleRoot),
     SignedSessionHeader(SignedSessionHeader),
     SessionHeader(SessionHeader),
@@ -6,26 +6,26 @@
 

Variants§

§

TranscriptCommitmentRoot(MerkleRoot)

A Merkle root for the tree of commitments to the transcript.

§

SignedSessionHeader(SignedSessionHeader)

A session header signed by a notary.

§

SessionHeader(SessionHeader)

A session header.

-

Trait Implementations§

source§

impl Debug for TlsnMessage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TlsnMessage

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for TlsnMessage

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

source§

impl Debug for TlsnMessage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TlsnMessage

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for TlsnMessage

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/msg/index.html b/tlsn_core/msg/index.html index 02006be503..77b3dae990 100644 --- a/tlsn_core/msg/index.html +++ b/tlsn_core/msg/index.html @@ -1,2 +1,2 @@ -tlsn_core::msg - Rust

Module tlsn_core::msg

source ·
Expand description

Protocol message types.

+tlsn_core::msg - Rust

Module tlsn_core::msg

source ·
Expand description

Protocol message types.

Structs

Enums

\ No newline at end of file diff --git a/tlsn_core/msg/struct.SignedSessionHeader.html b/tlsn_core/msg/struct.SignedSessionHeader.html index 0fede65f2f..382ae94f23 100644 --- a/tlsn_core/msg/struct.SignedSessionHeader.html +++ b/tlsn_core/msg/struct.SignedSessionHeader.html @@ -1,29 +1,29 @@ -SignedSessionHeader in tlsn_core::msg - Rust
pub struct SignedSessionHeader {
+SignedSessionHeader in tlsn_core::msg - Rust
pub struct SignedSessionHeader {
     pub header: SessionHeader,
     pub signature: Signature,
 }
Expand description

A signed session header.

Fields§

§header: SessionHeader

The session header

§signature: Signature

The notary’s signature

-

Trait Implementations§

source§

impl Debug for SignedSessionHeader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SignedSessionHeader

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SignedSessionHeader

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

source§

impl Debug for SignedSessionHeader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SignedSessionHeader

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SignedSessionHeader

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/proof/enum.SubstringsProofBuilderError.html b/tlsn_core/proof/enum.SubstringsProofBuilderError.html index 902e28f09c..5b648f74a7 100644 --- a/tlsn_core/proof/enum.SubstringsProofBuilderError.html +++ b/tlsn_core/proof/enum.SubstringsProofBuilderError.html @@ -1,4 +1,4 @@ -SubstringsProofBuilderError in tlsn_core::proof - Rust
#[non_exhaustive]
pub enum SubstringsProofBuilderError { +SubstringsProofBuilderError in tlsn_core::proof - Rust
#[non_exhaustive]
pub enum SubstringsProofBuilderError { InvalidCommitmentId(CommitmentId), InvalidCommitmentType(CommitmentId), DuplicateCommitmentId(CommitmentId), @@ -6,23 +6,21 @@

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

InvalidCommitmentId(CommitmentId)

Invalid commitment id.

§

InvalidCommitmentType(CommitmentId)

Invalid commitment type.

§

DuplicateCommitmentId(CommitmentId)

Attempted to add a commitment with a duplicate id.

-

Trait Implementations§

source§

impl Debug for SubstringsProofBuilderError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for SubstringsProofBuilderError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for SubstringsProofBuilderError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Debug for SubstringsProofBuilderError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for SubstringsProofBuilderError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for SubstringsProofBuilderError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<E> Provider for Ewhere - E: Error + ?Sized,

source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to -provide by using demand. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_core/proof/enum.SubstringsProofError.html b/tlsn_core/proof/enum.SubstringsProofError.html index 6532257fd5..60248cc7e0 100644 --- a/tlsn_core/proof/enum.SubstringsProofError.html +++ b/tlsn_core/proof/enum.SubstringsProofError.html @@ -1,32 +1,30 @@ -SubstringsProofError in tlsn_core::proof - Rust
#[non_exhaustive]
pub enum SubstringsProofError { - MaxDataExceeded(usize), +SubstringsProofError in tlsn_core::proof - Rust
#[non_exhaustive]
pub enum SubstringsProofError { + MaxDataExceeded(usize), DuplicateData, - RangeOutOfBounds(CommitmentId, usize), + RangeOutOfBounds(CommitmentId, usize), InvalidOpening(CommitmentId), - InvalidInclusionProof(String), + InvalidInclusionProof(String), }
Expand description

An error relating to SubstringsProof

-

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

MaxDataExceeded(usize)

The proof contains more data than the maximum allowed.

+

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

MaxDataExceeded(usize)

The proof contains more data than the maximum allowed.

§

DuplicateData

The proof contains duplicate transcript data.

-
§

RangeOutOfBounds(CommitmentId, usize)

Range of the opening is out of bounds.

+
§

RangeOutOfBounds(CommitmentId, usize)

Range of the opening is out of bounds.

§

InvalidOpening(CommitmentId)

The proof contains an invalid commitment opening.

-
§

InvalidInclusionProof(String)

The proof contains an invalid inclusion proof.

-

Trait Implementations§

source§

impl Debug for SubstringsProofError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for SubstringsProofError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for SubstringsProofError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+
§

InvalidInclusionProof(String)

The proof contains an invalid inclusion proof.

+

Trait Implementations§

source§

impl Debug for SubstringsProofError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for SubstringsProofError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for SubstringsProofError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<E> Provider for Ewhere - E: Error + ?Sized,

source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to -provide by using demand. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_core/proof/index.html b/tlsn_core/proof/index.html index 0e22409ea4..4bb99e3882 100644 --- a/tlsn_core/proof/index.html +++ b/tlsn_core/proof/index.html @@ -1,3 +1,3 @@ -tlsn_core::proof - Rust

Module tlsn_core::proof

source ·
Expand description

Different types of proofs used in the TLSNotary protocol.

+tlsn_core::proof - Rust

Module tlsn_core::proof

source ·
Expand description

Different types of proofs used in the TLSNotary protocol.

Structs

  • Proof of the TLS handshake, server identity, and commitments to the the transcript.
  • A substring proof containing the commitment openings and a proof that the corresponding commitments are present in the merkle tree.
  • A builder for SubstringsProof
  • Proof that a transcript of communications took place between a Prover and Server.

Enums

\ No newline at end of file diff --git a/tlsn_core/proof/struct.SessionProof.html b/tlsn_core/proof/struct.SessionProof.html index 2384f9a40f..3cbb953dd7 100644 --- a/tlsn_core/proof/struct.SessionProof.html +++ b/tlsn_core/proof/struct.SessionProof.html @@ -1,51 +1,51 @@ -SessionProof in tlsn_core::proof - Rust
pub struct SessionProof {
+SessionProof in tlsn_core::proof - Rust
pub struct SessionProof {
     pub header: SessionHeader,
     pub server_name: ServerName,
-    pub signature: Option<Signature>,
+    pub signature: Option<Signature>,
     pub handshake_data_decommitment: Decommitment<HandshakeData>,
 }
Expand description

Proof of the TLS handshake, server identity, and commitments to the the transcript.

Fields§

§header: SessionHeader

The session header

§server_name: ServerName

The server name.

-
§signature: Option<Signature>

Signature for the session header, if the notary signed it

+
§signature: Option<Signature>

Signature for the session header, if the notary signed it

§handshake_data_decommitment: Decommitment<HandshakeData>

Decommitment to the TLS handshake and server identity.

-

Implementations§

source§

impl SessionProof

source

pub fn verify( +

Implementations§

source§

impl SessionProof

source

pub fn verify( &self, - notary_public_key: impl Into<NotaryPublicKey>, + notary_public_key: impl Into<NotaryPublicKey>, cert_verifier: &impl ServerCertVerifier -) -> Result<(), SessionProofError>

Verify the session proof, returning the server’s name.

+) -> Result<(), SessionProofError>

Verify the session proof, returning the server’s name.

Arguments
  • notary_public_key - The public key of the notary.
  • cert_verifier - The certificate verifier.
-
source

pub fn verify_with_default_cert_verifier( +

source

pub fn verify_with_default_cert_verifier( &self, - notary_public_key: impl Into<NotaryPublicKey> -) -> Result<(), SessionProofError>

Verify the session proof using trust anchors from the webpki-roots crate.

+ notary_public_key: impl Into<NotaryPublicKey> +) -> Result<(), SessionProofError>

Verify the session proof using trust anchors from the webpki-roots crate.

Arguments
  • notary_public_key - The public key of the notary.
-

Trait Implementations§

source§

impl Debug for SessionProof

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SessionProof

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SessionProof

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

source§

impl Debug for SessionProof

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SessionProof

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SessionProof

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/proof/struct.SubstringsProof.html b/tlsn_core/proof/struct.SubstringsProof.html index 636c2b39f1..6e012fdb3b 100644 --- a/tlsn_core/proof/struct.SubstringsProof.html +++ b/tlsn_core/proof/struct.SubstringsProof.html @@ -1,33 +1,33 @@ -SubstringsProof in tlsn_core::proof - Rust
pub struct SubstringsProof { /* private fields */ }
Expand description

A substring proof containing the commitment openings and a proof +SubstringsProof in tlsn_core::proof - Rust

pub struct SubstringsProof { /* private fields */ }
Expand description

A substring proof containing the commitment openings and a proof that the corresponding commitments are present in the merkle tree.

-

Implementations§

source§

impl SubstringsProof

source

pub fn verify( +

Implementations§

source§

impl SubstringsProof

source

pub fn verify( self, header: &SessionHeader -) -> Result<(RedactedTranscript, RedactedTranscript), SubstringsProofError>

Verifies this proof and, if successful, returns the redacted sent and received transcripts.

+) -> Result<(RedactedTranscript, RedactedTranscript), SubstringsProofError>

Verifies this proof and, if successful, returns the redacted sent and received transcripts.

Arguments
  • header - The session header.
-

Trait Implementations§

source§

impl Debug for SubstringsProof

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SubstringsProof

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SubstringsProof

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

source§

impl Debug for SubstringsProof

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SubstringsProof

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SubstringsProof

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/proof/struct.SubstringsProofBuilder.html b/tlsn_core/proof/struct.SubstringsProofBuilder.html index 3824e431eb..e1f2ab775f 100644 --- a/tlsn_core/proof/struct.SubstringsProofBuilder.html +++ b/tlsn_core/proof/struct.SubstringsProofBuilder.html @@ -1,23 +1,23 @@ -SubstringsProofBuilder in tlsn_core::proof - Rust
pub struct SubstringsProofBuilder<'a> { /* private fields */ }
Expand description

A builder for SubstringsProof

-

Implementations§

source§

impl<'a> SubstringsProofBuilder<'a>

source

pub fn reveal( +SubstringsProofBuilder in tlsn_core::proof - Rust
pub struct SubstringsProofBuilder<'a> { /* private fields */ }
Expand description

A builder for SubstringsProof

+

Implementations§

source§

impl<'a> SubstringsProofBuilder<'a>

source

pub fn reveal( &mut self, id: CommitmentId -) -> Result<&mut Self, SubstringsProofBuilderError>

Reveals data corresponding to the provided commitment id

-
source

pub fn build(self) -> Result<SubstringsProof, SubstringsProofBuilderError>

Builds the SubstringsProof

-

Trait Implementations§

source§

impl Debug for SubstringsProofBuilder<'_>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+) -> Result<&mut Self, SubstringsProofBuilderError>

Reveals data corresponding to the provided commitment id

+
source

pub fn build(self) -> Result<SubstringsProof, SubstringsProofBuilderError>

Builds the SubstringsProof

+

Trait Implementations§

source§

impl Debug for SubstringsProofBuilder<'_>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_core/proof/struct.TlsProof.html b/tlsn_core/proof/struct.TlsProof.html index e22d919ea7..865258b252 100644 --- a/tlsn_core/proof/struct.TlsProof.html +++ b/tlsn_core/proof/struct.TlsProof.html @@ -1,29 +1,29 @@ -TlsProof in tlsn_core::proof - Rust

Struct tlsn_core::proof::TlsProof

source ·
pub struct TlsProof {
+TlsProof in tlsn_core::proof - Rust

Struct tlsn_core::proof::TlsProof

source ·
pub struct TlsProof {
     pub session: SessionProof,
     pub substrings: SubstringsProof,
 }
Expand description

Proof that a transcript of communications took place between a Prover and Server.

Fields§

§session: SessionProof

Proof of the TLS handshake, server identity, and commitments to the transcript.

§substrings: SubstringsProof

Proof regarding the contents of the transcript.

-

Trait Implementations§

source§

impl Debug for TlsProof

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TlsProof

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for TlsProof

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

source§

impl Debug for TlsProof

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TlsProof

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for TlsProof

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/session/enum.HandshakeVerifyError.html b/tlsn_core/session/enum.HandshakeVerifyError.html index 7a72feee74..b9831bd640 100644 --- a/tlsn_core/session/enum.HandshakeVerifyError.html +++ b/tlsn_core/session/enum.HandshakeVerifyError.html @@ -1,4 +1,4 @@ -HandshakeVerifyError in tlsn_core::session - Rust
#[non_exhaustive]
pub enum HandshakeVerifyError { +HandshakeVerifyError in tlsn_core::session - Rust
#[non_exhaustive]
pub enum HandshakeVerifyError { Commitment, KxParams, ServerEphemKey, @@ -6,23 +6,21 @@

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Commitment

The handshake data does not match the commitment

§

KxParams

The key exchange parameters are invalid

§

ServerEphemKey

The server ephemeral key does not match

-

Trait Implementations§

source§

impl Debug for HandshakeVerifyError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for HandshakeVerifyError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for HandshakeVerifyError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Debug for HandshakeVerifyError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for HandshakeVerifyError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for HandshakeVerifyError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<E> Provider for Ewhere - E: Error + ?Sized,

source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to -provide by using demand. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_core/session/enum.SessionHeaderVerifyError.html b/tlsn_core/session/enum.SessionHeaderVerifyError.html index 28bc463c01..05fb1621ae 100644 --- a/tlsn_core/session/enum.SessionHeaderVerifyError.html +++ b/tlsn_core/session/enum.SessionHeaderVerifyError.html @@ -1,24 +1,22 @@ -SessionHeaderVerifyError in tlsn_core::session - Rust
#[non_exhaustive]
pub enum SessionHeaderVerifyError { +SessionHeaderVerifyError in tlsn_core::session - Rust
#[non_exhaustive]
pub enum SessionHeaderVerifyError { InconsistentHeader, }
Expand description

An error that can occur while verifying a session header

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

InconsistentHeader

The session header is not consistent with the provided data

-

Trait Implementations§

source§

impl Debug for SessionHeaderVerifyError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for SessionHeaderVerifyError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for SessionHeaderVerifyError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Debug for SessionHeaderVerifyError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for SessionHeaderVerifyError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for SessionHeaderVerifyError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<E> Provider for Ewhere - E: Error + ?Sized,

source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to -provide by using demand. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_core/session/index.html b/tlsn_core/session/index.html index 89d45e9408..eb89942a60 100644 --- a/tlsn_core/session/index.html +++ b/tlsn_core/session/index.html @@ -1,2 +1,2 @@ -tlsn_core::session - Rust

Module tlsn_core::session

source ·
Expand description

TLS session types.

+tlsn_core::session - Rust

Module tlsn_core::session

source ·
Expand description

TLS session types.

Structs

Enums

\ No newline at end of file diff --git a/tlsn_core/session/struct.HandshakeSummary.html b/tlsn_core/session/struct.HandshakeSummary.html index 1f5b487ea3..b2813a9268 100644 --- a/tlsn_core/session/struct.HandshakeSummary.html +++ b/tlsn_core/session/struct.HandshakeSummary.html @@ -1,39 +1,39 @@ -HandshakeSummary in tlsn_core::session - Rust
pub struct HandshakeSummary { /* private fields */ }
Expand description

Handshake summary is part of the session header signed by the Notary

-

Implementations§

source§

impl HandshakeSummary

source

pub fn new( - time: u64, +HandshakeSummary in tlsn_core::session - Rust
pub struct HandshakeSummary { /* private fields */ }
Expand description

Handshake summary is part of the session header signed by the Notary

+

Implementations§

source§

impl HandshakeSummary

source

pub fn new( + time: u64, ephemeral_ec_pubkey: PublicKey, handshake_commitment: Hash ) -> Self

Creates a new HandshakeSummary

-
source

pub fn time(&self) -> u64

Time of the TLS session, in seconds since the UNIX epoch.

+
source

pub fn time(&self) -> u64

Time of the TLS session, in seconds since the UNIX epoch.

Note

This time is not necessarily exactly aligned with the TLS handshake.

-
source

pub fn server_public_key(&self) -> &PublicKey

Returns the server ephemeral public key

-
source

pub fn handshake_commitment(&self) -> &Hash

Returns commitment to the handshake data

-
source

pub fn verify( +

source

pub fn server_public_key(&self) -> &PublicKey

Returns the server ephemeral public key

+
source

pub fn handshake_commitment(&self) -> &Hash

Returns commitment to the handshake data

+
source

pub fn verify( &self, data: &Decommitment<HandshakeData> -) -> Result<(), HandshakeVerifyError>

Verifies that the provided handshake data matches this handshake summary

-

Trait Implementations§

source§

impl Clone for HandshakeSummary

source§

fn clone(&self) -> HandshakeSummary

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for HandshakeSummary

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for HandshakeSummary

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for HandshakeSummary

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Result<(), HandshakeVerifyError>

Verifies that the provided handshake data matches this handshake summary

+

Trait Implementations§

source§

impl Clone for HandshakeSummary

source§

fn clone(&self) -> HandshakeSummary

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for HandshakeSummary

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for HandshakeSummary

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for HandshakeSummary

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/session/struct.NotarizedSession.html b/tlsn_core/session/struct.NotarizedSession.html index 4b3f6c4d28..abf7418b64 100644 --- a/tlsn_core/session/struct.NotarizedSession.html +++ b/tlsn_core/session/struct.NotarizedSession.html @@ -1,33 +1,33 @@ -NotarizedSession in tlsn_core::session - Rust
pub struct NotarizedSession { /* private fields */ }
Expand description

A validated notarized session stored by the Prover

-

Implementations§

source§

impl NotarizedSession

source

pub fn new( +NotarizedSession in tlsn_core::session - Rust
pub struct NotarizedSession { /* private fields */ }
Expand description

A validated notarized session stored by the Prover

+

Implementations§

source§

impl NotarizedSession

source

pub fn new( header: SessionHeader, - signature: Option<Signature>, + signature: Option<Signature>, data: SessionData ) -> Self

Create a new notarized session.

-
source

pub fn session_proof(&self) -> SessionProof

Returns a proof of the TLS session

-
source

pub fn header(&self) -> &SessionHeader

Returns the SessionHeader

-
source

pub fn signature(&self) -> &Option<Signature>

Returns the signature for the session header, if the notary signed it

-
source

pub fn data(&self) -> &SessionData

Returns the SessionData

-

Trait Implementations§

source§

impl<'de> Deserialize<'de> for NotarizedSession

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for NotarizedSession

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source

pub fn session_proof(&self) -> SessionProof

Returns a proof of the TLS session

+
source

pub fn header(&self) -> &SessionHeader

Returns the SessionHeader

+
source

pub fn signature(&self) -> &Option<Signature>

Returns the signature for the session header, if the notary signed it

+
source

pub fn data(&self) -> &SessionData

Returns the SessionData

+

Trait Implementations§

source§

impl<'de> Deserialize<'de> for NotarizedSession

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for NotarizedSession

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/session/struct.SessionData.html b/tlsn_core/session/struct.SessionData.html index 3ae3caf915..35fda8321e 100644 --- a/tlsn_core/session/struct.SessionData.html +++ b/tlsn_core/session/struct.SessionData.html @@ -1,42 +1,42 @@ -SessionData in tlsn_core::session - Rust
pub struct SessionData { /* private fields */ }
Expand description

Notarized session data.

+SessionData in tlsn_core::session - Rust
pub struct SessionData { /* private fields */ }
Expand description

Notarized session data.

This contains all the private data held by the Prover after notarization.

Selective disclosure

The Prover can selectively disclose parts of the transcript to a Verifier using a SubstringsProof.

See build_substrings_proof.

-

Implementations§

source§

impl SessionData

source

pub fn new( +

Implementations§

source§

impl SessionData

source

pub fn new( server_name: ServerName, handshake_data_decommitment: Decommitment<HandshakeData>, transcript_tx: Transcript, transcript_rx: Transcript, commitments: TranscriptCommitments ) -> Self

Creates new session data.

-
source

pub fn server_name(&self) -> &ServerName

Returns the server name.

-
source

pub fn handshake_data_decommitment(&self) -> &Decommitment<HandshakeData>

Returns the decommitment to handshake data

-
source

pub fn sent_transcript(&self) -> &Transcript

Returns the transcript for data sent to the server

-
source

pub fn recv_transcript(&self) -> &Transcript

Returns the transcript for data received from the server

-
source

pub fn commitments(&self) -> &TranscriptCommitments

Returns the transcript commitments.

-
source

pub fn build_substrings_proof(&self) -> SubstringsProofBuilder<'_>

Returns a substrings proof builder.

-

Trait Implementations§

source§

impl Debug for SessionData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SessionData

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SessionData

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source

pub fn server_name(&self) -> &ServerName

Returns the server name.

+
source

pub fn handshake_data_decommitment(&self) -> &Decommitment<HandshakeData>

Returns the decommitment to handshake data

+
source

pub fn sent_transcript(&self) -> &Transcript

Returns the transcript for data sent to the server

+
source

pub fn recv_transcript(&self) -> &Transcript

Returns the transcript for data received from the server

+
source

pub fn commitments(&self) -> &TranscriptCommitments

Returns the transcript commitments.

+
source

pub fn build_substrings_proof(&self) -> SubstringsProofBuilder<'_>

Returns a substrings proof builder.

+

Trait Implementations§

source§

impl Debug for SessionData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SessionData

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SessionData

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/session/struct.SessionHeader.html b/tlsn_core/session/struct.SessionHeader.html index 14b7291578..02cec47400 100644 --- a/tlsn_core/session/struct.SessionHeader.html +++ b/tlsn_core/session/struct.SessionHeader.html @@ -1,49 +1,49 @@ -SessionHeader in tlsn_core::session - Rust
pub struct SessionHeader { /* private fields */ }
Expand description

An authentic session header from the Notary

-

Implementations§

source§

impl SessionHeader

source

pub fn new( - encoder_seed: [u8; 32], +SessionHeader in tlsn_core::session - Rust
pub struct SessionHeader { /* private fields */ }
Expand description

An authentic session header from the Notary

+

Implementations§

source§

impl SessionHeader

source

pub fn new( + encoder_seed: [u8; 32], merkle_root: MerkleRoot, - sent_len: usize, - recv_len: usize, + sent_len: usize, + recv_len: usize, handshake_summary: HandshakeSummary ) -> Self

Create a new instance of SessionHeader

-
source

pub fn verify( +

source

pub fn verify( &self, - time: u64, + time: u64, server_public_key: &PublicKey, root: &MerkleRoot, - encoder_seed: &[u8; 32], + encoder_seed: &[u8; 32], handshake_data_decommitment: &Decommitment<HandshakeData> -) -> Result<(), SessionHeaderVerifyError>

Verify the data in the header is consistent with the Prover’s view

-
source

pub fn encoder(&self) -> ChaChaEncoder

Create a new [ChaChaEncoder] from encoder_seed

-
source

pub fn encoder_seed(&self) -> &[u8; 32]

Returns the seed used to generate plaintext encodings

-
source

pub fn merkle_root(&self) -> &MerkleRoot

Returns the merkle_root of the merkle tree of the prover’s commitments

-
source

pub fn handshake_summary(&self) -> &HandshakeSummary

Returns the HandshakeSummary of the TLS session between prover and server

-
source

pub fn time(&self) -> u64

Time of the TLS session, in seconds since the UNIX epoch.

+) -> Result<(), SessionHeaderVerifyError>

Verify the data in the header is consistent with the Prover’s view

+
source

pub fn encoder(&self) -> ChaChaEncoder

Create a new [ChaChaEncoder] from encoder_seed

+
source

pub fn encoder_seed(&self) -> &[u8; 32]

Returns the seed used to generate plaintext encodings

+
source

pub fn merkle_root(&self) -> &MerkleRoot

Returns the merkle_root of the merkle tree of the prover’s commitments

+
source

pub fn handshake_summary(&self) -> &HandshakeSummary

Returns the HandshakeSummary of the TLS session between prover and server

+
source

pub fn time(&self) -> u64

Time of the TLS session, in seconds since the UNIX epoch.

Note

This time is not necessarily exactly aligned with the TLS handshake.

-
source

pub fn sent_len(&self) -> usize

Returns the number of bytes sent to the server

-
source

pub fn recv_len(&self) -> usize

Returns the number of bytes received by the server

-

Trait Implementations§

source§

impl Clone for SessionHeader

source§

fn clone(&self) -> SessionHeader

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SessionHeader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SessionHeader

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SessionHeader

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source

pub fn sent_len(&self) -> usize

Returns the number of bytes sent to the server

+
source

pub fn recv_len(&self) -> usize

Returns the number of bytes received by the server

+

Trait Implementations§

source§

impl Clone for SessionHeader

source§

fn clone(&self) -> SessionHeader

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SessionHeader

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SessionHeader

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for SessionHeader

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/sidebar-items.js b/tlsn_core/sidebar-items.js index 763a9fb548..b895d3a188 100644 --- a/tlsn_core/sidebar-items.js +++ b/tlsn_core/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"enum":["NotaryPublicKey","ServerName","Signature"],"mod":["commitment","merkle","msg","proof","session","transcript"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"enum":["NotaryPublicKey","ServerName","Signature"],"mod":["commitment","fixtures","merkle","msg","proof","session","transcript"]}; \ No newline at end of file diff --git a/tlsn_core/transcript/enum.Direction.html b/tlsn_core/transcript/enum.Direction.html index caf3a3f506..d0e344ef1e 100644 --- a/tlsn_core/transcript/enum.Direction.html +++ b/tlsn_core/transcript/enum.Direction.html @@ -1,35 +1,35 @@ -Direction in tlsn_core::transcript - Rust
pub enum Direction {
+Direction in tlsn_core::transcript - Rust
pub enum Direction {
     Sent,
     Received,
 }
Expand description

The direction of data communicated over a TLS connection.

This is used to differentiate between data sent to the Server, and data received from the Server.

Variants§

§

Sent

Sent from the prover to the server

§

Received

Received by the prover from the server

-

Trait Implementations§

source§

impl Clone for Direction

source§

fn clone(&self) -> Direction

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Direction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Direction

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for Direction

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<Direction> for Direction

source§

fn eq(&self, other: &Direction) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Direction

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Direction

source§

impl Eq for Direction

source§

impl StructuralEq for Direction

source§

impl StructuralPartialEq for Direction

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

source§

impl Clone for Direction

source§

fn clone(&self) -> Direction

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Direction

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Direction

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for Direction

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<Direction> for Direction

source§

fn eq(&self, other: &Direction) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Direction

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for Direction

source§

impl Eq for Direction

source§

impl StructuralEq for Direction

source§

impl StructuralPartialEq for Direction

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/transcript/fn.get_value_ids.html b/tlsn_core/transcript/fn.get_value_ids.html index 80ea715e82..88619991d0 100644 --- a/tlsn_core/transcript/fn.get_value_ids.html +++ b/tlsn_core/transcript/fn.get_value_ids.html @@ -1,5 +1,5 @@ -get_value_ids in tlsn_core::transcript - Rust
pub fn get_value_ids(
-    ranges: &RangeSet<usize>,
+get_value_ids in tlsn_core::transcript - Rust
pub fn get_value_ids(
+    ranges: &RangeSet<usize>,
     direction: Direction
-) -> impl Iterator<Item = String> + '_
Expand description

Returns the value ID for each byte in the provided range set

+) -> impl Iterator<Item = String> + '_
Expand description

Returns the value ID for each byte in the provided range set

\ No newline at end of file diff --git a/tlsn_core/transcript/index.html b/tlsn_core/transcript/index.html index 087da6e9dd..ae5e8a7d9d 100644 --- a/tlsn_core/transcript/index.html +++ b/tlsn_core/transcript/index.html @@ -1,2 +1,2 @@ -tlsn_core::transcript - Rust

Module tlsn_core::transcript

source ·
Expand description

Transcript data types.

+tlsn_core::transcript - Rust

Module tlsn_core::transcript

source ·
Expand description

Transcript data types.

Structs

Enums

  • The direction of data communicated over a TLS connection.

Functions

  • Returns the value ID for each byte in the provided range set
\ No newline at end of file diff --git a/tlsn_core/transcript/struct.RedactedTranscript.html b/tlsn_core/transcript/struct.RedactedTranscript.html index a98c0cb589..3cf98c13d2 100644 --- a/tlsn_core/transcript/struct.RedactedTranscript.html +++ b/tlsn_core/transcript/struct.RedactedTranscript.html @@ -1,36 +1,36 @@ -RedactedTranscript in tlsn_core::transcript - Rust
pub struct RedactedTranscript { /* private fields */ }
Expand description

A transcript which may have some data redacted.

-

Implementations§

source§

impl RedactedTranscript

source

pub fn new(len: usize, slices: Vec<TranscriptSlice>) -> Self

Creates a new redacted transcript with the given length.

+RedactedTranscript in tlsn_core::transcript - Rust
pub struct RedactedTranscript { /* private fields */ }
Expand description

A transcript which may have some data redacted.

+

Implementations§

source§

impl RedactedTranscript

source

pub fn new(len: usize, slices: Vec<TranscriptSlice>) -> Self

Creates a new redacted transcript with the given length.

All bytes in the transcript are initialized to 0.

Arguments
  • len - The length of the transcript
  • slices - A list of slices of data which have been authenticated
-
source

pub fn data(&self) -> &[u8]

Returns a reference to the data.

+
source

pub fn data(&self) -> &[u8]

Returns a reference to the data.

Warning

Not all of the data in the transcript may have been authenticated. See authed for a set of ranges which have been.

-
source

pub fn authed(&self) -> &RangeSet<usize>

Returns all the ranges of data which have been authenticated.

-
source

pub fn redacted(&self) -> &RangeSet<usize>

Returns all the ranges of data which have been redacted.

-
source

pub fn set_redacted(&mut self, value: u8)

Sets all bytes in the transcript which were redacted.

+
source

pub fn authed(&self) -> &RangeSet<usize>

Returns all the ranges of data which have been authenticated.

+
source

pub fn redacted(&self) -> &RangeSet<usize>

Returns all the ranges of data which have been redacted.

+
source

pub fn set_redacted(&mut self, value: u8)

Sets all bytes in the transcript which were redacted.

Arguments
  • value - The value to set the redacted bytes to
-

Trait Implementations§

source§

impl Debug for RedactedTranscript

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Debug for RedactedTranscript

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
\ No newline at end of file +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_core/transcript/struct.Transcript.html b/tlsn_core/transcript/struct.Transcript.html index e1edbd20e7..78b9f2f904 100644 --- a/tlsn_core/transcript/struct.Transcript.html +++ b/tlsn_core/transcript/struct.Transcript.html @@ -1,27 +1,27 @@ -Transcript in tlsn_core::transcript - Rust
pub struct Transcript { /* private fields */ }
Expand description

A transcript contains a subset of bytes from a TLS session

-

Implementations§

source§

impl Transcript

source

pub fn new(data: impl Into<Bytes>) -> Self

Creates a new transcript with the given ID and data

-
source

pub fn data(&self) -> &Bytes

Returns the actual traffic data of this transcript

-

Trait Implementations§

source§

impl Clone for Transcript

source§

fn clone(&self) -> Transcript

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Transcript

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Transcript

source§

fn default() -> Transcript

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Transcript

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for Transcript

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere - T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+Transcript in tlsn_core::transcript - Rust
pub struct Transcript { /* private fields */ }
Expand description

A transcript contains a subset of bytes from a TLS session

+

Implementations§

source§

impl Transcript

source

pub fn new(data: impl Into<Bytes>) -> Self

Creates a new transcript with the given ID and data

+
source

pub fn data(&self) -> &Bytes

Returns the actual traffic data of this transcript

+

Trait Implementations§

source§

impl Clone for Transcript

source§

fn clone(&self) -> Transcript

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Transcript

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Transcript

source§

fn default() -> Transcript

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Transcript

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for Transcript

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CanonicalSerialize for Twhere + T: Serialize,

§

fn to_bytes(&self) -> Vec<u8, Global>

Serializes self into a byte vector
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HashCommit for Twhere - T: Serialize,

§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ T: Serialize,
§

fn hash_commit(self) -> (Decommitment<Self>, Hash)

Creates a hash commitment to self
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere - T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere +From<T> for U chooses to do.

+

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SecureHash for Twhere + T: Serialize,

§

fn hash(&self) -> Hash

Creates a hash of self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,

\ No newline at end of file diff --git a/tlsn_core/transcript/struct.TranscriptSlice.html b/tlsn_core/transcript/struct.TranscriptSlice.html index 0060a2ddec..6328da4dea 100644 --- a/tlsn_core/transcript/struct.TranscriptSlice.html +++ b/tlsn_core/transcript/struct.TranscriptSlice.html @@ -1,24 +1,24 @@ -TranscriptSlice in tlsn_core::transcript - Rust
pub struct TranscriptSlice { /* private fields */ }
Expand description

Slice of a transcript.

-

Implementations§

source§

impl TranscriptSlice

source

pub fn range(&self) -> Range<usize>

Returns the range of bytes this slice refers to in the transcript

-
source

pub fn data(&self) -> &[u8]

Returns the bytes of this slice

-
source

pub fn into_bytes(self) -> Vec<u8>

Returns the bytes of this slice

-

Trait Implementations§

source§

impl Clone for TranscriptSlice

source§

fn clone(&self) -> TranscriptSlice

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TranscriptSlice

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TranscriptSlice

source§

fn default() -> TranscriptSlice

Returns the “default value” for a type. Read more
source§

impl PartialEq<TranscriptSlice> for TranscriptSlice

source§

fn eq(&self, other: &TranscriptSlice) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for TranscriptSlice

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+TranscriptSlice in tlsn_core::transcript - Rust
pub struct TranscriptSlice { /* private fields */ }
Expand description

Slice of a transcript.

+

Implementations§

source§

impl TranscriptSlice

source

pub fn range(&self) -> Range<usize>

Returns the range of bytes this slice refers to in the transcript

+
source

pub fn data(&self) -> &[u8]

Returns the bytes of this slice

+
source

pub fn into_bytes(self) -> Vec<u8>

Returns the bytes of this slice

+

Trait Implementations§

source§

impl Clone for TranscriptSlice

source§

fn clone(&self) -> TranscriptSlice

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TranscriptSlice

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TranscriptSlice

source§

fn default() -> TranscriptSlice

Returns the “default value” for a type. Read more
source§

impl PartialEq<TranscriptSlice> for TranscriptSlice

source§

fn eq(&self, other: &TranscriptSlice) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for TranscriptSlice

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -WithDispatch wrapper. Read more
\ No newline at end of file +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_notary/all.html b/tlsn_notary/all.html index 4fadc0a00c..33839c8ce9 100644 --- a/tlsn_notary/all.html +++ b/tlsn_notary/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/tlsn_notary/enum.NotaryConfigBuilderError.html b/tlsn_notary/enum.NotaryConfigBuilderError.html index dc5d25648d..1e57f6bab9 100644 --- a/tlsn_notary/enum.NotaryConfigBuilderError.html +++ b/tlsn_notary/enum.NotaryConfigBuilderError.html @@ -1,26 +1,24 @@ -NotaryConfigBuilderError in tlsn_notary - Rust
#[non_exhaustive]
pub enum NotaryConfigBuilderError { - UninitializedField(&'static str), - ValidationError(String), +NotaryConfigBuilderError in tlsn_notary - Rust
#[non_exhaustive]
pub enum NotaryConfigBuilderError { + UninitializedField(&'static str), + ValidationError(String), }
Expand description

Error type for NotaryConfigBuilder

-

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

UninitializedField(&'static str)

Uninitialized field

-
§

ValidationError(String)

Custom validation error

-

Trait Implementations§

source§

impl Debug for NotaryConfigBuilderError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for NotaryConfigBuilderError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for NotaryConfigBuilderError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<String> for NotaryConfigBuilderError

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl From<UninitializedFieldError> for NotaryConfigBuilderError

source§

fn from(s: UninitializedFieldError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

UninitializedField(&'static str)

Uninitialized field

+
§

ValidationError(String)

Custom validation error

+

Trait Implementations§

source§

impl Debug for NotaryConfigBuilderError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for NotaryConfigBuilderError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for NotaryConfigBuilderError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<String> for NotaryConfigBuilderError

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl From<UninitializedFieldError> for NotaryConfigBuilderError

source§

fn from(s: UninitializedFieldError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<E> Provider for Ewhere - E: Error + ?Sized,

source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to -provide by using demand. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_notary/enum.NotaryError.html b/tlsn_notary/enum.NotaryError.html index 050e2a83db..3e63edeea2 100644 --- a/tlsn_notary/enum.NotaryError.html +++ b/tlsn_notary/enum.NotaryError.html @@ -1,25 +1,23 @@ -NotaryError in tlsn_notary - Rust
pub enum NotaryError {
-    IOError(Error),
+NotaryError in tlsn_notary - Rust
pub enum NotaryError {
+    IOError(Error),
     MuxerError(MuxerError),
-    MpcError(Box<dyn Error + Send + 'static>),
+    MpcError(Box<dyn Error + Send + 'static>),
 }
Expand description

An error that can occur during notarization.

-

Variants§

§

IOError(Error)

§

MuxerError(MuxerError)

§

MpcError(Box<dyn Error + Send + 'static>)

Trait Implementations§

source§

impl Debug for NotaryError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for NotaryError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for NotaryError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Error> for NotaryError

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<MpcTlsError> for NotaryError

source§

fn from(e: MpcTlsError) -> Self

Converts to this type from the input type.
source§

impl From<MuxerError> for NotaryError

source§

fn from(source: MuxerError) -> Self

Converts to this type from the input type.
source§

impl From<OTError> for NotaryError

source§

fn from(e: OTError) -> Self

Converts to this type from the input type.
source§

impl From<ReceiverActorError> for NotaryError

source§

fn from(e: ReceiverActorError) -> Self

Converts to this type from the input type.
source§

impl From<SenderActorError> for NotaryError

source§

fn from(e: SenderActorError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Variants§

§

IOError(Error)

§

MuxerError(MuxerError)

§

MpcError(Box<dyn Error + Send + 'static>)

Trait Implementations§

source§

impl Debug for NotaryError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for NotaryError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for NotaryError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Error> for NotaryError

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<MpcTlsError> for NotaryError

source§

fn from(e: MpcTlsError) -> Self

Converts to this type from the input type.
source§

impl From<MuxerError> for NotaryError

source§

fn from(source: MuxerError) -> Self

Converts to this type from the input type.
source§

impl From<OTError> for NotaryError

source§

fn from(e: OTError) -> Self

Converts to this type from the input type.
source§

impl From<ReceiverActorError> for NotaryError

source§

fn from(e: ReceiverActorError) -> Self

Converts to this type from the input type.
source§

impl From<SenderActorError> for NotaryError

source§

fn from(e: SenderActorError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<E> Provider for Ewhere - E: Error + ?Sized,

source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to -provide by using demand. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_notary/fn.bind_notary.html b/tlsn_notary/fn.bind_notary.html index 908479eca3..f6ee9155ac 100644 --- a/tlsn_notary/fn.bind_notary.html +++ b/tlsn_notary/fn.bind_notary.html @@ -1,7 +1,7 @@ -bind_notary in tlsn_notary - Rust

Function tlsn_notary::bind_notary

source ·
pub fn bind_notary<T: AsyncWrite + AsyncRead + Send + Unpin + 'static>(
+bind_notary in tlsn_notary - Rust

Function tlsn_notary::bind_notary

source ·
pub fn bind_notary<T: AsyncWrite + AsyncRead + Send + Unpin + 'static>(
     config: NotaryConfig,
     socket: T
-) -> Result<(Notary, NotaryBackgroundFut), NotaryError>
Expand description

Helper function to bind a new notary to the given socket.

+) -> Result<(Notary, NotaryBackgroundFut), NotaryError>
Expand description

Helper function to bind a new notary to the given socket.

Arguments

§

fn left_future<B>(self) -> Either<Self, B>where - B: Future<Output = Self::Output>, - Self: Sized,

Wrap this future in an Either future, making it the left-hand variant + B: Future<Output = Self::Output>, + Self: Sized,
Wrap this future in an Either future, making it the left-hand variant of that Either. Read more
§

fn right_future<A>(self) -> Either<A, Self>where - A: Future<Output = Self::Output>, - Self: Sized,

Wrap this future in an Either future, making it the right-hand variant + A: Future<Output = Self::Output>, + Self: Sized,
Wrap this future in an Either future, making it the right-hand variant of that Either. Read more
§

fn into_stream(self) -> IntoStream<Self>where - Self: Sized,

Convert this future into a single element stream. Read more
§

fn flatten(self) -> Flatten<Self>where - Self::Output: Future, - Self: Sized,

Flatten the execution of this future when the output of this + Self: Sized,
Convert this future into a single element stream. Read more
§

fn flatten(self) -> Flatten<Self>where + Self::Output: Future, + Self: Sized,

Flatten the execution of this future when the output of this future is itself another future. Read more
§

fn flatten_stream(self) -> FlattenStream<Self>where - Self::Output: Stream, - Self: Sized,

Flatten the execution of this future when the successful result of this + Self::Output: Stream, + Self: Sized,
Flatten the execution of this future when the successful result of this future is a stream. Read more
§

fn fuse(self) -> Fuse<Self>where - Self: Sized,

Fuse a future such that poll will never again be called once it has + Self: Sized,
Fuse a future such that poll will never again be called once it has completed. This method can be used to turn any Future into a FusedFuture. Read more
§

fn inspect<F>(self, f: F) -> Inspect<Self, F>where - F: FnOnce(&Self::Output), - Self: Sized,

Do something with the output of a future before passing it on. Read more
§

fn catch_unwind(self) -> CatchUnwind<Self>where - Self: Sized + UnwindSafe,

Catches unwinding panics while polling the future. Read more
§

fn shared(self) -> Shared<Self>where - Self: Sized, - Self::Output: Clone,

Create a cloneable handle to this future where all handles will resolve -to the same result. Read more
§

fn remote_handle(self) -> (Remote<Self>, RemoteHandle<Self::Output>)where - Self: Sized,

Turn this future into a future that yields () on completion and sends + F: FnOnce(&Self::Output), + Self: Sized,
Do something with the output of a future before passing it on. Read more
§

fn catch_unwind(self) -> CatchUnwind<Self>where + Self: Sized + UnwindSafe,

Catches unwinding panics while polling the future. Read more
§

fn shared(self) -> Shared<Self>where + Self: Sized, + Self::Output: Clone,

Create a cloneable handle to this future where all handles will resolve +to the same result. Read more
§

fn remote_handle(self) -> (Remote<Self>, RemoteHandle<Self::Output>)where + Self: Sized,

Turn this future into a future that yields () on completion and sends its output to another future on a separate task. Read more
§

fn boxed<'a>( self -) -> Pin<Box<dyn Future<Output = Self::Output> + Send + 'a, Global>>where - Self: Sized + Send + 'a,

Wrap the future in a Box, pinning it. Read more
§

fn boxed_local<'a>( +) -> Pin<Box<dyn Future<Output = Self::Output> + Send + 'a, Global>>where + Self: Sized + Send + 'a,

Wrap the future in a Box, pinning it. Read more
§

fn boxed_local<'a>( self -) -> Pin<Box<dyn Future<Output = Self::Output> + 'a, Global>>where - Self: Sized + 'a,

Wrap the future in a Box, pinning it. Read more
§

fn unit_error(self) -> UnitError<Self>where - Self: Sized,

Turns a Future<Output = T> into a +) -> Pin<Box<dyn Future<Output = Self::Output> + 'a, Global>>where + Self: Sized + 'a,
Wrap the future in a Box, pinning it. Read more
§

fn unit_error(self) -> UnitError<Self>where + Self: Sized,

§

fn never_error(self) -> NeverError<Self>where - Self: Sized,

§

fn poll_unpin(&mut self, cx: &mut Context<'_>) -> Poll<Self::Output>where - Self: Unpin,

A convenience for calling Future::poll on Unpin future types.
§

fn now_or_never(self) -> Option<Self::Output>where - Self: Sized,

Evaluates and consumes the future, returning the resulting output if -the future is ready after the first call to Future::poll. Read more
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ Self: Sized,
§

fn poll_unpin(&mut self, cx: &mut Context<'_>) -> Poll<Self::Output>where + Self: Unpin,

A convenience for calling Future::poll on Unpin future types.
§

fn now_or_never(self) -> Option<Self::Output>where + Self: Sized,

Evaluates and consumes the future, returning the resulting output if +the future is ready after the first call to Future::poll. Read more
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<F> IntoFuture for Fwhere - F: Future,

§

type Output = <F as Future>::Output

The output that the future will produce on completion.
§

type IntoFuture = F

Which kind of future are we turning this into?
source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<F, T, E> TryFuture for Fwhere - F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( - self: Pin<&mut F>, - cx: &mut Context<'_> -) -> Poll<<F as Future>::Output>

Poll this TryFuture as if it were a Future. Read more
§

impl<Fut> TryFutureExt for Futwhere - Fut: TryFuture + ?Sized,

§

fn flatten_sink<Item>(self) -> FlattenSink<Self, Self::Ok>where +From<T> for U chooses to do.

+

source§

impl<F> IntoFuture for Fwhere + F: Future,

§

type Output = <F as Future>::Output

The output that the future will produce on completion.
§

type IntoFuture = F

Which kind of future are we turning this into?
source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<F, T, E> TryFuture for Fwhere + F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( + self: Pin<&mut F>, + cx: &mut Context<'_> +) -> Poll<<F as Future>::Output>

Poll this TryFuture as if it were a Future. Read more
§

impl<Fut> TryFutureExt for Futwhere + Fut: TryFuture + ?Sized,

§

fn flatten_sink<Item>(self) -> FlattenSink<Self, Self::Ok>where Self::Ok: Sink<Item, Error = Self::Error>, - Self: Sized,

Flattens the execution of this future when the successful result of this + Self: Sized,
Flattens the execution of this future when the successful result of this future is a [Sink]. Read more
§

fn map_ok<T, F>(self, f: F) -> MapOk<Self, F>where - F: FnOnce(Self::Ok) -> T, - Self: Sized,

Maps this future’s success value to a different value. Read more
§

fn map_ok_or_else<T, E, F>(self, e: E, f: F) -> MapOkOrElse<Self, F, E>where - F: FnOnce(Self::Ok) -> T, - E: FnOnce(Self::Error) -> T, - Self: Sized,

Maps this future’s success value to a different value, and permits for error handling resulting in the same type. Read more
§

fn map_err<E, F>(self, f: F) -> MapErr<Self, F>where - F: FnOnce(Self::Error) -> E, - Self: Sized,

Maps this future’s error value to a different value. Read more
§

fn err_into<E>(self) -> ErrInto<Self, E>where - Self: Sized, - Self::Error: Into<E>,

Maps this future’s Error to a new error type -using the Into trait. Read more
§

fn ok_into<U>(self) -> OkInto<Self, U>where - Self: Sized, - Self::Ok: Into<U>,

Maps this future’s Ok to a new type -using the Into trait.
§

fn and_then<Fut, F>(self, f: F) -> AndThen<Self, Fut, F>where - F: FnOnce(Self::Ok) -> Fut, + F: FnOnce(Self::Ok) -> T, + Self: Sized,

Maps this future’s success value to a different value. Read more
§

fn map_ok_or_else<T, E, F>(self, e: E, f: F) -> MapOkOrElse<Self, F, E>where + F: FnOnce(Self::Ok) -> T, + E: FnOnce(Self::Error) -> T, + Self: Sized,

Maps this future’s success value to a different value, and permits for error handling resulting in the same type. Read more
§

fn map_err<E, F>(self, f: F) -> MapErr<Self, F>where + F: FnOnce(Self::Error) -> E, + Self: Sized,

Maps this future’s error value to a different value. Read more
§

fn err_into<E>(self) -> ErrInto<Self, E>where + Self: Sized, + Self::Error: Into<E>,

Maps this future’s Error to a new error type +using the Into trait. Read more
§

fn ok_into<U>(self) -> OkInto<Self, U>where + Self: Sized, + Self::Ok: Into<U>,

Maps this future’s Ok to a new type +using the Into trait.
§

fn and_then<Fut, F>(self, f: F) -> AndThen<Self, Fut, F>where + F: FnOnce(Self::Ok) -> Fut, Fut: TryFuture<Error = Self::Error>, - Self: Sized,

Executes another future after this one resolves successfully. The + Self: Sized,
Executes another future after this one resolves successfully. The success value is passed to a closure to create this subsequent future. Read more
§

fn or_else<Fut, F>(self, f: F) -> OrElse<Self, Fut, F>where - F: FnOnce(Self::Error) -> Fut, + F: FnOnce(Self::Error) -> Fut, Fut: TryFuture<Ok = Self::Ok>, - Self: Sized,

Executes another future if this one resolves to an error. The + Self: Sized,
Executes another future if this one resolves to an error. The error value is passed to a closure to create this subsequent future. Read more
§

fn inspect_ok<F>(self, f: F) -> InspectOk<Self, F>where - F: FnOnce(&Self::Ok), - Self: Sized,

Do something with the success value of a future before passing it on. Read more
§

fn inspect_err<F>(self, f: F) -> InspectErr<Self, F>where - F: FnOnce(&Self::Error), - Self: Sized,

Do something with the error value of a future before passing it on. Read more
§

fn try_flatten(self) -> TryFlatten<Self, Self::Ok>where + F: FnOnce(&Self::Ok), + Self: Sized,

Do something with the success value of a future before passing it on. Read more
§

fn inspect_err<F>(self, f: F) -> InspectErr<Self, F>where + F: FnOnce(&Self::Error), + Self: Sized,

Do something with the error value of a future before passing it on. Read more
§

fn try_flatten(self) -> TryFlatten<Self, Self::Ok>where Self::Ok: TryFuture<Error = Self::Error>, - Self: Sized,

Flatten the execution of this future when the successful result of this + Self: Sized,
Flatten the execution of this future when the successful result of this future is another future. Read more
§

fn try_flatten_stream(self) -> TryFlattenStream<Self>where Self::Ok: TryStream<Error = Self::Error>, - Self: Sized,

Flatten the execution of this future when the successful result of this + Self: Sized,
Flatten the execution of this future when the successful result of this future is a stream. Read more
§

fn unwrap_or_else<F>(self, f: F) -> UnwrapOrElse<Self, F>where - Self: Sized, - F: FnOnce(Self::Error) -> Self::Ok,

Unwraps this future’s output, producing a future with this future’s + Self: Sized, + F: FnOnce(Self::Error) -> Self::Ok,
Unwraps this future’s output, producing a future with this future’s Ok type as its -Output type. Read more
§

fn into_future(self) -> IntoFuture<Self>where - Self: Sized,

Wraps a [TryFuture] into a type that implements -Future. Read more
§

fn try_poll_unpin( +Output type. Read more

§

fn into_future(self) -> IntoFuture<Self>where + Self: Sized,

Wraps a [TryFuture] into a type that implements +Future. Read more
§

fn try_poll_unpin( &mut self, - cx: &mut Context<'_> -) -> Poll<Result<Self::Ok, Self::Error>>where - Self: Unpin,

A convenience method for calling [TryFuture::try_poll] on Unpin -future types.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a + cx: &mut Context<'_> +) -> Poll<Result<Self::Ok, Self::Error>>where + Self: Unpin,
A convenience method for calling [TryFuture::try_poll] on Unpin +future types.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_notary/struct.NotaryConfig.html b/tlsn_notary/struct.NotaryConfig.html index 4b0bb8c6c2..f730a89a3f 100644 --- a/tlsn_notary/struct.NotaryConfig.html +++ b/tlsn_notary/struct.NotaryConfig.html @@ -1,22 +1,22 @@ -NotaryConfig in tlsn_notary - Rust
pub struct NotaryConfig { /* private fields */ }
Expand description

Configuration for the Notary

-

Implementations§

source§

impl NotaryConfig

source

pub fn builder() -> NotaryConfigBuilder

Create a new builder for NotaryConfig.

-
source

pub fn id(&self) -> &str

Returns the ID of the notarization session.

-
source

pub fn max_transcript_size(&self) -> usize

Get the maximum transcript size in bytes.

-

Trait Implementations§

source§

impl Clone for NotaryConfig

source§

fn clone(&self) -> NotaryConfig

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NotaryConfig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+NotaryConfig in tlsn_notary - Rust
pub struct NotaryConfig { /* private fields */ }
Expand description

Configuration for the Notary

+

Implementations§

source§

impl NotaryConfig

source

pub fn builder() -> NotaryConfigBuilder

Create a new builder for NotaryConfig.

+
source

pub fn id(&self) -> &str

Returns the ID of the notarization session.

+
source

pub fn max_transcript_size(&self) -> usize

Get the maximum transcript size in bytes.

+

Trait Implementations§

source§

impl Clone for NotaryConfig

source§

fn clone(&self) -> NotaryConfig

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NotaryConfig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_notary/struct.NotaryConfigBuilder.html b/tlsn_notary/struct.NotaryConfigBuilder.html index 0e844a43f3..5f4b840714 100644 --- a/tlsn_notary/struct.NotaryConfigBuilder.html +++ b/tlsn_notary/struct.NotaryConfigBuilder.html @@ -1,24 +1,24 @@ -NotaryConfigBuilder in tlsn_notary - Rust
pub struct NotaryConfigBuilder { /* private fields */ }
Expand description

Builder for NotaryConfig.

-

Implementations§

source§

impl NotaryConfigBuilder

source

pub fn id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self

source

pub fn max_transcript_size(&mut self, value: usize) -> &mut Self

Maximum transcript size in bytes

+NotaryConfigBuilder in tlsn_notary - Rust
pub struct NotaryConfigBuilder { /* private fields */ }
Expand description

Builder for NotaryConfig.

+

Implementations§

source§

impl NotaryConfigBuilder

source

pub fn id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self

source

pub fn max_transcript_size(&mut self, value: usize) -> &mut Self

Maximum transcript size in bytes

This includes the number of bytes sent and received to the server.

-
source

pub fn build(&self) -> Result<NotaryConfig, NotaryConfigBuilderError>

Builds a new NotaryConfig.

+
source

pub fn build(&self) -> Result<NotaryConfig, NotaryConfigBuilderError>

Builds a new NotaryConfig.

Errors

If a required field has not been initialized.

-

Trait Implementations§

source§

impl Clone for NotaryConfigBuilder

source§

fn clone(&self) -> NotaryConfigBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for NotaryConfigBuilder

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Trait Implementations§

source§

impl Clone for NotaryConfigBuilder

source§

fn clone(&self) -> NotaryConfigBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for NotaryConfigBuilder

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_prover/all.html b/tlsn_prover/all.html index d9ddabc7e3..522e60bb12 100644 --- a/tlsn_prover/all.html +++ b/tlsn_prover/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/tlsn_prover/enum.ProverError.html b/tlsn_prover/enum.ProverError.html index af95e98f88..7cb1a9621b 100644 --- a/tlsn_prover/enum.ProverError.html +++ b/tlsn_prover/enum.ProverError.html @@ -1,32 +1,30 @@ -ProverError in tlsn_prover - Rust
pub enum ProverError {
+ProverError in tlsn_prover - Rust
pub enum ProverError {
     TlsClientError(Error),
     AsyncClientError(ConnectionError),
-    IOError(Error),
+    IOError(Error),
     MuxerError(MuxerError),
-    NotarizationError(String),
+    NotarizationError(String),
     CommitmentBuilder(TranscriptCommitmentBuilderError),
     InvalidServerName(InvalidDnsNameError),
-    MpcError(Box<dyn Error + Send + 'static>),
+    MpcError(Box<dyn Error + Send + 'static>),
     ServerNoCloseNotify,
     CommitmentError(CommitmentError),
 }
Expand description

An error that can occur during proving.

-

Variants§

§

TlsClientError(Error)

§

AsyncClientError(ConnectionError)

§

IOError(Error)

§

MuxerError(MuxerError)

§

NotarizationError(String)

§

CommitmentBuilder(TranscriptCommitmentBuilderError)

§

InvalidServerName(InvalidDnsNameError)

§

MpcError(Box<dyn Error + Send + 'static>)

§

ServerNoCloseNotify

§

CommitmentError(CommitmentError)

Trait Implementations§

source§

impl Debug for ProverError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ProverError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for ProverError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<ConnectionError> for ProverError

source§

fn from(source: ConnectionError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for ProverError

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for ProverError

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<InvalidDnsNameError> for ProverError

source§

fn from(source: InvalidDnsNameError) -> Self

Converts to this type from the input type.
source§

impl From<MerkleError> for ProverError

source§

fn from(e: MerkleError) -> Self

Converts to this type from the input type.
source§

impl From<MpcTlsError> for ProverError

source§

fn from(e: MpcTlsError) -> Self

Converts to this type from the input type.
source§

impl From<MuxerError> for ProverError

source§

fn from(source: MuxerError) -> Self

Converts to this type from the input type.
source§

impl From<OTError> for ProverError

source§

fn from(e: OTError) -> Self

Converts to this type from the input type.
source§

impl From<ReceiverActorError> for ProverError

source§

fn from(value: ReceiverActorError) -> Self

Converts to this type from the input type.
source§

impl From<SenderActorError> for ProverError

source§

fn from(value: SenderActorError) -> Self

Converts to this type from the input type.
source§

impl From<TranscriptCommitmentBuilderError> for ProverError

source§

fn from(source: TranscriptCommitmentBuilderError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

Variants§

§

TlsClientError(Error)

§

AsyncClientError(ConnectionError)

§

IOError(Error)

§

MuxerError(MuxerError)

§

NotarizationError(String)

§

CommitmentBuilder(TranscriptCommitmentBuilderError)

§

InvalidServerName(InvalidDnsNameError)

§

MpcError(Box<dyn Error + Send + 'static>)

§

ServerNoCloseNotify

§

CommitmentError(CommitmentError)

Trait Implementations§

source§

impl Debug for ProverError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ProverError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for ProverError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<ConnectionError> for ProverError

source§

fn from(source: ConnectionError) -> Self

Converts to this type from the input type.
source§

impl From<Error> for ProverError

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for ProverError

source§

fn from(source: Error) -> Self

Converts to this type from the input type.
source§

impl From<InvalidDnsNameError> for ProverError

source§

fn from(source: InvalidDnsNameError) -> Self

Converts to this type from the input type.
source§

impl From<MerkleError> for ProverError

source§

fn from(e: MerkleError) -> Self

Converts to this type from the input type.
source§

impl From<MpcTlsError> for ProverError

source§

fn from(e: MpcTlsError) -> Self

Converts to this type from the input type.
source§

impl From<MuxerError> for ProverError

source§

fn from(source: MuxerError) -> Self

Converts to this type from the input type.
source§

impl From<OTError> for ProverError

source§

fn from(e: OTError) -> Self

Converts to this type from the input type.
source§

impl From<ReceiverActorError> for ProverError

source§

fn from(value: ReceiverActorError) -> Self

Converts to this type from the input type.
source§

impl From<SenderActorError> for ProverError

source§

fn from(value: SenderActorError) -> Self

Converts to this type from the input type.
source§

impl From<TranscriptCommitmentBuilderError> for ProverError

source§

fn from(source: TranscriptCommitmentBuilderError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<E> Provider for Ewhere - E: Error + ?Sized,

source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to -provide by using demand. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T> ToString for Twhere - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T> ToString for Twhere + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_prover/index.html b/tlsn_prover/index.html index 2290d300d7..96b9a3120f 100644 --- a/tlsn_prover/index.html +++ b/tlsn_prover/index.html @@ -1,4 +1,4 @@ -tlsn_prover - Rust

Crate tlsn_prover

source ·
Expand description

The prover library

+tlsn_prover - Rust

Crate tlsn_prover

source ·
Expand description

The prover library

This library provides the Prover type. It can be used for creating TLS connections with a server which can be notarized with the help of a notary.

Structs

Enums

Traits

\ No newline at end of file diff --git a/tlsn_prover/struct.Closed.html b/tlsn_prover/struct.Closed.html index 80c66c21ea..debf197d5f 100644 --- a/tlsn_prover/struct.Closed.html +++ b/tlsn_prover/struct.Closed.html @@ -1,18 +1,18 @@ -Closed in tlsn_prover - Rust

Struct tlsn_prover::Closed

source ·
pub struct Closed { /* private fields */ }
Expand description

State after the TLS connection has been closed.

-

Trait Implementations§

source§

impl Debug for Closed

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl From<Closed> for Notarize

source§

fn from(state: Closed) -> Self

Converts to this type from the input type.
source§

impl ProverState for Closed

Auto Trait Implementations§

§

impl !RefUnwindSafe for Closed

§

impl Send for Closed

§

impl !Sync for Closed

§

impl Unpin for Closed

§

impl !UnwindSafe for Closed

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Closed in tlsn_prover - Rust

Struct tlsn_prover::Closed

source ·
pub struct Closed { /* private fields */ }
Expand description

State after the TLS connection has been closed.

+

Trait Implementations§

source§

impl Debug for Closed

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl From<Closed> for Notarize

source§

fn from(state: Closed) -> Self

Converts to this type from the input type.
source§

impl ProverState for Closed

Auto Trait Implementations§

§

impl !RefUnwindSafe for Closed

§

impl Send for Closed

§

impl !Sync for Closed

§

impl Unpin for Closed

§

impl !UnwindSafe for Closed

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_prover/struct.Initialized.html b/tlsn_prover/struct.Initialized.html index 78b80d0fc4..4d7f5baf97 100644 --- a/tlsn_prover/struct.Initialized.html +++ b/tlsn_prover/struct.Initialized.html @@ -1,18 +1,18 @@ -Initialized in tlsn_prover - Rust
pub struct Initialized;
Expand description

Entry state

-

Trait Implementations§

source§

impl Debug for Initialized

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl ProverState for Initialized

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Initialized in tlsn_prover - Rust
pub struct Initialized;
Expand description

Entry state

+

Trait Implementations§

source§

impl Debug for Initialized

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl ProverState for Initialized

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_prover/struct.Notarize.html b/tlsn_prover/struct.Notarize.html index 49b49f2b71..ad5cd42215 100644 --- a/tlsn_prover/struct.Notarize.html +++ b/tlsn_prover/struct.Notarize.html @@ -1,18 +1,18 @@ -Notarize in tlsn_prover - Rust

Struct tlsn_prover::Notarize

source ·
pub struct Notarize { /* private fields */ }
Expand description

The state for the Prover during notarization

-

Trait Implementations§

source§

impl Debug for Notarize

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl From<Closed> for Notarize

source§

fn from(state: Closed) -> Self

Converts to this type from the input type.
source§

impl ProverState for Notarize

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Notarize in tlsn_prover - Rust

Struct tlsn_prover::Notarize

source ·
pub struct Notarize { /* private fields */ }
Expand description

The state for the Prover during notarization

+

Trait Implementations§

source§

impl Debug for Notarize

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl From<Closed> for Notarize

source§

fn from(state: Closed) -> Self

Converts to this type from the input type.
source§

impl ProverState for Notarize

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_prover/struct.Prover.html b/tlsn_prover/struct.Prover.html index ba28280ba5..ca59860ba8 100644 --- a/tlsn_prover/struct.Prover.html +++ b/tlsn_prover/struct.Prover.html @@ -1,57 +1,57 @@ -Prover in tlsn_prover - Rust

Struct tlsn_prover::Prover

source ·
pub struct Prover<T: ProverState> { /* private fields */ }
Expand description

A prover instance.

-

Implementations§

source§

impl Prover<Initialized>

source

pub fn new(config: ProverConfig) -> Self

Creates a new prover.

+Prover in tlsn_prover - Rust

Struct tlsn_prover::Prover

source ·
pub struct Prover<T: ProverState> { /* private fields */ }
Expand description

A prover instance.

+

Implementations§

source§

impl Prover<Initialized>

source

pub fn new(config: ProverConfig) -> Self

Creates a new prover.

Arguments
  • config - The configuration for the prover.
-
source

pub async fn setup<S: AsyncWrite + AsyncRead + Send + Unpin + 'static>( +

source

pub async fn setup<S: AsyncWrite + AsyncRead + Send + Unpin + 'static>( self, socket: S -) -> Result<Prover<Setup>, ProverError>

Set up the prover.

+) -> Result<Prover<Setup>, ProverError>

Set up the prover.

This performs all MPC setup prior to establishing the connection to the application server.

Arguments
  • socket - The socket to the notary.
-
source§

impl Prover<Setup>

source

pub async fn connect<S: AsyncWrite + AsyncRead + Send + Unpin + 'static>( +

source§

impl Prover<Setup>

source

pub async fn connect<S: AsyncWrite + AsyncRead + Send + Unpin + 'static>( self, socket: S -) -> Result<(TlsConnection, ProverFuture), ProverError>

Connects to the server using the provided socket.

+) -> Result<(TlsConnection, ProverFuture), ProverError>

Connects to the server using the provided socket.

Returns a handle to the TLS connection, a future which returns the prover once the connection is closed.

Arguments
  • socket - The socket to the server.
-
source§

impl Prover<Closed>

source

pub fn sent_transcript(&self) -> &Transcript

Returns the transcript of the sent requests

-
source

pub fn recv_transcript(&self) -> &Transcript

Returns the transcript of the received responses

-
source

pub fn start_notarize(self) -> Prover<Notarize>

Starts notarization of the TLS session.

+
source§

impl Prover<Closed>

source

pub fn sent_transcript(&self) -> &Transcript

Returns the transcript of the sent requests

+
source

pub fn recv_transcript(&self) -> &Transcript

Returns the transcript of the received responses

+
source

pub fn start_notarize(self) -> Prover<Notarize>

Starts notarization of the TLS session.

If the verifier is a Notary, this function will transition the prover to the next state where it can generate commitments to the transcript prior to finalization.

-
source§

impl Prover<Notarize>

source

pub fn sent_transcript(&self) -> &Transcript

Returns the transcript of the sent requests

-
source

pub fn recv_transcript(&self) -> &Transcript

Returns the transcript of the received responses

-
source

pub fn commitment_builder(&mut self) -> &mut TranscriptCommitmentBuilder

Returns the transcript commitment builder

-
source

pub async fn finalize(self) -> Result<NotarizedSession, ProverError>

Finalize the notarization returning a [NotarizedSession]

-

Trait Implementations§

source§

impl<T: Debug + ProverState> Debug for Prover<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for Prover<T>where - T: RefUnwindSafe,

§

impl<T> Send for Prover<T>where - T: Send,

§

impl<T> Sync for Prover<T>where - T: Sync,

§

impl<T> Unpin for Prover<T>where - T: Unpin,

§

impl<T> UnwindSafe for Prover<T>where - T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+
source§

impl Prover<Notarize>

source

pub fn sent_transcript(&self) -> &Transcript

Returns the transcript of the sent requests

+
source

pub fn recv_transcript(&self) -> &Transcript

Returns the transcript of the received responses

+
source

pub fn commitment_builder(&mut self) -> &mut TranscriptCommitmentBuilder

Returns the transcript commitment builder

+
source

pub async fn finalize(self) -> Result<NotarizedSession, ProverError>

Finalize the notarization returning a [NotarizedSession]

+

Trait Implementations§

source§

impl<T: Debug + ProverState> Debug for Prover<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for Prover<T>where + T: RefUnwindSafe,

§

impl<T> Send for Prover<T>where + T: Send,

§

impl<T> Sync for Prover<T>where + T: Sync,

§

impl<T> Unpin for Prover<T>where + T: Unpin,

§

impl<T> UnwindSafe for Prover<T>where + T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_prover/struct.ProverConfig.html b/tlsn_prover/struct.ProverConfig.html index 5c7166fa72..58a6a34d97 100644 --- a/tlsn_prover/struct.ProverConfig.html +++ b/tlsn_prover/struct.ProverConfig.html @@ -1,22 +1,22 @@ -ProverConfig in tlsn_prover - Rust
pub struct ProverConfig { /* private fields */ }
Expand description

Configuration for the prover

-

Implementations§

source§

impl ProverConfig

source

pub fn builder() -> ProverConfigBuilder

Create a new builder for ProverConfig.

-
source

pub fn max_transcript_size(&self) -> usize

Get the maximum transcript size in bytes.

-
source

pub fn server_dns(&self) -> &str

Returns the server DNS name.

-

Trait Implementations§

source§

impl Clone for ProverConfig

source§

fn clone(&self) -> ProverConfig

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProverConfig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ProverConfig in tlsn_prover - Rust
pub struct ProverConfig { /* private fields */ }
Expand description

Configuration for the prover

+

Implementations§

source§

impl ProverConfig

source

pub fn builder() -> ProverConfigBuilder

Create a new builder for ProverConfig.

+
source

pub fn max_transcript_size(&self) -> usize

Get the maximum transcript size in bytes.

+
source

pub fn server_dns(&self) -> &str

Returns the server DNS name.

+

Trait Implementations§

source§

impl Clone for ProverConfig

source§

fn clone(&self) -> ProverConfig

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProverConfig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T> ToOwned for Twhere - T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T> ToOwned for Twhere + T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_prover/struct.ProverFuture.html b/tlsn_prover/struct.ProverFuture.html index 3463b57ae3..93959a8f74 100644 --- a/tlsn_prover/struct.ProverFuture.html +++ b/tlsn_prover/struct.ProverFuture.html @@ -1,118 +1,118 @@ -ProverFuture in tlsn_prover - Rust
pub struct ProverFuture { /* private fields */ }
Expand description

Prover future which must be polled for the TLS connection to make progress.

-

Trait Implementations§

source§

impl Future for ProverFuture

§

type Output = Result<Prover<Closed>, ProverError>

The type of value produced on completion.
source§

fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

Attempt to resolve the future to a final value, registering -the current task for wakeup if the value is not yet available. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ProverFuture in tlsn_prover - Rust
pub struct ProverFuture { /* private fields */ }
Expand description

Prover future which must be polled for the TLS connection to make progress.

+

Trait Implementations§

source§

impl Future for ProverFuture

§

type Output = Result<Prover<Closed>, ProverError>

The type of value produced on completion.
source§

fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

Attempt to resolve the future to a final value, registering +the current task for wakeup if the value is not yet available. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FutureExt for Twhere - T: Future + ?Sized,

§

fn map<U, F>(self, f: F) -> Map<Self, F>where - F: FnOnce(Self::Output) -> U, - Self: Sized,

Map this future’s output to a different type, returning a new future of + T: Future + ?Sized,
§

fn map<U, F>(self, f: F) -> Map<Self, F>where + F: FnOnce(Self::Output) -> U, + Self: Sized,

Map this future’s output to a different type, returning a new future of the resulting type. Read more
§

fn map_into<U>(self) -> MapInto<Self, U>where - Self::Output: Into<U>, - Self: Sized,

Map this future’s output to a different type, returning a new future of + Self::Output: Into<U>, + Self: Sized,
Map this future’s output to a different type, returning a new future of the resulting type. Read more
§

fn then<Fut, F>(self, f: F) -> Then<Self, Fut, F>where - F: FnOnce(Self::Output) -> Fut, - Fut: Future, - Self: Sized,

Chain on a computation for when a future finished, passing the result of + F: FnOnce(Self::Output) -> Fut, + Fut: Future, + Self: Sized,
Chain on a computation for when a future finished, passing the result of the future to the provided closure f. Read more
§

fn left_future<B>(self) -> Either<Self, B>where - B: Future<Output = Self::Output>, - Self: Sized,

Wrap this future in an Either future, making it the left-hand variant + B: Future<Output = Self::Output>, + Self: Sized,
Wrap this future in an Either future, making it the left-hand variant of that Either. Read more
§

fn right_future<A>(self) -> Either<A, Self>where - A: Future<Output = Self::Output>, - Self: Sized,

Wrap this future in an Either future, making it the right-hand variant + A: Future<Output = Self::Output>, + Self: Sized,
Wrap this future in an Either future, making it the right-hand variant of that Either. Read more
§

fn into_stream(self) -> IntoStream<Self>where - Self: Sized,

Convert this future into a single element stream. Read more
§

fn flatten(self) -> Flatten<Self>where - Self::Output: Future, - Self: Sized,

Flatten the execution of this future when the output of this + Self: Sized,
Convert this future into a single element stream. Read more
§

fn flatten(self) -> Flatten<Self>where + Self::Output: Future, + Self: Sized,

Flatten the execution of this future when the output of this future is itself another future. Read more
§

fn flatten_stream(self) -> FlattenStream<Self>where - Self::Output: Stream, - Self: Sized,

Flatten the execution of this future when the successful result of this + Self::Output: Stream, + Self: Sized,
Flatten the execution of this future when the successful result of this future is a stream. Read more
§

fn fuse(self) -> Fuse<Self>where - Self: Sized,

Fuse a future such that poll will never again be called once it has + Self: Sized,
Fuse a future such that poll will never again be called once it has completed. This method can be used to turn any Future into a FusedFuture. Read more
§

fn inspect<F>(self, f: F) -> Inspect<Self, F>where - F: FnOnce(&Self::Output), - Self: Sized,

Do something with the output of a future before passing it on. Read more
§

fn catch_unwind(self) -> CatchUnwind<Self>where - Self: Sized + UnwindSafe,

Catches unwinding panics while polling the future. Read more
§

fn shared(self) -> Shared<Self>where - Self: Sized, - Self::Output: Clone,

Create a cloneable handle to this future where all handles will resolve -to the same result. Read more
§

fn remote_handle(self) -> (Remote<Self>, RemoteHandle<Self::Output>)where - Self: Sized,

Turn this future into a future that yields () on completion and sends + F: FnOnce(&Self::Output), + Self: Sized,
Do something with the output of a future before passing it on. Read more
§

fn catch_unwind(self) -> CatchUnwind<Self>where + Self: Sized + UnwindSafe,

Catches unwinding panics while polling the future. Read more
§

fn shared(self) -> Shared<Self>where + Self: Sized, + Self::Output: Clone,

Create a cloneable handle to this future where all handles will resolve +to the same result. Read more
§

fn remote_handle(self) -> (Remote<Self>, RemoteHandle<Self::Output>)where + Self: Sized,

Turn this future into a future that yields () on completion and sends its output to another future on a separate task. Read more
§

fn boxed<'a>( self -) -> Pin<Box<dyn Future<Output = Self::Output> + Send + 'a, Global>>where - Self: Sized + Send + 'a,

Wrap the future in a Box, pinning it. Read more
§

fn boxed_local<'a>( +) -> Pin<Box<dyn Future<Output = Self::Output> + Send + 'a, Global>>where + Self: Sized + Send + 'a,

Wrap the future in a Box, pinning it. Read more
§

fn boxed_local<'a>( self -) -> Pin<Box<dyn Future<Output = Self::Output> + 'a, Global>>where - Self: Sized + 'a,

Wrap the future in a Box, pinning it. Read more
§

fn unit_error(self) -> UnitError<Self>where - Self: Sized,

Turns a Future<Output = T> into a +) -> Pin<Box<dyn Future<Output = Self::Output> + 'a, Global>>where + Self: Sized + 'a,
Wrap the future in a Box, pinning it. Read more
§

fn unit_error(self) -> UnitError<Self>where + Self: Sized,

§

fn never_error(self) -> NeverError<Self>where - Self: Sized,

§

fn poll_unpin(&mut self, cx: &mut Context<'_>) -> Poll<Self::Output>where - Self: Unpin,

A convenience for calling Future::poll on Unpin future types.
§

fn now_or_never(self) -> Option<Self::Output>where - Self: Sized,

Evaluates and consumes the future, returning the resulting output if -the future is ready after the first call to Future::poll. Read more
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+ Self: Sized,
§

fn poll_unpin(&mut self, cx: &mut Context<'_>) -> Poll<Self::Output>where + Self: Unpin,

A convenience for calling Future::poll on Unpin future types.
§

fn now_or_never(self) -> Option<Self::Output>where + Self: Sized,

Evaluates and consumes the future, returning the resulting output if +the future is ready after the first call to Future::poll. Read more
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<F> IntoFuture for Fwhere - F: Future,

§

type Output = <F as Future>::Output

The output that the future will produce on completion.
§

type IntoFuture = F

Which kind of future are we turning this into?
source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<F, T, E> TryFuture for Fwhere - F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( - self: Pin<&mut F>, - cx: &mut Context<'_> -) -> Poll<<F as Future>::Output>

Poll this TryFuture as if it were a Future. Read more
§

impl<Fut> TryFutureExt for Futwhere - Fut: TryFuture + ?Sized,

§

fn flatten_sink<Item>(self) -> FlattenSink<Self, Self::Ok>where +From<T> for U chooses to do.

+

source§

impl<F> IntoFuture for Fwhere + F: Future,

§

type Output = <F as Future>::Output

The output that the future will produce on completion.
§

type IntoFuture = F

Which kind of future are we turning this into?
source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<F, T, E> TryFuture for Fwhere + F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( + self: Pin<&mut F>, + cx: &mut Context<'_> +) -> Poll<<F as Future>::Output>

Poll this TryFuture as if it were a Future. Read more
§

impl<Fut> TryFutureExt for Futwhere + Fut: TryFuture + ?Sized,

§

fn flatten_sink<Item>(self) -> FlattenSink<Self, Self::Ok>where Self::Ok: Sink<Item, Error = Self::Error>, - Self: Sized,

Flattens the execution of this future when the successful result of this + Self: Sized,
Flattens the execution of this future when the successful result of this future is a [Sink]. Read more
§

fn map_ok<T, F>(self, f: F) -> MapOk<Self, F>where - F: FnOnce(Self::Ok) -> T, - Self: Sized,

Maps this future’s success value to a different value. Read more
§

fn map_ok_or_else<T, E, F>(self, e: E, f: F) -> MapOkOrElse<Self, F, E>where - F: FnOnce(Self::Ok) -> T, - E: FnOnce(Self::Error) -> T, - Self: Sized,

Maps this future’s success value to a different value, and permits for error handling resulting in the same type. Read more
§

fn map_err<E, F>(self, f: F) -> MapErr<Self, F>where - F: FnOnce(Self::Error) -> E, - Self: Sized,

Maps this future’s error value to a different value. Read more
§

fn err_into<E>(self) -> ErrInto<Self, E>where - Self: Sized, - Self::Error: Into<E>,

Maps this future’s Error to a new error type -using the Into trait. Read more
§

fn ok_into<U>(self) -> OkInto<Self, U>where - Self: Sized, - Self::Ok: Into<U>,

Maps this future’s Ok to a new type -using the Into trait.
§

fn and_then<Fut, F>(self, f: F) -> AndThen<Self, Fut, F>where - F: FnOnce(Self::Ok) -> Fut, + F: FnOnce(Self::Ok) -> T, + Self: Sized,

Maps this future’s success value to a different value. Read more
§

fn map_ok_or_else<T, E, F>(self, e: E, f: F) -> MapOkOrElse<Self, F, E>where + F: FnOnce(Self::Ok) -> T, + E: FnOnce(Self::Error) -> T, + Self: Sized,

Maps this future’s success value to a different value, and permits for error handling resulting in the same type. Read more
§

fn map_err<E, F>(self, f: F) -> MapErr<Self, F>where + F: FnOnce(Self::Error) -> E, + Self: Sized,

Maps this future’s error value to a different value. Read more
§

fn err_into<E>(self) -> ErrInto<Self, E>where + Self: Sized, + Self::Error: Into<E>,

Maps this future’s Error to a new error type +using the Into trait. Read more
§

fn ok_into<U>(self) -> OkInto<Self, U>where + Self: Sized, + Self::Ok: Into<U>,

Maps this future’s Ok to a new type +using the Into trait.
§

fn and_then<Fut, F>(self, f: F) -> AndThen<Self, Fut, F>where + F: FnOnce(Self::Ok) -> Fut, Fut: TryFuture<Error = Self::Error>, - Self: Sized,

Executes another future after this one resolves successfully. The + Self: Sized,
Executes another future after this one resolves successfully. The success value is passed to a closure to create this subsequent future. Read more
§

fn or_else<Fut, F>(self, f: F) -> OrElse<Self, Fut, F>where - F: FnOnce(Self::Error) -> Fut, + F: FnOnce(Self::Error) -> Fut, Fut: TryFuture<Ok = Self::Ok>, - Self: Sized,

Executes another future if this one resolves to an error. The + Self: Sized,
Executes another future if this one resolves to an error. The error value is passed to a closure to create this subsequent future. Read more
§

fn inspect_ok<F>(self, f: F) -> InspectOk<Self, F>where - F: FnOnce(&Self::Ok), - Self: Sized,

Do something with the success value of a future before passing it on. Read more
§

fn inspect_err<F>(self, f: F) -> InspectErr<Self, F>where - F: FnOnce(&Self::Error), - Self: Sized,

Do something with the error value of a future before passing it on. Read more
§

fn try_flatten(self) -> TryFlatten<Self, Self::Ok>where + F: FnOnce(&Self::Ok), + Self: Sized,

Do something with the success value of a future before passing it on. Read more
§

fn inspect_err<F>(self, f: F) -> InspectErr<Self, F>where + F: FnOnce(&Self::Error), + Self: Sized,

Do something with the error value of a future before passing it on. Read more
§

fn try_flatten(self) -> TryFlatten<Self, Self::Ok>where Self::Ok: TryFuture<Error = Self::Error>, - Self: Sized,

Flatten the execution of this future when the successful result of this + Self: Sized,
Flatten the execution of this future when the successful result of this future is another future. Read more
§

fn try_flatten_stream(self) -> TryFlattenStream<Self>where Self::Ok: TryStream<Error = Self::Error>, - Self: Sized,

Flatten the execution of this future when the successful result of this + Self: Sized,
Flatten the execution of this future when the successful result of this future is a stream. Read more
§

fn unwrap_or_else<F>(self, f: F) -> UnwrapOrElse<Self, F>where - Self: Sized, - F: FnOnce(Self::Error) -> Self::Ok,

Unwraps this future’s output, producing a future with this future’s + Self: Sized, + F: FnOnce(Self::Error) -> Self::Ok,
Unwraps this future’s output, producing a future with this future’s Ok type as its -Output type. Read more
§

fn into_future(self) -> IntoFuture<Self>where - Self: Sized,

Wraps a [TryFuture] into a type that implements -Future. Read more
§

fn try_poll_unpin( +Output type. Read more

§

fn into_future(self) -> IntoFuture<Self>where + Self: Sized,

Wraps a [TryFuture] into a type that implements +Future. Read more
§

fn try_poll_unpin( &mut self, - cx: &mut Context<'_> -) -> Poll<Result<Self::Ok, Self::Error>>where - Self: Unpin,

A convenience method for calling [TryFuture::try_poll] on Unpin -future types.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a + cx: &mut Context<'_> +) -> Poll<Result<Self::Ok, Self::Error>>where + Self: Unpin,
A convenience method for calling [TryFuture::try_poll] on Unpin +future types.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_prover/struct.Setup.html b/tlsn_prover/struct.Setup.html index 733c1e9a65..b77ea62d28 100644 --- a/tlsn_prover/struct.Setup.html +++ b/tlsn_prover/struct.Setup.html @@ -1,18 +1,18 @@ -Setup in tlsn_prover - Rust

Struct tlsn_prover::Setup

source ·
pub struct Setup { /* private fields */ }
Expand description

State after MPC setup has completed.

-

Trait Implementations§

source§

impl Debug for Setup

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl ProverState for Setup

Auto Trait Implementations§

§

impl !RefUnwindSafe for Setup

§

impl Send for Setup

§

impl !Sync for Setup

§

impl Unpin for Setup

§

impl !UnwindSafe for Setup

Blanket Implementations§

source§

impl<T> Any for Twhere - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

-
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an -Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Setup in tlsn_prover - Rust

Struct tlsn_prover::Setup

source ·
pub struct Setup { /* private fields */ }
Expand description

State after MPC setup has completed.

+

Trait Implementations§

source§

impl Debug for Setup

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl ProverState for Setup

Auto Trait Implementations§

§

impl !RefUnwindSafe for Setup

§

impl Send for Setup

§

impl !Sync for Setup

§

impl Unpin for Setup

§

impl !UnwindSafe for Setup

Blanket Implementations§

source§

impl<T> Any for Twhere + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an +Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an +Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere - V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a -WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a +From<T> for U chooses to do.

+
§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SpawnCompatExt for T

§

fn compat(self) -> Compat<T>

Wrap the executor in a Compat wrapper.
§

fn compat_ref(&self) -> Compat<&T>

Wrap a reference to the executor in a Compat wrapper.
§

fn compat_mut(&mut self) -> Compat<&mut T>

Wrap a mutable reference to the executor in a Compat wrapper.
source§

impl<T, U> TryFrom<U> for Twhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere + V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
\ No newline at end of file diff --git a/tlsn_prover/trait.ProverState.html b/tlsn_prover/trait.ProverState.html index e952ca148c..b171159024 100644 --- a/tlsn_prover/trait.ProverState.html +++ b/tlsn_prover/trait.ProverState.html @@ -1 +1 @@ -ProverState in tlsn_prover - Rust
pub trait ProverState: Sealed { }

Implementors§

\ No newline at end of file +ProverState in tlsn_prover - Rust
pub trait ProverState: Sealed { }

Implementors§

\ No newline at end of file