pub enum ProjError {
Show 16 variants
Projection(String),
Conversion(String),
Creation(NulError),
UnknownAreaOfUse,
Path,
Utf8Error(Utf8Error),
FloatConversion,
Network,
RemoteCallbacks,
BuilderError(Error),
RequestCloneError,
ContentLength,
HeaderError(String),
HeaderConversion(ToStrError),
DownloadError(String, String, u8),
Definition,
}
Expand description
Errors originating in PROJ which can occur during projection and conversion
Variants§
Projection(String)
A projection error
Conversion(String)
A conversion error
Creation(NulError)
An error that occurs when a path string originating in PROJ can’t be converted to a CString
UnknownAreaOfUse
Path
An error that occurs if a user-supplied path can’t be converted into a string slice
Utf8Error(Utf8Error)
FloatConversion
Network
RemoteCallbacks
BuilderError(Error)
RequestCloneError
ContentLength
HeaderError(String)
HeaderConversion(ToStrError)
DownloadError(String, String, u8)
Definition
Trait Implementations§
source§impl Error for ProjError
impl Error for ProjError
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<ProjError> for TransformError
impl From<ProjError> for TransformError
source§impl From<ToStrError> for ProjError
impl From<ToStrError> for ProjError
source§fn from(source: ToStrError) -> Self
fn from(source: ToStrError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ProjError
impl Send for ProjError
impl Sync for ProjError
impl Unpin for ProjError
impl !UnwindSafe for ProjError
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