// Copyright 2020-2021 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0
usecrate::Error;/// The kind of a snapshot.
#[repr(u8)]#[derive(Debug, Copy, Clone, Eq, PartialEq, packable::Packable)]#[packable(unpack_error = Error)]#[packable(tag_type = u8, with_error = Error::InvalidSnapshotKind)]pubenumSnapshotKind{/// Full is a snapshot which contains the full ledger entry for a given milestone plus the milestone diffs which
/// subtracted to the ledger milestone reduce to the snapshot milestone ledger.
Full =0,/// Delta is a snapshot which contains solely diffs of milestones newer than a certain ledger milestone instead of
/// the complete ledger state of a given milestone.
Delta =1,}