[][src]Struct cannyls::nvm::MemoryNvm

pub struct MemoryNvm { /* fields omitted */ }

メモリベースのNonVolatileMemoryの実装.

注意

これは主にテストや性能計測用途を意図した実装であり、 NonVolatileMemoryが本来要求する"不揮発性"は満たしていない.

Implementations

impl MemoryNvm[src]

pub fn new(memory: Vec<u8>) -> Self[src]

新しいMemoryNvmインスタンスを生成する.

Trait Implementations

impl Debug for MemoryNvm[src]

impl NonVolatileMemory for MemoryNvm[src]

impl Read for MemoryNvm[src]

impl Seek for MemoryNvm[src]

impl Write for MemoryNvm[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> From<T> for T[src]

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

impl<R> ReadBytesExt for R where
    R: Read + ?Sized
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

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<W> WriteBytesExt for W where
    W: Write + ?Sized
[src]