Struct bulletproof::Bulletproof [] [src]

pub struct Bulletproof {}

Bulletproof loader.

Methods

impl Bulletproof
[src]

[src]

Creates a new bulletproof memory access manager.

Safety

It registers a new signal handler for SIGSEGV. See README.md for more details on its impact.

[src]

Loads a usize from the location.

Returns Ok(v) if location contains v, and Err(()) if the location is invalid.

Safety

The location should satisfy the safety guarantee of std::ptr::read(), except that it can be an invalid pointer.

[src]

Loads a value of type T from the location.

Returns Ok(v) if location contains v, and Err(()) if the location is invalid.

Safety

The location should satisfy the safety guarantee of std::ptr::read(), except that it can be an invalid pointer.

[src]

Stores a usize to the location.

Returns Ok(v) if location contains v, and Err(()) if the location is invalid.

Safety

The location should satisfy the safety guarantee of std::ptr::write(), except that it can be an invalid pointer.

[src]

Stores a value of type T to the location.

Returns Ok(()) if location is valid, and Err(()) if the location is invalid.

Safety

The location should satisfy the safety guarantee of std::ptr::write(), except that it can be an invalid pointer.

Trait Implementations

impl Debug for Bulletproof
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Bulletproof
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Bulletproof
[src]

Auto Trait Implementations

impl Send for Bulletproof

impl Sync for Bulletproof