pub fn encode<T: Encodable + ?Sized>(
        buf: &'a mut Vec<u8>,
        handles: &'a mut Vec<Handle>,
        x: &mut T,
    ) -> Result<()> {
        let context = default_encode_context();
        Self::encode_with_context(&context, buf, handles, x)
    }
/// FIDL2-encodes `x` into the provided data and handle buffers.
FIDL2-encodes `x` into the provided data and handle buffers.
FIDL2 - encodes ` x ` into the provided data and handle buffers .
pub fn encode<T: Encodable + ?Sized>(
        buf: &'a mut Vec<u8>,
        handles: &'a mut Vec<Handle>,
        x: &mut T,
    ) -> Result<()> {
        let context = default_encode_context();
        Self::encode_with_context(&context, buf, handles, x)
    }
pub fn encode < T : Encodable + ? Sized > ( buf : & ' a mut Vec < u8 > , handles : & ' a mut Vec < Handle > , x : & mut T , ) -> Result < ( ) > { let context = default_encode_context ( ) ; Self :: encode_with_context ( & context , buf , handles , x ) }
FIDL2-encodes `x` into the provided data and handle buffers.
FIDL2 - encodes ` x ` into the provided data and handle buffers .
buf
&'a mut Vec<u8>
handles
&'a mut Vec<Handle>
x
&mut T