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 more