pub struct ProgramDecodeError {
pub offset: usize,
pub kind: ProgramDecodeErrorKind,
}Fields§
§offset: usize§kind: ProgramDecodeErrorKindTrait Implementations§
Source§impl Clone for ProgramDecodeError
impl Clone for ProgramDecodeError
Source§fn clone(&self) -> ProgramDecodeError
fn clone(&self) -> ProgramDecodeError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProgramDecodeError
impl Debug for ProgramDecodeError
Source§impl Display for ProgramDecodeError
impl Display for ProgramDecodeError
impl Eq for ProgramDecodeError
Source§impl Error for ProgramDecodeError
impl Error for ProgramDecodeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ProgramDecodeError
impl PartialEq for ProgramDecodeError
impl StructuralPartialEq for ProgramDecodeError
Auto Trait Implementations§
impl Freeze for ProgramDecodeError
impl RefUnwindSafe for ProgramDecodeError
impl Send for ProgramDecodeError
impl Sync for ProgramDecodeError
impl Unpin for ProgramDecodeError
impl UnsafeUnpin for ProgramDecodeError
impl UnwindSafe for ProgramDecodeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more