pub enum RunInstruction<'a, T> {
Expanded(Instruction<'a, T>),
Ptr(Pointer),
}Expand description
Enumerator for either an expanded Instruction structure or
an Pointer (Cid wrapper).
Variants§
Expanded(Instruction<'a, T>)
Instruction as an expanded structure.
Ptr(Pointer)
Instruction as a pointer.
Trait Implementations§
source§impl<'a, T: Clone> Clone for RunInstruction<'a, T>
impl<'a, T: Clone> Clone for RunInstruction<'a, T>
source§fn clone(&self) -> RunInstruction<'a, T>
fn clone(&self) -> RunInstruction<'a, T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'a, T: Debug> Debug for RunInstruction<'a, T>
impl<'a, T: Debug> Debug for RunInstruction<'a, T>
source§impl<'de, 'a, T> Deserialize<'de> for RunInstruction<'a, T>where
T: Deserialize<'de>,
impl<'de, 'a, T> Deserialize<'de> for RunInstruction<'a, T>where
T: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a, T> From<Instruction<'a, T>> for RunInstruction<'a, T>
impl<'a, T> From<Instruction<'a, T>> for RunInstruction<'a, T>
source§fn from(instruction: Instruction<'a, T>) -> Self
fn from(instruction: Instruction<'a, T>) -> Self
Converts to this type from the input type.
source§impl<T> From<Pointer> for RunInstruction<'_, T>
impl<T> From<Pointer> for RunInstruction<'_, T>
source§impl<T> From<RunInstruction<'_, T>> for Ipldwhere
Ipld: From<T>,
impl<T> From<RunInstruction<'_, T>> for Ipldwhere
Ipld: From<T>,
source§fn from(run: RunInstruction<'_, T>) -> Self
fn from(run: RunInstruction<'_, T>) -> Self
Converts to this type from the input type.
source§impl<'a, T: PartialEq> PartialEq for RunInstruction<'a, T>
impl<'a, T: PartialEq> PartialEq for RunInstruction<'a, T>
source§fn eq(&self, other: &RunInstruction<'a, T>) -> bool
fn eq(&self, other: &RunInstruction<'a, T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'a, T> Serialize for RunInstruction<'a, T>where
T: Serialize,
impl<'a, T> Serialize for RunInstruction<'a, T>where
T: Serialize,
source§impl<'a, 'b, T> TryFrom<&'b RunInstruction<'a, T>> for &'b Pointerwhere
T: Debug,
impl<'a, 'b, T> TryFrom<&'b RunInstruction<'a, T>> for &'b Pointerwhere
T: Debug,
§type Error = Error<&'b RunInstruction<'a, T>>
type Error = Error<&'b RunInstruction<'a, T>>
The type returned in the event of a conversion error.
source§impl<'a, 'b, T> TryFrom<&'b RunInstruction<'a, T>> for Pointerwhere
T: Debug,
impl<'a, 'b, T> TryFrom<&'b RunInstruction<'a, T>> for Pointerwhere
T: Debug,
§type Error = Error<&'b RunInstruction<'a, T>>
type Error = Error<&'b RunInstruction<'a, T>>
The type returned in the event of a conversion error.
source§impl<T> TryFrom<Ipld> for RunInstruction<'_, T>where
T: From<Ipld>,
impl<T> TryFrom<Ipld> for RunInstruction<'_, T>where
T: From<Ipld>,
source§impl<'a, T> TryFrom<RunInstruction<'a, T>> for Instruction<'a, T>where
T: Debug,
impl<'a, T> TryFrom<RunInstruction<'a, T>> for Instruction<'a, T>where
T: Debug,
§type Error = Error<RunInstruction<'a, T>>
type Error = Error<RunInstruction<'a, T>>
The type returned in the event of a conversion error.
source§impl<'a, T> TryFrom<RunInstruction<'a, T>> for Pointerwhere
T: Debug,
impl<'a, T> TryFrom<RunInstruction<'a, T>> for Pointerwhere
T: Debug,
§type Error = Error<RunInstruction<'a, T>>
type Error = Error<RunInstruction<'a, T>>
The type returned in the event of a conversion error.
impl<'a, T> StructuralPartialEq for RunInstruction<'a, T>
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for RunInstruction<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for RunInstruction<'a, T>where
T: Send,
impl<'a, T> Sync for RunInstruction<'a, T>where
T: Sync,
impl<'a, T> Unpin for RunInstruction<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for RunInstruction<'a, T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> Base64Encode for Twhere
T: DagJson,
impl<T> Base64Encode for Twhere
T: DagJson,
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
source§impl<T> DagJson for Twhere
T: Serialize + DeserializeOwned,
impl<T> DagJson for Twhere
T: Serialize + DeserializeOwned,
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self to an expression for Diesel’s query builder. Read more