pub enum RootError {
Taken {
name: String,
},
Shadows {
name: String,
},
BadName {
name: String,
},
Needs(NeedsMiss),
}Expand description
Why the root would not take an entry.
Variants§
Taken
An entry is already served under name (use replace).
Shadows
name is the service’s own: its methods would answer, never the entry
(Z2H-8 / HOSTLESS-3) — its name, or (KEEL-54) one of its own methods
(call, hash, hashes, ir, schema).
BadName
Not one segment of [A-Za-z0-9_-].
Needs(NeedsMiss)
NEST-16: the entry is a graft whose needs this service does not serve as it was built against.
Trait Implementations§
impl Eq for RootError
Source§impl Error for RootError
impl Error for RootError
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 StructuralPartialEq for RootError
Auto Trait Implementations§
impl Forget for RootError
impl Freeze for RootError
impl Move for RootError
impl RefUnwindSafe for RootError
impl Send for RootError
impl Sync for RootError
impl Unpin for RootError
impl UnsafeUnpin for RootError
impl UnwindSafe for RootError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.