Struct VolSurfaceIdParseError
pub struct VolSurfaceIdParseError {
pub spelling: String,
pub reason: Option<String>,
}Expand description
A spelling that names no vol surface: the spelling, and — where a registry’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 registry was recognised and its key
was not — a credit_vol(...) whose identity is misspelled.
Implementations§
Trait Implementations§
§impl Clone for VolSurfaceIdParseError
impl Clone for VolSurfaceIdParseError
§fn clone(&self) -> VolSurfaceIdParseError
fn clone(&self) -> VolSurfaceIdParseError
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 VolSurfaceIdParseError
impl Debug for VolSurfaceIdParseError
§impl Display for VolSurfaceIdParseError
impl Display for VolSurfaceIdParseError
impl Eq for VolSurfaceIdParseError
§impl Error for VolSurfaceIdParseError
impl Error for VolSurfaceIdParseError
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 VolSurfaceIdParseError
impl PartialEq for VolSurfaceIdParseError
§fn eq(&self, other: &VolSurfaceIdParseError) -> bool
fn eq(&self, other: &VolSurfaceIdParseError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VolSurfaceIdParseError
Auto Trait Implementations§
impl Freeze for VolSurfaceIdParseError
impl RefUnwindSafe for VolSurfaceIdParseError
impl Send for VolSurfaceIdParseError
impl Sync for VolSurfaceIdParseError
impl Unpin for VolSurfaceIdParseError
impl UnsafeUnpin for VolSurfaceIdParseError
impl UnwindSafe for VolSurfaceIdParseError
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