Struct protobuf_native::compiler::FileLoadError
source · pub struct FileLoadError {
pub filename: String,
pub message: String,
pub severity: Severity,
pub location: Option<Location>,
}
Expand description
An error occured while loading a file.
Fields§
§filename: String
The name of the file which failed to load.
message: String
A message describing the cause of the error.
severity: Severity
The severity of the error.
location: Option<Location>
The specific location at which the error occurred, if applicable.
Trait Implementations§
source§impl Clone for FileLoadError
impl Clone for FileLoadError
source§fn clone(&self) -> FileLoadError
fn clone(&self) -> FileLoadError
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 FileLoadError
impl Debug for FileLoadError
source§impl Display for FileLoadError
impl Display for FileLoadError
source§impl Hash for FileLoadError
impl Hash for FileLoadError
source§impl PartialEq for FileLoadError
impl PartialEq for FileLoadError
impl Eq for FileLoadError
impl StructuralPartialEq for FileLoadError
Auto Trait Implementations§
impl Freeze for FileLoadError
impl RefUnwindSafe for FileLoadError
impl Send for FileLoadError
impl Sync for FileLoadError
impl Unpin for FileLoadError
impl UnwindSafe for FileLoadError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)