pub struct VincentyConvergenceError(/* private fields */);Expand description
Error returned when a geodesic computation fails to converge.
This typically occurs for near-antipodal point pairs where the Vincenty iteration oscillates without settling.
Implementations§
Source§impl VincentyConvergenceError
impl VincentyConvergenceError
Sourcepub fn iterations(&self) -> u32
pub fn iterations(&self) -> u32
Number of iterations that were attempted before giving up.
Trait Implementations§
Source§impl Clone for VincentyConvergenceError
impl Clone for VincentyConvergenceError
Source§fn clone(&self) -> VincentyConvergenceError
fn clone(&self) -> VincentyConvergenceError
Returns a duplicate 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 VincentyConvergenceError
impl Debug for VincentyConvergenceError
Source§impl Display for VincentyConvergenceError
impl Display for VincentyConvergenceError
Source§impl Error for VincentyConvergenceError
impl Error for VincentyConvergenceError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for VincentyConvergenceError
impl PartialEq for VincentyConvergenceError
impl Eq for VincentyConvergenceError
impl StructuralPartialEq for VincentyConvergenceError
Auto Trait Implementations§
impl Freeze for VincentyConvergenceError
impl RefUnwindSafe for VincentyConvergenceError
impl Send for VincentyConvergenceError
impl Sync for VincentyConvergenceError
impl Unpin for VincentyConvergenceError
impl UnsafeUnpin for VincentyConvergenceError
impl UnwindSafe for VincentyConvergenceError
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