Struct CurveIdParseError
pub struct CurveIdParseError {
pub spelling: String,
pub reason: Option<String>,
}Expand description
A spelling that names no curve: the spelling, and — where a role’s own key refused it — that key’s reason.
Fields§
§spelling: StringThe spelling that was refused.
reason: Option<String>The key’s own refusal, where the role was recognised and its key was
not — a credit(...) whose identity is misspelled.
Implementations§
§impl CurveIdParseError
impl CurveIdParseError
Trait Implementations§
§impl Clone for CurveIdParseError
impl Clone for CurveIdParseError
§fn clone(&self) -> CurveIdParseError
fn clone(&self) -> CurveIdParseError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for CurveIdParseError
impl Debug for CurveIdParseError
§impl Display for CurveIdParseError
impl Display for CurveIdParseError
impl Eq for CurveIdParseError
§impl Error for CurveIdParseError
impl Error for CurveIdParseError
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()
§impl PartialEq for CurveIdParseError
impl PartialEq for CurveIdParseError
§fn eq(&self, other: &CurveIdParseError) -> bool
fn eq(&self, other: &CurveIdParseError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CurveIdParseError
Auto Trait Implementations§
impl Freeze for CurveIdParseError
impl RefUnwindSafe for CurveIdParseError
impl Send for CurveIdParseError
impl Sync for CurveIdParseError
impl Unpin for CurveIdParseError
impl UnsafeUnpin for CurveIdParseError
impl UnwindSafe for CurveIdParseError
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