Struct daphne::messages::CollectReq
source · Expand description
A collect request.
Fields
task_id: Id
query: Query
agg_param: Vec<u8>
Trait Implementations
sourceimpl Clone for CollectReq
impl Clone for CollectReq
sourcefn clone(&self) -> CollectReq
fn clone(&self) -> CollectReq
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CollectReq
impl Debug for CollectReq
sourceimpl Decode for CollectReq
impl Decode for CollectReq
sourcefn decode(bytes: &mut Cursor<&[u8]>) -> Result<Self, CodecError>
fn decode(bytes: &mut Cursor<&[u8]>) -> Result<Self, CodecError>
Read and decode an encoded object from
bytes
. On success, the decoded value is returned
and bytes
is advanced by the encoded size of the value. On failure, an error is returned
and no further attempt to read from bytes
should be made. Read moresourcefn get_decoded(bytes: &[u8]) -> Result<Self, CodecError>
fn get_decoded(bytes: &[u8]) -> Result<Self, CodecError>
Convenience method to get decoded value. Returns an error if
Self::decode
fails, or if
there are any bytes left in bytes
after decoding a value. Read moresourceimpl<'de> Deserialize<'de> for CollectReq
impl<'de> Deserialize<'de> for CollectReq
sourcefn 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
sourceimpl Encode for CollectReq
impl Encode for CollectReq
sourceimpl PartialEq<CollectReq> for CollectReq
impl PartialEq<CollectReq> for CollectReq
sourcefn eq(&self, other: &CollectReq) -> bool
fn eq(&self, other: &CollectReq) -> bool
sourceimpl Serialize for CollectReq
impl Serialize for CollectReq
impl Eq for CollectReq
impl StructuralEq for CollectReq
impl StructuralPartialEq for CollectReq
Auto Trait Implementations
impl RefUnwindSafe for CollectReq
impl Send for CollectReq
impl Sync for CollectReq
impl Unpin for CollectReq
impl UnwindSafe for CollectReq
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CheckedAs for T
impl<T> CheckedAs for T
sourcefn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
sourcefn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
sourceimpl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
sourcefn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
sourceimpl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
sourcefn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
sourceimpl<T> OverflowingAs for T
impl<T> OverflowingAs for T
sourcefn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
sourcefn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
sourceimpl<D, T> ParameterizedDecode<T> for Dwhere
D: Decode + ?Sized,
impl<D, T> ParameterizedDecode<T> for Dwhere
D: Decode + ?Sized,
sourcefn decode_with_param(
_decoding_parameter: &T,
bytes: &mut Cursor<&[u8]>
) -> Result<D, CodecError>
fn decode_with_param(
_decoding_parameter: &T,
bytes: &mut Cursor<&[u8]>
) -> Result<D, CodecError>
Read and decode an encoded object from
bytes
. decoding_parameter
provides details of the
wire encoding such as lengths of different portions of the message. On success, the decoded
value is returned and bytes
is advanced by the encoded size of the value. On failure, an
error is returned and no further attempt to read from bytes
should be made. Read moresourcefn get_decoded_with_param(
decoding_parameter: &P,
bytes: &[u8]
) -> Result<Self, CodecError>
fn get_decoded_with_param(
decoding_parameter: &P,
bytes: &[u8]
) -> Result<Self, CodecError>
Convenience method to get decoded value. Returns an error if
Self::decode_with_param
fails, or if there are any bytes left in bytes
after decoding a value. Read moresourceimpl<E, T> ParameterizedEncode<T> for Ewhere
E: Encode + ?Sized,
impl<E, T> ParameterizedEncode<T> for Ewhere
E: Encode + ?Sized,
sourceimpl<T> SaturatingAs for T
impl<T> SaturatingAs for T
sourcefn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
sourcefn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
sourceimpl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
sourcefn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
sourcefn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WrappingAs for T
impl<T> WrappingAs for T
sourcefn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
sourcefn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.