pub enum WithServicesError {
SharedRingRoutingDeferred {
service: &'static str,
},
SharedRingKindMismatch {
slot: &'static str,
handle: &'static str,
},
}Expand description
Typed construction error for Scheduler::with_services.
Distinct from the String returned for genuine spawn/OS failures: a
composition request that names a capability this release cannot deliver
SAFELY is refused loudly and by name, rather than silently degraded.
Variants§
A shared file/generic IO ring was injected, but cross-scheduler
completion routing does not ship until the §3.9 routing gate lands with
its mechanism in commit 6 (spec §3.9). service is the inventory
label of the refused ring. Injecting it now would let the ring owner
swallow the second scheduler’s completions.
A SharedIoRing handle built for one ring service was passed to a
DIFFERENT service’s builder slot (e.g. SharedIoRing::generic(..) to
SchedulerServices::shared_file_io). Reported distinctly so the
diagnostic names the actual mistake instead of misattributing the
deferred-routing refusal to the wrong service.
Trait Implementations§
Source§impl Clone for WithServicesError
impl Clone for WithServicesError
Source§fn clone(&self) -> WithServicesError
fn clone(&self) -> WithServicesError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WithServicesError
impl Debug for WithServicesError
Source§impl Display for WithServicesError
impl Display for WithServicesError
impl Eq for WithServicesError
Source§impl Error for WithServicesError
impl Error for WithServicesError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl PartialEq for WithServicesError
impl PartialEq for WithServicesError
impl StructuralPartialEq for WithServicesError
Auto Trait Implementations§
impl Freeze for WithServicesError
impl RefUnwindSafe for WithServicesError
impl Send for WithServicesError
impl Sync for WithServicesError
impl Unpin for WithServicesError
impl UnsafeUnpin for WithServicesError
impl UnwindSafe for WithServicesError
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
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§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
key and return true if they are equal.