pub trait Store {
// Required method
fn store_into(
&self,
builder: &mut CellBuilder,
context: &dyn CellContext,
) -> Result<(), Error>;
}Expand description
A data structure that can be serialized into cells.
Required Methods§
Sourcefn store_into(
&self,
builder: &mut CellBuilder,
context: &dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, context: &dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
Implementations on Foreign Types§
Source§impl Store for bool
impl Store for bool
fn store_into( &self, b: &mut CellBuilder, _: &dyn CellContext, ) -> Result<(), Error>
Source§impl Store for i8
impl Store for i8
fn store_into( &self, b: &mut CellBuilder, _: &dyn CellContext, ) -> Result<(), Error>
Source§impl Store for i16
impl Store for i16
fn store_into( &self, b: &mut CellBuilder, _: &dyn CellContext, ) -> Result<(), Error>
Source§impl Store for i32
impl Store for i32
fn store_into( &self, b: &mut CellBuilder, _: &dyn CellContext, ) -> Result<(), Error>
Source§impl Store for i64
impl Store for i64
fn store_into( &self, b: &mut CellBuilder, _: &dyn CellContext, ) -> Result<(), Error>
Source§impl Store for i128
impl Store for i128
fn store_into( &self, b: &mut CellBuilder, _: &dyn CellContext, ) -> Result<(), Error>
Source§impl Store for u8
impl Store for u8
fn store_into( &self, b: &mut CellBuilder, _: &dyn CellContext, ) -> Result<(), Error>
Source§impl Store for u16
impl Store for u16
fn store_into( &self, b: &mut CellBuilder, _: &dyn CellContext, ) -> Result<(), Error>
Source§impl Store for u32
impl Store for u32
fn store_into( &self, b: &mut CellBuilder, _: &dyn CellContext, ) -> Result<(), Error>
Source§impl Store for u64
impl Store for u64
fn store_into( &self, b: &mut CellBuilder, _: &dyn CellContext, ) -> Result<(), Error>
Source§impl Store for u128
impl Store for u128
fn store_into( &self, b: &mut CellBuilder, _: &dyn CellContext, ) -> Result<(), Error>
Source§impl Store for ()
impl Store for ()
fn store_into( &self, _: &mut CellBuilder, _: &dyn CellContext, ) -> Result<(), Error>
Source§impl<T1: Store, T2: Store> Store for (T1, T2)
impl<T1: Store, T2: Store> Store for (T1, T2)
fn store_into( &self, builder: &mut CellBuilder, context: &dyn CellContext, ) -> Result<(), Error>
Source§impl<T1: Store, T2: Store, T3: Store> Store for (T1, T2, T3)
impl<T1: Store, T2: Store, T3: Store> Store for (T1, T2, T3)
fn store_into( &self, builder: &mut CellBuilder, context: &dyn CellContext, ) -> Result<(), Error>
Source§impl<T1: Store, T2: Store, T3: Store, T4: Store> Store for (T1, T2, T3, T4)
impl<T1: Store, T2: Store, T3: Store, T4: Store> Store for (T1, T2, T3, T4)
fn store_into( &self, builder: &mut CellBuilder, context: &dyn CellContext, ) -> Result<(), Error>
Source§impl<T1: Store, T2: Store, T3: Store, T4: Store, T5: Store> Store for (T1, T2, T3, T4, T5)
impl<T1: Store, T2: Store, T3: Store, T4: Store, T5: Store> Store for (T1, T2, T3, T4, T5)
fn store_into( &self, builder: &mut CellBuilder, context: &dyn CellContext, ) -> Result<(), Error>
Source§impl<T1: Store, T2: Store, T3: Store, T4: Store, T5: Store, T6: Store> Store for (T1, T2, T3, T4, T5, T6)
impl<T1: Store, T2: Store, T3: Store, T4: Store, T5: Store, T6: Store> Store for (T1, T2, T3, T4, T5, T6)
fn store_into( &self, builder: &mut CellBuilder, context: &dyn CellContext, ) -> Result<(), Error>
Source§impl<T: Store + ?Sized> Store for &T
impl<T: Store + ?Sized> Store for &T
fn store_into( &self, builder: &mut CellBuilder, context: &dyn CellContext, ) -> Result<(), Error>
Source§impl<T: Store + ?Sized> Store for &mut T
impl<T: Store + ?Sized> Store for &mut T
fn store_into( &self, builder: &mut CellBuilder, context: &dyn CellContext, ) -> Result<(), Error>
Source§impl<T: Store + ?Sized> Store for Box<T>
impl<T: Store + ?Sized> Store for Box<T>
fn store_into( &self, builder: &mut CellBuilder, context: &dyn CellContext, ) -> Result<(), Error>
Source§impl<T: Store + ?Sized> Store for Rc<T>
impl<T: Store + ?Sized> Store for Rc<T>
fn store_into( &self, builder: &mut CellBuilder, context: &dyn CellContext, ) -> Result<(), Error>
Source§impl<T: Store + ?Sized> Store for Arc<T>
impl<T: Store + ?Sized> Store for Arc<T>
fn store_into( &self, builder: &mut CellBuilder, context: &dyn CellContext, ) -> Result<(), Error>
Source§impl<T: Store> Store for Option<T>
impl<T: Store> Store for Option<T>
fn store_into( &self, builder: &mut CellBuilder, context: &dyn CellContext, ) -> Result<(), Error>
Implementors§
impl Store for PlainAbiValue
impl Store for AccountState
impl Store for AccountStatus
impl Store for StorageExtra
impl Store for FutureSplitMerge
impl Store for PrevBlockRef
impl Store for WorkchainFormat
impl Store for InMsg
impl Store for IntAddr
impl Store for IntermediateAddr
impl Store for MsgInfo
impl Store for MsgType
impl Store for OutMsg
impl Store for RelaxedMsgInfo
impl Store for ShardState
impl Store for AccountStatusChange
impl Store for BouncePhase
impl Store for ComputePhase
impl Store for ComputePhaseSkipReason
impl Store for TickTock
impl Store for TxInfo
impl Store for OutAction
impl Store for MerkleProof
impl Store for MerkleUpdate
impl Store for Account
impl Store for OptionalAccount
impl Store for ShardAccount
impl Store for SimpleLib
impl Store for SpecialFlags
impl Store for StateInit
impl Store for StorageInfo
impl Store for StorageUsed
impl Store for StorageUsedShort
impl Store for AccountBlock
impl Store for Block
impl Store for BlockExtra
impl Store for BlockId
impl Store for BlockInfo
impl Store for BlockProof
impl Store for BlockRef
impl Store for BlockSignature
impl Store for BlockSignatures
impl Store for McBlockExtra
impl Store for ShardDescription
impl Store for ShardFeeCreated
impl Store for ShardHashes
impl Store for ShardIdent
impl Store for ShardIdentFull
impl Store for Signature
impl Store for ValueFlow
impl Store for AuthorityMarksConfig
impl Store for BlockCreationRewards
impl Store for BlockLimits
impl Store for BlockParamLimits
impl Store for BlockchainConfig
impl Store for BlockchainConfigParams
impl Store for BurningConfig
impl Store for CatchainConfig
Available on non-crate feature
tycho only.impl Store for ConfigProposalSetup
impl Store for ConfigVotingSetup
impl Store for ConsensusConfig
Available on non-crate feature
tycho only.