Struct haybale_pitchfork::secret::Memory[][src]

pub struct Memory { /* fields omitted */ }
Expand description

A Memory which tracks which of its contents are public or secret, and reports constant-time violations whenever secret data is used as an address for operations on it.

All the contents of the Memory are initially marked public, until secret data is written to the Memory.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

A new Memory, whose contents at all addresses are completely uninitialized (unconstrained) Read more

A new Memory, whose contents at all addresses are initialized to be 0 Read more

Read any number (>0) of bits of memory, at any alignment. Returned BV will have size bits. Read more

Write any number (>0) of bits of memory, at any alignment.

Get a reference to the solver instance this Memory belongs to

Adapt the Memory to a new solver instance. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.