pub enum EndpointRefusal {
Key(String),
Malformed,
}Expand description
Why DependencyEndpoint::from_value refused what a caller asked to be written. Neither
variant carries a value the caller gave, so a refusal can be printed anywhere.
Variants§
Key(String)
The object carries this key beyond designator, id and kind.
Malformed
It is none of the three forms.
Trait Implementations§
Source§impl Clone for EndpointRefusal
impl Clone for EndpointRefusal
Source§impl Debug for EndpointRefusal
impl Debug for EndpointRefusal
Source§impl Display for EndpointRefusal
impl Display for EndpointRefusal
impl Eq for EndpointRefusal
Source§impl Error for EndpointRefusal
impl Error for EndpointRefusal
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 EndpointRefusal
impl PartialEq for EndpointRefusal
impl StructuralPartialEq for EndpointRefusal
Auto Trait Implementations§
impl Freeze for EndpointRefusal
impl RefUnwindSafe for EndpointRefusal
impl Send for EndpointRefusal
impl Sync for EndpointRefusal
impl Unpin for EndpointRefusal
impl UnsafeUnpin for EndpointRefusal
impl UnwindSafe for EndpointRefusal
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