Enum indy_vdr::pool::RequestMethod
source · pub enum RequestMethod {
Consensus,
ReadConsensus,
BuiltinStateProof {
sp_key: Vec<u8>,
sp_timestamps: (Option<u64>, Option<u64>),
},
CustomStateProof {
sp_parser: BoxedSPParser,
sp_timestamps: (Option<u64>, Option<u64>),
},
Full {
node_aliases: Option<Vec<String>>,
timeout: Option<i64>,
},
}
Expand description
Determines the handler and state proof semantics used to process a request
Variants§
Trait Implementations§
source§impl Debug for RequestMethod
impl Debug for RequestMethod
source§impl PartialEq for RequestMethod
impl PartialEq for RequestMethod
source§fn eq(&self, other: &RequestMethod) -> bool
fn eq(&self, other: &RequestMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RequestMethod
impl StructuralPartialEq for RequestMethod
Auto Trait Implementations§
impl Freeze for RequestMethod
impl !RefUnwindSafe for RequestMethod
impl Send for RequestMethod
impl Sync for RequestMethod
impl Unpin for RequestMethod
impl !UnwindSafe for RequestMethod
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