pub trait ArgumentDecoder<'a>: Sized {
// Required method
fn decode(de: &mut IDLDeserialize<'a>) -> Result<Self>;
}
Expand description
Allow decoding of any sized argument.
Required Methods§
sourcefn decode(de: &mut IDLDeserialize<'a>) -> Result<Self>
fn decode(de: &mut IDLDeserialize<'a>) -> Result<Self>
Decodes a value of type Self, modifying the deserializer (values are consumed).
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl<'a> ArgumentDecoder<'a> for ()
impl<'a> ArgumentDecoder<'a> for ()
Decode an empty tuple.