pub enum Unresolved {
Asked(ActionCallError),
Stopped,
KeptChanging,
CannotListNow,
Unavailable(String),
NoSuch {
name: String,
at: String,
has: Vec<String>,
},
NotRunning {
name: String,
opens: bool,
},
MayNotOpen {
name: String,
},
InstalledUnread {
name: String,
reason: Box<Unresolved>,
},
NotStarted {
app_id: String,
why: String,
code: String,
},
Said(String),
}Expand description
Why an address did not resolve, or a call on it did not start. Each says what happened in
the words a caller is answered with (fmt::Display); a caller that tells a refusal apart
reads the variant.
Variants§
Asked(ActionCallError)
The provider refused a query asked on the way.
Stopped
The provider dropped a query without answering it.
KeptChanging
A directory kept moving on while it was read.
CannotListNow
An app cannot read its directory right now.
What a query named could not be listed, and why.
NoSuch
No resource under at goes by name; has are the addresses of those it lists.
NotRunning
The app name is installed but runs nowhere; opens when the caller may start it.
MayNotOpen
The caller may not start the app name.
InstalledUnread
No running app is named name, and the installed ones could not be read.
NotStarted
Starting app_id did not end in its running: how it ended instead, and the code its
start failed with (empty when it did not fail).
Said(String)
A name the walk could not place, said whole (one several resources or apps carry, a window of another app, an action no resource offers).
Implementations§
Source§impl Unresolved
impl Unresolved
Sourcepub const fn is_note(&self) -> bool
pub const fn is_note(&self) -> bool
Whether this is no refusal but what the address names, said: an app that is installed and not running. A listing answers it as its page.
Trait Implementations§
Source§impl Clone for Unresolved
impl Clone for Unresolved
Source§impl Debug for Unresolved
impl Debug for Unresolved
Source§impl Display for Unresolved
impl Display for Unresolved
Source§impl Error for Unresolved
impl Error for Unresolved
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 From<&str> for Unresolved
impl From<&str> for Unresolved
Source§impl From<ActionCallError> for Unresolved
impl From<ActionCallError> for Unresolved
Source§fn from(refused: ActionCallError) -> Self
fn from(refused: ActionCallError) -> Self
Source§impl From<String> for Unresolved
impl From<String> for Unresolved
Source§impl From<Unresolved> for String
impl From<Unresolved> for String
Source§fn from(unresolved: Unresolved) -> Self
fn from(unresolved: Unresolved) -> Self
Auto Trait Implementations§
impl Forget for Unresolved
impl Freeze for Unresolved
impl Move for Unresolved
impl RefUnwindSafe for Unresolved
impl Send for Unresolved
impl Sync for Unresolved
impl Unpin for Unresolved
impl UnsafeUnpin for Unresolved
impl UnwindSafe for Unresolved
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more