Struct planus::errors::ErrorLocation
source · pub struct ErrorLocation {
pub type_: &'static str,
pub method: &'static str,
pub byte_offset: usize,
}
Expand description
The location of the error in both the generated code and the binary data where it was encountered.
Fields§
§type_: &'static str
The flatbuffers type where the error was encountered.
method: &'static str
The generated method where the error was encountered.
byte_offset: usize
Offset into the flatbuffers buffer where the error was encountered.
Trait Implementations§
source§impl Clone for ErrorLocation
impl Clone for ErrorLocation
source§fn clone(&self) -> ErrorLocation
fn clone(&self) -> ErrorLocation
Returns a copy of the value. Read more
1.0.0 · 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 ErrorLocation
impl Debug for ErrorLocation
source§impl Display for ErrorLocation
impl Display for ErrorLocation
impl Copy for ErrorLocation
Auto Trait Implementations§
impl Freeze for ErrorLocation
impl RefUnwindSafe for ErrorLocation
impl Send for ErrorLocation
impl Sync for ErrorLocation
impl Unpin for ErrorLocation
impl UnwindSafe for ErrorLocation
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