Enum osmio::OSMWriteError
source · pub enum OSMWriteError {
FormatDoesntSupportHeaders,
AlreadyStarted,
AlreadyClosed,
OPLWrite(Error),
XMLWriteXMLError(Error),
XMLWriteIOError(Error),
}
Expand description
An error when trying to write from an OSMWriter
Variants§
FormatDoesntSupportHeaders
AlreadyStarted
AlreadyClosed
OPLWrite(Error)
XMLWriteXMLError(Error)
XMLWriteIOError(Error)
Trait Implementations§
source§impl Debug for OSMWriteError
impl Debug for OSMWriteError
source§impl Display for OSMWriteError
impl Display for OSMWriteError
source§impl Error for OSMWriteError
impl Error for OSMWriteError
1.30.0 · 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
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for OSMWriteError
impl From<Error> for OSMWriteError
source§fn from(err: Error) -> OSMWriteError
fn from(err: Error) -> OSMWriteError
Converts to this type from the input type.
source§impl From<Error> for OSMWriteError
impl From<Error> for OSMWriteError
source§fn from(err: Error) -> OSMWriteError
fn from(err: Error) -> OSMWriteError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for OSMWriteError
impl Send for OSMWriteError
impl Sync for OSMWriteError
impl Unpin for OSMWriteError
impl !UnwindSafe for OSMWriteError
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