Trait fidl_next::HandleDecoder

source ·
pub trait HandleDecoder {
    // Required methods
    fn take_handle(&mut self) -> Result<Handle, DecodeError>;
    fn handles_remaining(&mut self) -> usize;
}
Expand description

A decoder which support Zircon handles.

Required Methods§

source

fn take_handle(&mut self) -> Result<Handle, DecodeError>

Takes the next handle from the decoder.

source

fn handles_remaining(&mut self) -> usize

Returns the number of handles remaining in the decoder.

Implementors§