pub struct NotReadyReason {
pub reason: String,
pub capability: Option<String>,
}Expand description
Why a registered module is not accepting new route binds.
Fields§
§reason: Stringdeclared_not_ready when the module itself said it is not ready, or
required_capability_unprovided when a capability it declares
need: required has no registered provider. Open vocabulary: a newer
daemon may add reasons.
capability: Option<String>For required_capability_unprovided, the lexicographically first
required capability that has no registered provider.
Implementations§
Source§impl NotReadyReason
impl NotReadyReason
pub const DECLARED_NOT_READY: &'static str = "declared_not_ready"
pub const REQUIRED_CAPABILITY_UNPROVIDED: &'static str = "required_capability_unprovided"
Trait Implementations§
Source§impl Clone for NotReadyReason
impl Clone for NotReadyReason
Source§impl Debug for NotReadyReason
impl Debug for NotReadyReason
Source§impl<'de> Deserialize<'de> for NotReadyReason
impl<'de> Deserialize<'de> for NotReadyReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NotReadyReason
Source§impl PartialEq for NotReadyReason
impl PartialEq for NotReadyReason
Source§impl Serialize for NotReadyReason
impl Serialize for NotReadyReason
impl StructuralPartialEq for NotReadyReason
Auto Trait Implementations§
impl Freeze for NotReadyReason
impl RefUnwindSafe for NotReadyReason
impl Send for NotReadyReason
impl Sync for NotReadyReason
impl Unpin for NotReadyReason
impl UnsafeUnpin for NotReadyReason
impl UnwindSafe for NotReadyReason
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