pub struct SchemaNameAmbiguous {
pub name: String,
pub versions: Vec<String>,
}Expand description
Error returned by SchemaRegistry::resolve_by_name when a bare-name
lookup matches multiple registered versions. Surfaced by the
memstead_schema(name=...) discovery surface — callers must supply an
exact <name>@<version> to disambiguate.
Fields§
§name: String§versions: Vec<String>Trait Implementations§
Source§impl Debug for SchemaNameAmbiguous
impl Debug for SchemaNameAmbiguous
Source§impl Display for SchemaNameAmbiguous
impl Display for SchemaNameAmbiguous
Source§impl Error for SchemaNameAmbiguous
impl Error for SchemaNameAmbiguous
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()
Auto Trait Implementations§
impl Freeze for SchemaNameAmbiguous
impl RefUnwindSafe for SchemaNameAmbiguous
impl Send for SchemaNameAmbiguous
impl Sync for SchemaNameAmbiguous
impl Unpin for SchemaNameAmbiguous
impl UnsafeUnpin for SchemaNameAmbiguous
impl UnwindSafe for SchemaNameAmbiguous
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