pub enum BundleKind {
Blocks,
AccountState,
}Expand description
What a bundle build produces.
Variants§
Blocks
The .blocks bundle a session replays transactions from.
AccountState
An .adlt covering exactly the requested range, which later sessions
replay as state. Ensures the underlying .blocks first.
Implementations§
Source§impl BundleKind
impl BundleKind
Sourcepub fn as_str(self) -> &'static str
pub fn as_str(self) -> &'static str
Stable string form matching the serde snake_case wire representation.
Sourcepub fn from_str_opt(value: &str) -> Option<Self>
pub fn from_str_opt(value: &str) -> Option<Self>
Inverse of Self::as_str; returns None for an unrecognized value.
Trait Implementations§
Source§impl Clone for BundleKind
impl Clone for BundleKind
Source§fn clone(&self) -> BundleKind
fn clone(&self) -> BundleKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BundleKind
Source§impl Debug for BundleKind
impl Debug for BundleKind
Source§impl Default for BundleKind
impl Default for BundleKind
Source§fn default() -> BundleKind
fn default() -> BundleKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BundleKind
impl<'de> Deserialize<'de> for BundleKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BundleKind
Source§impl PartialEq for BundleKind
impl PartialEq for BundleKind
Source§impl Serialize for BundleKind
impl Serialize for BundleKind
impl StructuralPartialEq for BundleKind
Auto Trait Implementations§
impl Freeze for BundleKind
impl RefUnwindSafe for BundleKind
impl Send for BundleKind
impl Sync for BundleKind
impl Unpin for BundleKind
impl UnsafeUnpin for BundleKind
impl UnwindSafe for BundleKind
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
Mutably borrows from an owned value. Read more