Enum miden_processor::HostResponse 
source · pub enum HostResponse {
    MerklePath(MerklePath),
    DoubleWord([Word; 2]),
    Word(Word),
    Element(Felt),
    None,
}Expand description
Response returned by the host upon successful execution of a [HostFunction].
Variants§
Trait Implementations§
source§impl Debug for HostResponse
 
impl Debug for HostResponse
source§impl From<HostResponse> for [Word; 2]
 
impl From<HostResponse> for [Word; 2]
source§fn from(response: HostResponse) -> Self
 
fn from(response: HostResponse) -> Self
Converts to this type from the input type.
source§impl From<HostResponse> for Word
 
impl From<HostResponse> for Word
source§fn from(response: HostResponse) -> Self
 
fn from(response: HostResponse) -> Self
Converts to this type from the input type.
source§impl From<HostResponse> for Felt
 
impl From<HostResponse> for Felt
source§fn from(response: HostResponse) -> Self
 
fn from(response: HostResponse) -> Self
Converts to this type from the input type.
source§impl From<HostResponse> for MerklePath
 
impl From<HostResponse> for MerklePath
source§fn from(response: HostResponse) -> Self
 
fn from(response: HostResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HostResponse
impl RefUnwindSafe for HostResponse
impl Send for HostResponse
impl Sync for HostResponse
impl Unpin for HostResponse
impl UnwindSafe for HostResponse
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more