Struct java_properties::PropertiesError
source · pub struct PropertiesError { /* private fields */ }
Expand description
The error type for reading and writing properties files.
Implementations§
source§impl PropertiesError
impl PropertiesError
sourcepub fn line_number(&self) -> Option<usize>
pub fn line_number(&self) -> Option<usize>
Returns the 1-based line number associated with the error, if available.
Trait Implementations§
source§impl Debug for PropertiesError
impl Debug for PropertiesError
source§impl Display for PropertiesError
impl Display for PropertiesError
source§impl Error for PropertiesError
impl Error for PropertiesError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for PropertiesError
impl Send for PropertiesError
impl Sync for PropertiesError
impl Unpin for PropertiesError
impl !UnwindSafe for PropertiesError
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