pub trait IntoDisk {
type Bytes: AsRef<[u8]>;
// Required method
fn as_bytes(&self) -> Self::Bytes;
}
Expand description
Helper type for writing types to disk as raw bytes. Also used to convert key types to raw bytes for disk lookups.
Required Associated Types§
Required Methods§
Implementations on Foreign Types§
source§impl IntoDisk for Option<SaplingScannedResult>
impl IntoDisk for Option<SaplingScannedResult>
source§impl IntoDisk for Transaction
impl IntoDisk for Transaction
source§impl IntoDisk for Amount<NonNegative>
impl IntoDisk for Amount<NonNegative>
source§impl IntoDisk for NoteCommitmentTree
impl IntoDisk for NoteCommitmentTree
source§impl IntoDisk for NoteCommitmentTree
impl IntoDisk for NoteCommitmentTree
source§impl IntoDisk for NoteCommitmentTree
impl IntoDisk for NoteCommitmentTree
source§impl IntoDisk for ValueBalance<NonNegative>
impl IntoDisk for ValueBalance<NonNegative>
Implementors§
source§impl IntoDisk for TransactionIndex
impl IntoDisk for TransactionIndex
TransactionIndex is only serialized as part of TransactionLocation