Trait fidl_next::HandleEncoder

source ·
pub trait HandleEncoder {
    // 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§

source

fn push_handle(&mut self, handle: Handle) -> Result<(), EncodeError>

Pushes a handle into the encoder.

source

fn handles_pushed(&self) -> usize

Returns the number of handles added to the encoder.

Implementors§