[][src]Struct asuran::repository::backend::common::index::IndexTransaction

pub struct IndexTransaction {
    pub chunk_id: ChunkID,
    pub descriptor: SegmentDescriptor,
}

Struct containing the various parts of a transaction

Fields

chunk_id: ChunkID

ID of the Chunk this transaction refers to

descriptor: SegmentDescriptor

The location of this Chunk on disk

Trait Implementations

impl Clone for IndexTransaction[src]

impl Debug for IndexTransaction[src]

impl<'de> Deserialize<'de> for IndexTransaction[src]

impl Eq for IndexTransaction[src]

impl PartialEq<IndexTransaction> for IndexTransaction[src]

impl Serialize for IndexTransaction[src]

impl StructuralEq for IndexTransaction[src]

impl StructuralPartialEq for IndexTransaction[src]

Auto Trait Implementations

impl RefUnwindSafe for IndexTransaction

impl Send for IndexTransaction

impl Sync for IndexTransaction

impl Unpin for IndexTransaction

impl UnwindSafe for IndexTransaction

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]