pub trait HandleDecoder: InternalHandleDecoder {
    // Required methods
    fn take_raw_handle(&mut self) -> Result<zx_handle_t, DecodeError>;
    fn handles_remaining(&mut self) -> usize;
}Expand description
A decoder which support Zircon handles.
Required Methods§
Sourcefn take_raw_handle(&mut self) -> Result<zx_handle_t, DecodeError>
 
fn take_raw_handle(&mut self) -> Result<zx_handle_t, DecodeError>
Takes the next raw handle from the decoder.
The returned raw handle must not be considered owned until the decoder is committed.
Sourcefn handles_remaining(&mut self) -> usize
 
fn handles_remaining(&mut self) -> usize
Returns the number of handles remaining in the decoder.