Enum lib_ruby_parser::source::DecoderResult [−][src]
#[repr(C)]
pub enum DecoderResult {
Ok(Vec<u8>),
Err(InputError),
}
Expand description
Result that is returned from decoding function
Variants
Ok + decoded bytes
Err(InputError)
Err + reason
Tuple Fields of Err
0: InputError
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DecoderResult
impl Send for DecoderResult
impl Sync for DecoderResult
impl Unpin for DecoderResult
impl UnwindSafe for DecoderResult
Blanket Implementations
Mutably borrows from an owned value. Read more