[−][src]Struct zkinterface::reading::Messages
Collect buffers waiting to be read.
Fields
messages: Vec<Vec<u8>>
first_id: u64
Methods
impl Messages
[src]
pub fn new(first_id: u64) -> Messages
[src]
first_id: The first variable ID to consider in received messages. Variables with lower IDs are ignored.
pub fn push_message(&mut self, buf: Vec<u8>) -> Result<(), String>
[src]
pub fn read_file<P: AsRef<Path>>(&mut self, path: P) -> Result<(), String>
[src]
pub fn last_circuit(&self) -> Option<Circuit>
[src]
pub fn circuits(&self) -> Vec<Circuit>
[src]
pub fn connection_variables(&self) -> Option<Vec<Variable>>
[src]
pub fn private_variables(&self) -> Option<Vec<Variable>>
[src]
impl Messages
[src]
ⓘImportant traits for R1CSIterator<'a>pub fn iter_constraints(&self) -> R1CSIterator
[src]
ⓘImportant traits for R1CSIterator<'a>
impl Messages
[src]
ⓘImportant traits for WitnessIterator<'a>pub fn iter_assignment(&self) -> WitnessIterator
[src]
ⓘImportant traits for WitnessIterator<'a>
Trait Implementations
impl<'a> IntoIterator for &'a Messages
[src]
type Item = Root<'a>
The type of the elements being iterated over.
type IntoIter = MessageIterator<'a>
Which kind of iterator are we turning this into?
ⓘImportant traits for MessageIterator<'a>fn into_iter(self) -> MessageIterator<'a>
[src]
ⓘImportant traits for MessageIterator<'a>
impl Clone for Messages
[src]
fn clone(&self) -> Messages
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Messages
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,