pub trait HandleEncoder: InternalHandleEncoder {
    // Required methods
    fn push_handle(&mut self, handle: Handle) -> Result<(), EncodeError>;
    fn handles_pushed(&self) -> usize;
}Expand description
An encoder which supports Zircon handles.
Required Methods§
Sourcefn push_handle(&mut self, handle: Handle) -> Result<(), EncodeError>
 
fn push_handle(&mut self, handle: Handle) -> Result<(), EncodeError>
Pushes a handle into the encoder.
Sourcefn handles_pushed(&self) -> usize
 
fn handles_pushed(&self) -> usize
Returns the number of handles added to the encoder.