pub enum ModuleQueryBatchItem {
Ok {
id: String,
result: Box<ModuleQueryBatchResult>,
},
Unavailable {
id: String,
message: String,
},
BudgetExceeded {
id: String,
message: String,
},
}Expand description
One selector result in a batched module query.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ModuleQueryBatchItem
impl Clone for ModuleQueryBatchItem
Source§fn clone(&self) -> ModuleQueryBatchItem
fn clone(&self) -> ModuleQueryBatchItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModuleQueryBatchItem
impl Debug for ModuleQueryBatchItem
Source§impl<'lean> TryFromLean<'lean> for ModuleQueryBatchItem
impl<'lean> TryFromLean<'lean> for ModuleQueryBatchItem
Source§fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
Decode
obj into Self, returning a
LeanError::Host with stage
[HostStage::Conversion] if the object’s kind or payload is
outside the type’s representable range. Read moreAuto Trait Implementations§
impl Freeze for ModuleQueryBatchItem
impl RefUnwindSafe for ModuleQueryBatchItem
impl Send for ModuleQueryBatchItem
impl Sync for ModuleQueryBatchItem
impl Unpin for ModuleQueryBatchItem
impl UnsafeUnpin for ModuleQueryBatchItem
impl UnwindSafe for ModuleQueryBatchItem
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