pub struct Unreadable(pub String);Expand description
Why a landing decision could not be made: an input that could not be read. Never a decision of its own — an unreadable trunk or surface is refused, not guessed.
use majordomus_cli::release::landing::Unreadable;
let e = Unreadable("no ref nonesuch".into());
assert_eq!(e.to_string(), "no ref nonesuch");Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for Unreadable
impl Clone for Unreadable
Source§fn clone(&self) -> Unreadable
fn clone(&self) -> Unreadable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Unreadable
impl Debug for Unreadable
Source§impl Display for Unreadable
impl Display for Unreadable
impl Eq for Unreadable
Source§impl Error for Unreadable
impl Error for Unreadable
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()
Source§impl PartialEq for Unreadable
impl PartialEq for Unreadable
Source§fn eq(&self, other: &Unreadable) -> bool
fn eq(&self, other: &Unreadable) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Unreadable
Auto Trait Implementations§
impl Freeze for Unreadable
impl RefUnwindSafe for Unreadable
impl Send for Unreadable
impl Sync for Unreadable
impl Unpin for Unreadable
impl UnsafeUnpin for Unreadable
impl UnwindSafe for Unreadable
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.