diff --git a/explorer/404.html b/explorer/404.html index 45b5f25d59b..0d8d0c89d8b 100644 --- a/explorer/404.html +++ b/explorer/404.html @@ -1 +1 @@ -
\ No newline at end of file + \ No newline at end of file diff --git a/explorer/_next/static/fIat1neKHLbUPnX-0kC4i/_buildManifest.js b/explorer/_next/static/rrLp_kjWimyzIm6Abc-Tt/_buildManifest.js similarity index 100% rename from explorer/_next/static/fIat1neKHLbUPnX-0kC4i/_buildManifest.js rename to explorer/_next/static/rrLp_kjWimyzIm6Abc-Tt/_buildManifest.js diff --git a/explorer/_next/static/fIat1neKHLbUPnX-0kC4i/_ssgManifest.js b/explorer/_next/static/rrLp_kjWimyzIm6Abc-Tt/_ssgManifest.js similarity index 100% rename from explorer/_next/static/fIat1neKHLbUPnX-0kC4i/_ssgManifest.js rename to explorer/_next/static/rrLp_kjWimyzIm6Abc-Tt/_ssgManifest.js diff --git a/explorer/index.html b/explorer/index.html index 00f3d317ccb..6bcc0912687 100644 --- a/explorer/index.html +++ b/explorer/index.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/rust-doc/help.html b/rust-doc/help.html index 499292d3ba0..bf24b234c89 100644 --- a/rust-doc/help.html +++ b/rust-doc/help.html @@ -1 +1 @@ -database module. +
pub fn get_migrations() -> Vec<SqlMigration>
Get all the migrations required by this version of the software. +
pub fn get_migrations() -> Vec<SqlMigration>
Get all the migrations required by this version of the software. There shall be one migration per database version. There could be several statements per migration.
Migration module
+Migration module
Aggregator related database providers
+Aggregator related database providers
certificate
tablepub struct CertificateRecord {Show 13 fields
- pub certificate_id: String,
- pub parent_certificate_id: Option<String>,
- pub message: String,
+CertificateRecord in mithril_aggregator::database::provider - Rust Struct mithril_aggregator::database::provider::CertificateRecord
source · pub struct CertificateRecord {Show 13 fields
+ pub certificate_id: String,
+ pub parent_certificate_id: Option<String>,
+ pub message: String,
pub signature: HexEncodedKey,
pub aggregate_verification_key: HexEncodedAgregateVerificationKey,
pub epoch: Epoch,
@@ -9,13 +9,13 @@
pub protocol_version: ProtocolVersion,
pub protocol_parameters: ProtocolParameters,
pub protocol_message: ProtocolMessage,
- pub signers: Vec<SignerWithStake>,
+ pub signers: Vec<SignerWithStake>,
pub initiated_at: DateTime<Utc>,
pub sealed_at: DateTime<Utc>,
}
Expand description
Certificate record is the representation of a stored certificate.
-Fields§
§certificate_id: String
Certificate id.
-§parent_certificate_id: Option<String>
Parent Certificate id.
-§message: String
Message that is signed.
+Fields§
§certificate_id: String
Certificate id.
+§parent_certificate_id: Option<String>
Parent Certificate id.
+§message: String
Message that is signed.
§signature: HexEncodedKey
Signature of the certificate.
Note: multi-signature if parent certificate id is set, genesis signature otherwise.
§aggregate_verification_key: HexEncodedAgregateVerificationKey
Aggregate verification key
@@ -25,46 +25,46 @@
§protocol_version: ProtocolVersion
Protocol Version (semver)
§protocol_parameters: ProtocolParameters
Protocol parameters.
§protocol_message: ProtocolMessage
Structured message that is used to create the signed message
-§signers: Vec<SignerWithStake>
The list of the active signers with their stakes and verification keys
+§signers: Vec<SignerWithStake>
The list of the active signers with their stakes and verification keys
§initiated_at: DateTime<Utc>
Date and time when the certificate was initiated
§sealed_at: DateTime<Utc>
Date and time when the certificate was sealed
-Trait Implementations§
source§impl Clone for CertificateRecord
source§fn clone(&self) -> CertificateRecord
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for CertificateRecord
source§impl From<Certificate> for CertificateRecord
source§fn from(other: Certificate) -> Self
Converts to this type from the input type.source§impl From<CertificateRecord> for Certificate
source§fn from(other: CertificateRecord) -> Self
Converts to this type from the input type.source§impl PartialEq<CertificateRecord> for CertificateRecord
source§fn eq(&self, other: &CertificateRecord) -> bool
This method tests for self
and other
values to be equal, and is used
-by ==
.source§impl SqLiteEntity for CertificateRecord
source§fn hydrate(row: Row) -> Result<Self, HydrationError>where
- Self: Sized,
This method is intended to be used when creating new instances from SQL
+Trait Implementations§
source§impl Clone for CertificateRecord
source§fn clone(&self) -> CertificateRecord
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for CertificateRecord
source§impl From<Certificate> for CertificateRecord
source§fn from(other: Certificate) -> Self
Converts to this type from the input type.source§impl From<CertificateRecord> for Certificate
source§fn from(other: CertificateRecord) -> Self
Converts to this type from the input type.source§impl PartialEq<CertificateRecord> for CertificateRecord
source§fn eq(&self, other: &CertificateRecord) -> bool
This method tests for self
and other
values to be equal, and is used
+by ==
.source§impl SqLiteEntity for CertificateRecord
source§fn hydrate(row: Row) -> Result<Self, HydrationError>where
+ Self: Sized,
This method is intended to be used when creating new instances from SQL
result rows. This is the place to grab data, check consistency and types
-and return the entity if possible.source§fn get_projection() -> Projection
Construct a Projection that will allow to hydrate this SqLiteEntity
.source§impl StructuralPartialEq for CertificateRecord
Auto Trait Implementations§
§impl RefUnwindSafe for CertificateRecord
§impl Send for CertificateRecord
§impl Sync for CertificateRecord
§impl Unpin for CertificateRecord
§impl UnwindSafe for CertificateRecord
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
+and return the entity if possible.
source§fn get_projection() -> Projection
Construct a Projection that will allow to hydrate this SqLiteEntity
.source§impl StructuralPartialEq for CertificateRecord
Auto Trait Implementations§
§impl RefUnwindSafe for CertificateRecord
§impl Send for CertificateRecord
§impl Sync for CertificateRecord
§impl Unpin for CertificateRecord
§impl UnwindSafe for CertificateRecord
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
- Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
+ Src: CheckedCast<Dst>,source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
- Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
- Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
Performs the conversion.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
+ Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
+ Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
Performs the conversion.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
- Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.§impl<T> Pointable for T
source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
+ Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.§impl<T> Pointable for T
source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
- Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
+ Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.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
+ S: Into<Dispatch>,source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
source§fn wrapping_cast_from(src: Src) -> Dst
Casts the value.§impl<T> SendSyncUnwindSafe for Twhere
- T: Send + Sync + UnwindSafe + ?Sized,
\ No newline at end of file
+ T: Send + Sync + UnwindSafe + ?Sized,
\ No newline at end of file
diff --git a/rust-doc/mithril_aggregator/database/provider/struct.CertificateRecordProvider.html b/rust-doc/mithril_aggregator/database/provider/struct.CertificateRecordProvider.html
index e86b1bb68bd..54206d6db9e 100644
--- a/rust-doc/mithril_aggregator/database/provider/struct.CertificateRecordProvider.html
+++ b/rust-doc/mithril_aggregator/database/provider/struct.CertificateRecordProvider.html
@@ -1,46 +1,46 @@
-CertificateRecordProvider in mithril_aggregator::database::provider - Rust pub struct CertificateRecordProvider<'client> { /* private fields */ }
Expand description
Simple CertificateRecord provider.
+CertificateRecordProvider in mithril_aggregator::database::provider - Rust pub struct CertificateRecordProvider<'client> { /* private fields */ }
Expand description
Simple CertificateRecord provider.
Implementations§
source§impl<'client> CertificateRecordProvider<'client>
sourcepub fn get_by_certificate_id(
&self,
- certificate_id: &str
+ certificate_id: &str
) -> StdResult<EntityCursor<'_, CertificateRecord>>
Get CertificateRecords for a given certificate id.
sourcepub fn get_by_epoch(
&self,
epoch: &Epoch
) -> StdResult<EntityCursor<'_, CertificateRecord>>
Get CertificateRecords for a given Epoch.
sourcepub fn get_all(&self) -> StdResult<EntityCursor<'_, CertificateRecord>>
Get all CertificateRecords.
-Trait Implementations§
source§impl<'client> Provider<'client> for CertificateRecordProvider<'client>
§type Entity = CertificateRecord
Entity type returned by the result cursor.source§fn get_connection(&'client self) -> &'client Connection
Share the connection.source§fn get_definition(&self, condition: &str) -> String
Return the definition of this provider, ie the actual SQL query this
+Trait Implementations§
source§impl<'client> Provider<'client> for CertificateRecordProvider<'client>
§type Entity = CertificateRecord
Entity type returned by the result cursor.source§fn get_connection(&'client self) -> &'client Connection
Share the connection.source§fn get_definition(&self, condition: &str) -> String
Return the definition of this provider, ie the actual SQL query this
provider performs.Auto Trait Implementations§
§impl<'client> !RefUnwindSafe for CertificateRecordProvider<'client>
§impl<'client> !Send for CertificateRecordProvider<'client>
§impl<'client> !Sync for CertificateRecordProvider<'client>
§impl<'client> Unpin for CertificateRecordProvider<'client>
§impl<'client> !UnwindSafe for CertificateRecordProvider<'client>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreAuto Trait Implementations§
§impl<'client> !RefUnwindSafe for CertificateRecordProvider<'client>
§impl<'client> !Send for CertificateRecordProvider<'client>
§impl<'client> !Sync for CertificateRecordProvider<'client>
§impl<'client> Unpin for CertificateRecordProvider<'client>
§impl<'client> !UnwindSafe for CertificateRecordProvider<'client>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
- Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
+ Src: CheckedCast<Dst>,source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
- Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
- Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
Performs the conversion.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
+ Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
+ Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
Performs the conversion.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
- Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.§impl<T> Pointable for T
source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
+ Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.§impl<T> Pointable for T
source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
- Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
+ Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.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
+ S: Into<Dispatch>,source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
diff --git a/rust-doc/mithril_aggregator/database/provider/struct.CertificateRepository.html b/rust-doc/mithril_aggregator/database/provider/struct.CertificateRepository.html
index 9a7bd3d23e3..27b81cc3ad1 100644
--- a/rust-doc/mithril_aggregator/database/provider/struct.CertificateRepository.html
+++ b/rust-doc/mithril_aggregator/database/provider/struct.CertificateRepository.html
@@ -1,17 +1,17 @@
-CertificateRepository in mithril_aggregator::database::provider - Rust pub struct CertificateRepository { /* private fields */ }
Expand description
Database frontend API for Certificate queries.
-Implementations§
source§impl CertificateRepository
sourcepub fn new(connection: Arc<Mutex<Connection>>) -> Self
Instantiate a new repository
+CertificateRepository in mithril_aggregator::database::provider - Rust pub struct CertificateRepository { /* private fields */ }
Expand description
Database frontend API for Certificate queries.
+Implementations§
source§impl CertificateRepository
sourcepub async fn get_certificate(
&self,
- hash: &str
-) -> StdResult<Option<Certificate>>
Return the certificate corresponding to the given hash if any.
+ hash: &str
+) -> StdResult<Option<Certificate>>Return the certificate corresponding to the given hash if any.
sourcepub async fn get_latest_certificates(
&self,
- last_n: usize
-) -> StdResult<Vec<Certificate>>
Return the latest certificates.
+ last_n: usize
+) -> StdResult<Vec<Certificate>>Return the latest certificates.
sourcepub async fn get_master_certificate_for_epoch(
&self,
epoch: Epoch
-) -> StdResult<Option<Certificate>>
Return the first certificate signed per epoch as the reference
+) -> StdResult<Option<Certificate>>
Return the first certificate signed per epoch as the reference
certificate for this Epoch. This will be the parent certificate for all
other certificates issued within this Epoch.
sourcepub async fn create_certificate(
@@ -20,47 +20,47 @@
) -> StdResult<Certificate>
Create a new certificate in the database.
sourcepub async fn create_many_certificates(
&self,
- certificates: Vec<Certificate>
-) -> StdResult<Vec<Certificate>>
Create many certificates at once in the database.
+ certificates: Vec<Certificate>
+) -> StdResult<Vec<Certificate>>Create many certificates at once in the database.
sourcepub async fn delete_certificates(
&self,
certificates: &[&Certificate]
-) -> StdResult<()>
Trait Implementations§
source§impl CertificateRetriever for CertificateRepository
source§fn get_certificate_details<'life0, 'life1, 'async_trait>(
&'life0 self,
- certificate_hash: &'life1 str
-) -> Pin<Box<dyn Future<Output = Result<Certificate, CertificateRetrieverError>> + Send + 'async_trait>>where
+ certificate_hash: &'life1 str
+) -> Pin<Box<dyn Future<Output = Result<Certificate, CertificateRetrieverError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
- 'life1: 'async_trait,
Get Certificate detailsAuto Trait Implementations§
§impl !RefUnwindSafe for CertificateRepository
§impl Send for CertificateRepository
§impl Sync for CertificateRepository
§impl Unpin for CertificateRepository
§impl !UnwindSafe for CertificateRepository
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
+ 'life1: 'async_trait,
Get Certificate detailsAuto Trait Implementations§
§impl !RefUnwindSafe for CertificateRepository
§impl Send for CertificateRepository
§impl Sync for CertificateRepository
§impl Unpin for CertificateRepository
§impl !UnwindSafe for CertificateRepository
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
- Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
+ Src: CheckedCast<Dst>,source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
- Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
- Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
Performs the conversion.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
+ Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
+ Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
Performs the conversion.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
- Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.§impl<T> Pointable for T
source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
+ Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.§impl<T> Pointable for T
source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
- Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
+ Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.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
+ S: Into<Dispatch>,source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
diff --git a/rust-doc/mithril_aggregator/database/provider/struct.DeleteCertificateProvider.html b/rust-doc/mithril_aggregator/database/provider/struct.DeleteCertificateProvider.html
index 9b71a3e4f1b..43d147a1f22 100644
--- a/rust-doc/mithril_aggregator/database/provider/struct.DeleteCertificateProvider.html
+++ b/rust-doc/mithril_aggregator/database/provider/struct.DeleteCertificateProvider.html
@@ -1,41 +1,41 @@
-DeleteCertificateProvider in mithril_aggregator::database::provider - Rust pub struct DeleteCertificateProvider<'conn> { /* private fields */ }
Expand description
Provider to remove old data from the certificate
table
+DeleteCertificateProvider in mithril_aggregator::database::provider - Rust pub struct DeleteCertificateProvider<'conn> { /* private fields */ }
Expand description
Provider to remove old data from the certificate
table
Implementations§
source§impl<'conn> DeleteCertificateProvider<'conn>
sourcepub fn delete_by_ids(
&self,
- ids: &[&str]
+ ids: &[&str]
) -> StdResult<EntityCursor<'_, CertificateRecord>>
Delete the certificates with with the given ids.
-Trait Implementations§
source§impl<'conn> Provider<'conn> for DeleteCertificateProvider<'conn>
§type Entity = CertificateRecord
Entity type returned by the result cursor.source§fn get_connection(&'conn self) -> &'conn Connection
Share the connection.source§fn get_definition(&self, condition: &str) -> String
Return the definition of this provider, ie the actual SQL query this
+Trait Implementations§
source§impl<'conn> Provider<'conn> for DeleteCertificateProvider<'conn>
§type Entity = CertificateRecord
Entity type returned by the result cursor.source§fn get_connection(&'conn self) -> &'conn Connection
Share the connection.source§fn get_definition(&self, condition: &str) -> String
Return the definition of this provider, ie the actual SQL query this
provider performs.Auto Trait Implementations§
§impl<'conn> !RefUnwindSafe for DeleteCertificateProvider<'conn>
§impl<'conn> !Send for DeleteCertificateProvider<'conn>
§impl<'conn> !Sync for DeleteCertificateProvider<'conn>
§impl<'conn> Unpin for DeleteCertificateProvider<'conn>
§impl<'conn> !UnwindSafe for DeleteCertificateProvider<'conn>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreAuto Trait Implementations§
§impl<'conn> !RefUnwindSafe for DeleteCertificateProvider<'conn>
§impl<'conn> !Send for DeleteCertificateProvider<'conn>
§impl<'conn> !Sync for DeleteCertificateProvider<'conn>
§impl<'conn> Unpin for DeleteCertificateProvider<'conn>
§impl<'conn> !UnwindSafe for DeleteCertificateProvider<'conn>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
- Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
+ Src: CheckedCast<Dst>,source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
- Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
- Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
Performs the conversion.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
+ Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
+ Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
Performs the conversion.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
- Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.§impl<T> Pointable for T
source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
+ Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.§impl<T> Pointable for T
source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
- Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
+ Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.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
+ S: Into<Dispatch>,source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
diff --git a/rust-doc/mithril_aggregator/database/provider/struct.DeleteEpochSettingProvider.html b/rust-doc/mithril_aggregator/database/provider/struct.DeleteEpochSettingProvider.html
index 1002d3d74df..382216491e0 100644
--- a/rust-doc/mithril_aggregator/database/provider/struct.DeleteEpochSettingProvider.html
+++ b/rust-doc/mithril_aggregator/database/provider/struct.DeleteEpochSettingProvider.html
@@ -1,45 +1,45 @@
-DeleteEpochSettingProvider in mithril_aggregator::database::provider - Rust pub struct DeleteEpochSettingProvider<'conn> { /* private fields */ }
Expand description
Provider to remove old data from the epoch_setting table
+DeleteEpochSettingProvider in mithril_aggregator::database::provider - Rust pub struct DeleteEpochSettingProvider<'conn> { /* private fields */ }
Expand description
Provider to remove old data from the epoch_setting table
Implementations§
source§impl<'conn> DeleteEpochSettingProvider<'conn>
sourcepub fn delete(
&self,
epoch: Epoch
-) -> Result<EntityCursor<'_, EpochSettingRecord>, StdError>
Delete the epoch setting data given the Epoch
+) -> Result<EntityCursor<'_, EpochSettingRecord>, StdError>Delete the epoch setting data given the Epoch
sourcepub fn prune(
&self,
epoch_threshold: Epoch
-) -> Result<EntityCursor<'_, EpochSettingRecord>, StdError>
Prune the epoch setting data older than the given epoch.
-Trait Implementations§
source§impl<'conn> Provider<'conn> for DeleteEpochSettingProvider<'conn>
§type Entity = EpochSettingRecord
Entity type returned by the result cursor.source§fn get_connection(&'conn self) -> &'conn Connection
Share the connection.source§fn get_definition(&self, condition: &str) -> String
Return the definition of this provider, ie the actual SQL query this
+) -> Result<EntityCursor<'_, EpochSettingRecord>, StdError>Prune the epoch setting data older than the given epoch.
+Trait Implementations§
source§impl<'conn> Provider<'conn> for DeleteEpochSettingProvider<'conn>
§type Entity = EpochSettingRecord
Entity type returned by the result cursor.source§fn get_connection(&'conn self) -> &'conn Connection
Share the connection.source§fn get_definition(&self, condition: &str) -> String
Return the definition of this provider, ie the actual SQL query this
provider performs.Auto Trait Implementations§
§impl<'conn> !RefUnwindSafe for DeleteEpochSettingProvider<'conn>
§impl<'conn> !Send for DeleteEpochSettingProvider<'conn>
§impl<'conn> !Sync for DeleteEpochSettingProvider<'conn>
§impl<'conn> Unpin for DeleteEpochSettingProvider<'conn>
§impl<'conn> !UnwindSafe for DeleteEpochSettingProvider<'conn>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreAuto Trait Implementations§
§impl<'conn> !RefUnwindSafe for DeleteEpochSettingProvider<'conn>
§impl<'conn> !Send for DeleteEpochSettingProvider<'conn>
§impl<'conn> !Sync for DeleteEpochSettingProvider<'conn>
§impl<'conn> Unpin for DeleteEpochSettingProvider<'conn>
§impl<'conn> !UnwindSafe for DeleteEpochSettingProvider<'conn>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
- Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
+ Src: CheckedCast<Dst>,source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
- Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
- Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
Performs the conversion.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
+ Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
+ Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
Performs the conversion.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
- Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.§impl<T> Pointable for T
source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
+ Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.§impl<T> Pointable for T
source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
- Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
+ Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.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
+ S: Into<Dispatch>,source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
diff --git a/rust-doc/mithril_aggregator/database/provider/struct.DeleteSignerRegistrationRecordProvider.html b/rust-doc/mithril_aggregator/database/provider/struct.DeleteSignerRegistrationRecordProvider.html
index 882e6920101..f99d26cafd7 100644
--- a/rust-doc/mithril_aggregator/database/provider/struct.DeleteSignerRegistrationRecordProvider.html
+++ b/rust-doc/mithril_aggregator/database/provider/struct.DeleteSignerRegistrationRecordProvider.html
@@ -1,45 +1,45 @@
-DeleteSignerRegistrationRecordProvider in mithril_aggregator::database::provider - Rust pub struct DeleteSignerRegistrationRecordProvider<'conn> { /* private fields */ }
Expand description
Provider to remove old data from the signer_registration table
+DeleteSignerRegistrationRecordProvider in mithril_aggregator::database::provider - Rust pub struct DeleteSignerRegistrationRecordProvider<'conn> { /* private fields */ }
Expand description
Provider to remove old data from the signer_registration table
Implementations§
source§impl<'conn> DeleteSignerRegistrationRecordProvider<'conn>
sourcepub fn delete(
&self,
epoch: Epoch
-) -> Result<EntityCursor<'_, SignerRegistrationRecord>, StdError>
Delete the epoch setting data given the Epoch
+) -> Result<EntityCursor<'_, SignerRegistrationRecord>, StdError>Delete the epoch setting data given the Epoch
sourcepub fn prune(
&self,
epoch_threshold: Epoch
-) -> Result<EntityCursor<'_, SignerRegistrationRecord>, StdError>
Prune the epoch setting data older than the given epoch.
-Trait Implementations§
source§impl<'conn> Provider<'conn> for DeleteSignerRegistrationRecordProvider<'conn>
§type Entity = SignerRegistrationRecord
Entity type returned by the result cursor.source§fn get_connection(&'conn self) -> &'conn Connection
Share the connection.source§fn get_definition(&self, condition: &str) -> String
Return the definition of this provider, ie the actual SQL query this
+) -> Result<EntityCursor<'_, SignerRegistrationRecord>, StdError>Prune the epoch setting data older than the given epoch.
+Trait Implementations§
source§impl<'conn> Provider<'conn> for DeleteSignerRegistrationRecordProvider<'conn>
§type Entity = SignerRegistrationRecord
Entity type returned by the result cursor.source§fn get_connection(&'conn self) -> &'conn Connection
Share the connection.source§fn get_definition(&self, condition: &str) -> String
Return the definition of this provider, ie the actual SQL query this
provider performs.Auto Trait Implementations§
§impl<'conn> !RefUnwindSafe for DeleteSignerRegistrationRecordProvider<'conn>
§impl<'conn> !Send for DeleteSignerRegistrationRecordProvider<'conn>
§impl<'conn> !Sync for DeleteSignerRegistrationRecordProvider<'conn>
§impl<'conn> Unpin for DeleteSignerRegistrationRecordProvider<'conn>
§impl<'conn> !UnwindSafe for DeleteSignerRegistrationRecordProvider<'conn>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreAuto Trait Implementations§
§impl<'conn> !RefUnwindSafe for DeleteSignerRegistrationRecordProvider<'conn>
§impl<'conn> !Send for DeleteSignerRegistrationRecordProvider<'conn>
§impl<'conn> !Sync for DeleteSignerRegistrationRecordProvider<'conn>
§impl<'conn> Unpin for DeleteSignerRegistrationRecordProvider<'conn>
§impl<'conn> !UnwindSafe for DeleteSignerRegistrationRecordProvider<'conn>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
- Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
+ Src: CheckedCast<Dst>,source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
- Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
- Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
Performs the conversion.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
+ Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
+ Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
Performs the conversion.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
- Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.§impl<T> Pointable for T
source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
+ Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.§impl<T> Pointable for T
source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
- Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
+ Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.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
+ S: Into<Dispatch>,source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
diff --git a/rust-doc/mithril_aggregator/database/provider/struct.DeleteStakePoolProvider.html b/rust-doc/mithril_aggregator/database/provider/struct.DeleteStakePoolProvider.html
index c5eb56e5817..94fdbae60f7 100644
--- a/rust-doc/mithril_aggregator/database/provider/struct.DeleteStakePoolProvider.html
+++ b/rust-doc/mithril_aggregator/database/provider/struct.DeleteStakePoolProvider.html
@@ -1,41 +1,41 @@
-DeleteStakePoolProvider in mithril_aggregator::database::provider - Rust pub struct DeleteStakePoolProvider<'conn> { /* private fields */ }
Expand description
Provider to remove old data from the stake_pool table
+DeleteStakePoolProvider in mithril_aggregator::database::provider - Rust pub struct DeleteStakePoolProvider<'conn> { /* private fields */ }
Expand description
Provider to remove old data from the stake_pool table
Implementations§
Trait Implementations§
source§impl<'conn> Provider<'conn> for DeleteStakePoolProvider<'conn>
source§fn get_connection(&'conn self) -> &'conn Connection
Share the connection.source§fn get_definition(&self, condition: &str) -> String
Return the definition of this provider, ie the actual SQL query this
+) -> Result<EntityCursor<'_, StakePool>, StdError>Prune the stake pools data older than the given epoch.
+Trait Implementations§
source§impl<'conn> Provider<'conn> for DeleteStakePoolProvider<'conn>
source§fn get_connection(&'conn self) -> &'conn Connection
Share the connection.source§fn get_definition(&self, condition: &str) -> String
Return the definition of this provider, ie the actual SQL query this
provider performs.Auto Trait Implementations§
§impl<'conn> !RefUnwindSafe for DeleteStakePoolProvider<'conn>
§impl<'conn> !Send for DeleteStakePoolProvider<'conn>
§impl<'conn> !Sync for DeleteStakePoolProvider<'conn>
§impl<'conn> Unpin for DeleteStakePoolProvider<'conn>
§impl<'conn> !UnwindSafe for DeleteStakePoolProvider<'conn>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreAuto Trait Implementations§
§impl<'conn> !RefUnwindSafe for DeleteStakePoolProvider<'conn>
§impl<'conn> !Send for DeleteStakePoolProvider<'conn>
§impl<'conn> !Sync for DeleteStakePoolProvider<'conn>
§impl<'conn> Unpin for DeleteStakePoolProvider<'conn>
§impl<'conn> !UnwindSafe for DeleteStakePoolProvider<'conn>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
- Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
+ Src: CheckedCast<Dst>,source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
- Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
- Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
Performs the conversion.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
+ Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
+ Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
Performs the conversion.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
- Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.§impl<T> Pointable for T
source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
+ Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.§impl<T> Pointable for T
source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
- Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
+ Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.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
+ S: Into<Dispatch>,source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
diff --git a/rust-doc/mithril_aggregator/database/provider/struct.EpochSettingProvider.html b/rust-doc/mithril_aggregator/database/provider/struct.EpochSettingProvider.html
index 9feb7290a3c..94b22d2d356 100644
--- a/rust-doc/mithril_aggregator/database/provider/struct.EpochSettingProvider.html
+++ b/rust-doc/mithril_aggregator/database/provider/struct.EpochSettingProvider.html
@@ -1,42 +1,42 @@
-EpochSettingProvider in mithril_aggregator::database::provider - Rust Struct mithril_aggregator::database::provider::EpochSettingProvider
source · pub struct EpochSettingProvider<'client> { /* private fields */ }
Expand description
Simple EpochSettingRecord provider.
+EpochSettingProvider in mithril_aggregator::database::provider - Rust Struct mithril_aggregator::database::provider::EpochSettingProvider
source · pub struct EpochSettingProvider<'client> { /* private fields */ }
Expand description
Simple EpochSettingRecord provider.
Implementations§
source§impl<'client> EpochSettingProvider<'client>
sourcepub fn get_by_epoch(
&self,
epoch: &Epoch
-) -> Result<EntityCursor<'_, EpochSettingRecord>, StdError>
Get EpochSettingRecords for a given Epoch for given pool_ids.
-sourcepub fn get_all(&self) -> Result<EntityCursor<'_, EpochSettingRecord>, StdError>
Get all EpochSettingRecords.
-Trait Implementations§
source§impl<'client> Provider<'client> for EpochSettingProvider<'client>
§type Entity = EpochSettingRecord
Entity type returned by the result cursor.source§fn get_connection(&'client self) -> &'client Connection
Share the connection.source§fn get_definition(&self, condition: &str) -> String
Return the definition of this provider, ie the actual SQL query this
+) -> Result<EntityCursor<'_, EpochSettingRecord>, StdError>Get EpochSettingRecords for a given Epoch for given pool_ids.
+sourcepub fn get_all(&self) -> Result<EntityCursor<'_, EpochSettingRecord>, StdError>
Get all EpochSettingRecords.
+Trait Implementations§
source§impl<'client> Provider<'client> for EpochSettingProvider<'client>
§type Entity = EpochSettingRecord
Entity type returned by the result cursor.source§fn get_connection(&'client self) -> &'client Connection
Share the connection.source§fn get_definition(&self, condition: &str) -> String
Return the definition of this provider, ie the actual SQL query this
provider performs.Auto Trait Implementations§
§impl<'client> !RefUnwindSafe for EpochSettingProvider<'client>
§impl<'client> !Send for EpochSettingProvider<'client>
§impl<'client> !Sync for EpochSettingProvider<'client>
§impl<'client> Unpin for EpochSettingProvider<'client>
§impl<'client> !UnwindSafe for EpochSettingProvider<'client>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
- T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreAuto Trait Implementations§
§impl<'client> !RefUnwindSafe for EpochSettingProvider<'client>
§impl<'client> !Send for EpochSettingProvider<'client>
§impl<'client> !Sync for EpochSettingProvider<'client>
§impl<'client> Unpin for EpochSettingProvider<'client>
§impl<'client> !UnwindSafe for EpochSettingProvider<'client>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
+ T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
- Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
+ Src: CheckedCast<Dst>,source§fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.source§impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
- Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
- Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
Performs the conversion.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
+ Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
+ Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
Performs the conversion.source§impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
- Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.§impl<T> Pointable for T
source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
+ Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.§impl<T> Pointable for T
source§impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
- Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
+ Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
Casts the value.source§impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.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
+ S: Into<Dispatch>,source§fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
diff --git a/rust-doc/mithril_aggregator/database/provider/struct.EpochSettingRecord.html b/rust-doc/mithril_aggregator/database/provider/struct.EpochSettingRecord.html
index 5ea44a949e1..04c2903184d 100644
--- a/rust-doc/mithril_aggregator/database/provider/struct.EpochSettingRecord.html
+++ b/rust-doc/mithril_aggregator/database/provider/struct.EpochSettingRecord.html
@@ -1,40 +1,40 @@
-EpochSettingRecord in mithril_aggregator::database::provider - Rust Struct mithril_aggregator::database::provider::EpochSettingRecord
source · pub struct EpochSettingRecord { /* private fields */ }
Expand description
Settings for an epoch, including the protocol parameters.
-Trait Implementations§
source§impl Debug for EpochSettingRecord
source§impl PartialEq<EpochSettingRecord> for EpochSettingRecord
source§fn eq(&self, other: &EpochSettingRecord) -> bool
This method tests for self
and other
values to be equal, and is used
-by ==
.source§impl SqLiteEntity for EpochSettingRecord
source§fn hydrate(row: Row) -> Result<Self, HydrationError>where
- Self: