Enum lib_ruby_parser::source::DecoderResult
source · [−]#[repr(C)]
pub enum DecoderResult {
Ok(Vec<u8>),
Err(InputError),
}
Expand description
Result that is returned from decoding function
Variants
Ok(Vec<u8>)
Ok + decoded bytes
Err(InputError)
Err + reason
Trait Implementations
sourceimpl Clone for DecoderResult
impl Clone for DecoderResult
sourcefn clone(&self) -> DecoderResult
fn clone(&self) -> DecoderResult
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DecoderResult
impl Debug for DecoderResult
sourceimpl PartialEq<DecoderResult> for DecoderResult
impl PartialEq<DecoderResult> for DecoderResult
sourcefn eq(&self, other: &DecoderResult) -> bool
fn eq(&self, other: &DecoderResult) -> bool
impl Eq for DecoderResult
impl StructuralEq for DecoderResult
impl StructuralPartialEq for DecoderResult
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more