[][src]Struct solana_libra_types::write_set::WriteSetMut

pub struct WriteSetMut { /* fields omitted */ }

A mutable version of WriteSet.

This is separate because it goes through validation before becoming an immutable WriteSet.

Methods

impl WriteSetMut[src]

pub fn new(write_set: Vec<(AccessPath, WriteOp)>) -> Self[src]

pub fn push(&mut self, item: (AccessPath, WriteOp))[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

pub fn freeze(self) -> Result<WriteSet>[src]

Trait Implementations

impl Clone for WriteSetMut[src]

impl Debug for WriteSetMut[src]

impl Default for WriteSetMut[src]

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

impl Eq for WriteSetMut[src]

impl FromIterator<(AccessPath, WriteOp)> for WriteSetMut[src]

impl Hash for WriteSetMut[src]

impl PartialEq<WriteSetMut> for WriteSetMut[src]

impl Serialize for WriteSetMut[src]

impl StructuralEq for WriteSetMut[src]

impl StructuralPartialEq for WriteSetMut[src]

Auto Trait Implementations

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> Clear for T where
    T: InitializableFromZeroed + ?Sized

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

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

impl<T> InitializableFromZeroed for T where
    T: Default

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> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

impl<T> TestOnlyHash for T where
    T: Serialize + ?Sized
[src]

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>,