Struct java_properties::PropertiesError
source · [−]pub struct PropertiesError { /* private fields */ }
Expand description
The error type for reading and writing properties files.
Implementations
sourceimpl 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
sourceimpl Debug for PropertiesError
impl Debug for PropertiesError
sourceimpl Display for PropertiesError
impl Display for PropertiesError
sourceimpl Error for PropertiesError
impl Error for PropertiesError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more