Enum air_test_utils::prelude::ValueRef
source · pub enum ValueRef {
Scalar(Rc<CID<ServiceResultAggregate>>),
Stream {
cid: Rc<CID<ServiceResultAggregate>>,
generation: u32,
},
Unused(Rc<CID<Value>>),
}
Variants§
Scalar(Rc<CID<ServiceResultAggregate>>)
The call value is stored to a scalar variable.
Stream
The call value is stored to a stream variable.
Unused(Rc<CID<Value>>)
The call value is not stored.
Trait Implementations§
source§impl<'de> Deserialize<'de> for ValueRef
impl<'de> Deserialize<'de> for ValueRef
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ValueRef, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ValueRef, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ValueRef> for ValueRef
impl PartialEq<ValueRef> for ValueRef
source§impl Serialize for ValueRef
impl Serialize for ValueRef
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for ValueRef
impl StructuralEq for ValueRef
impl StructuralPartialEq for ValueRef
Auto Trait Implementations§
impl RefUnwindSafe for ValueRef
impl !Send for ValueRef
impl !Sync for ValueRef
impl Unpin for ValueRef
impl UnwindSafe for ValueRef
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where T: AsFilelike,
Query the “status” flags for the
self
file descriptor.