pub enum UpError {
UnknownNode(NodeId),
TierForbidden {
tier: u8,
},
}Expand description
Errors returnable by Core::up (canonical R1.4.1).
Variants§
UnknownNode(NodeId)
Node id is not registered.
TierForbidden
Tier-3 (DATA / RESOLVED) and tier-5 (COMPLETE / ERROR) are downstream-only per R1.4.1; rejected at the boundary.
Trait Implementations§
Source§impl Error for UpError
impl Error for UpError
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()
impl StructuralPartialEq for UpError
Auto Trait Implementations§
impl Freeze for UpError
impl RefUnwindSafe for UpError
impl Send for UpError
impl Sync for UpError
impl Unpin for UpError
impl UnsafeUnpin for UpError
impl UnwindSafe for UpError
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