pub enum MapRefusal {
AutomapOff,
NotPublic,
Limit,
Refused(String),
Timeout,
Unavailable,
}Expand description
Why a mapping request failed.
Variants§
AutomapOff
Carrier automap is disabled.
NotPublic
Node is not a public mapper.
Limit
Concurrent mapping limit reached.
Refused(String)
Upstream refused with a reason.
Timeout
Provider did not answer in time.
No mapper / unavailable.
Trait Implementations§
Source§impl Debug for MapRefusal
impl Debug for MapRefusal
impl Eq for MapRefusal
Source§impl PartialEq for MapRefusal
impl PartialEq for MapRefusal
impl StructuralPartialEq for MapRefusal
Auto Trait Implementations§
impl Forget for MapRefusal
impl Freeze for MapRefusal
impl Move for MapRefusal
impl RefUnwindSafe for MapRefusal
impl Send for MapRefusal
impl Sync for MapRefusal
impl Unpin for MapRefusal
impl UnsafeUnpin for MapRefusal
impl UnwindSafe for MapRefusal
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