pub struct SubstrateWeight<T>(/* private fields */);Expand description
Weight functions for pallet_subspace_extension.
Trait Implementations§
Source§impl<T: Config> WeightInfo for SubstrateWeight<T>
 
impl<T: Config> WeightInfo for SubstrateWeight<T>
Source§fn vote() -> Weight
 
fn vote() -> Weight
Storage: System::BlockHash (r:1 w:0)
Proof: System::BlockHash (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
Storage: Subspace::SolutionRanges (r:1 w:0)
Proof: Subspace::SolutionRanges (max_values: Some(1), max_size: None, mode: Measured)
Storage: Subspace::BlockSlots (r:1 w:0)
Proof: Subspace::BlockSlots (max_values: Some(1), max_size: None, mode: Measured)
Storage: Subspace::ParentVoteVerificationData (r:1 w:0)
Proof: Subspace::ParentVoteVerificationData (max_values: Some(1), max_size: None, mode: Measured)
Storage: Subspace::SegmentCommitment (r:2 w:0)
Proof: Subspace::SegmentCommitment (max_values: None, max_size: None, mode: Measured)
Storage: Subspace::CounterForSegmentCommitment (r:1 w:0)
Proof: Subspace::CounterForSegmentCommitment (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: Subspace::ParentBlockAuthorInfo (r:1 w:0)
Proof: Subspace::ParentBlockAuthorInfo (max_values: Some(1), max_size: None, mode: Measured)
Storage: Subspace::CurrentBlockAuthorInfo (r:1 w:0)
Proof: Subspace::CurrentBlockAuthorInfo (max_values: Some(1), max_size: None, mode: Measured)
Storage: Subspace::ParentBlockVoters (r:1 w:0)
Proof: Subspace::ParentBlockVoters (max_values: Some(1), max_size: None, mode: Measured)
Storage: Subspace::CurrentBlockVoters (r:1 w:1)
Proof: Subspace::CurrentBlockVoters (max_values: Some(1), max_size: None, mode: Measured)
Source§fn vote_with_equivocation() -> Weight
 
fn vote_with_equivocation() -> Weight
Storage: System::BlockHash (r:1 w:0)
Proof: System::BlockHash (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen)
Storage: Subspace::SolutionRanges (r:1 w:0)
Proof: Subspace::SolutionRanges (max_values: Some(1), max_size: None, mode: Measured)
Storage: Subspace::BlockSlots (r:1 w:0)
Proof: Subspace::BlockSlots (max_values: Some(1), max_size: None, mode: Measured)
Storage: Subspace::ParentVoteVerificationData (r:1 w:0)
Proof: Subspace::ParentVoteVerificationData (max_values: Some(1), max_size: None, mode: Measured)
Storage: Subspace::SegmentCommitment (r:2 w:0)
Proof: Subspace::SegmentCommitment (max_values: None, max_size: None, mode: Measured)
Storage: Subspace::CounterForSegmentCommitment (r:1 w:0)
Proof: Subspace::CounterForSegmentCommitment (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
Storage: Subspace::ParentBlockAuthorInfo (r:1 w:0)
Proof: Subspace::ParentBlockAuthorInfo (max_values: Some(1), max_size: None, mode: Measured)
Storage: Subspace::CurrentBlockAuthorInfo (r:1 w:1)
Proof: Subspace::CurrentBlockAuthorInfo (max_values: Some(1), max_size: None, mode: Measured)
Storage: Subspace::CurrentBlockVoters (r:1 w:1)
Proof: Subspace::CurrentBlockVoters (max_values: Some(1), max_size: None, mode: Measured)
Auto Trait Implementations§
impl<T> Freeze for SubstrateWeight<T>
impl<T> RefUnwindSafe for SubstrateWeight<T>where
    T: RefUnwindSafe,
impl<T> Send for SubstrateWeight<T>where
    T: Send,
impl<T> Sync for SubstrateWeight<T>where
    T: Sync,
impl<T> Unpin for SubstrateWeight<T>where
    T: Unpin,
impl<T> UnwindSafe for SubstrateWeight<T>where
    T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
§impl<T> CheckedConversion for T
 
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
    Self: TryFrom<T>,
 
fn checked_from<T>(t: T) -> Option<Self>where
    Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
    Self: TryInto<T>,
 
fn checked_into<T>(self) -> Option<T>where
    Self: TryInto<T>,
§impl<T> Instrument for T
 
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<Src, Dest> IntoTuple<Dest> for Srcwhere
    Dest: FromTuple<Src>,
 
impl<Src, Dest> IntoTuple<Dest> for Srcwhere
    Dest: FromTuple<Src>,
fn into_tuple(self) -> Dest
§impl<T> IsType<T> for T
 
impl<T> IsType<T> for T
§impl<T, Outer> IsWrappedBy<Outer> for T
 
impl<T, Outer> IsWrappedBy<Outer> for T
§impl<T> Pointable for T
 
impl<T> Pointable for T
§impl<T> SaturatedConversion for T
 
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
    Self: UniqueSaturatedFrom<T>,
 
fn saturated_from<T>(t: T) -> Selfwhere
    Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
    Self: UniqueSaturatedInto<T>,
 
fn saturated_into<T>(self) -> Twhere
    Self: UniqueSaturatedInto<T>,
T. Read more§impl<T, U> TryIntoKey<U> for Twhere
    U: TryFromKey<T>,
 
impl<T, U> TryIntoKey<U> for Twhere
    U: TryFromKey<T>,
type Error = <U as TryFromKey<T>>::Error
fn try_into_key(self) -> Result<U, <U as TryFromKey<T>>::Error>
§impl<S, T> UncheckedInto<T> for Swhere
    T: UncheckedFrom<S>,
 
impl<S, T> UncheckedInto<T> for Swhere
    T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
 
fn unchecked_into(self) -> T
unchecked_from.§impl<T, S> UniqueSaturatedInto<T> for S
 
impl<T, S> UniqueSaturatedInto<T> for S
§fn unique_saturated_into(self) -> T
 
fn unique_saturated_into(self) -> T
T.