pub struct RemoteReadError { /* private fields */ }Expand description
A fully diagnosed remote read failure. Carries everything a user needs to act: stage, classification, detail, bounded ssh stderr, the child’s exit line when observed, and a hint for fixable causes.
Implementations§
Source§impl RemoteReadError
impl RemoteReadError
pub fn kind(&self) -> ReadFailureKind
Sourcepub fn is_cancellation(&self) -> bool
pub fn is_cancellation(&self) -> bool
Cancellation is reported so callers can prefer their own outcome.
Trait Implementations§
Source§impl Clone for RemoteReadError
impl Clone for RemoteReadError
Source§fn clone(&self) -> RemoteReadError
fn clone(&self) -> RemoteReadError
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 RemoteReadError
impl Debug for RemoteReadError
Source§impl Display for RemoteReadError
impl Display for RemoteReadError
impl Eq for RemoteReadError
Source§impl Error for RemoteReadError
impl Error for RemoteReadError
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 RemoteReadError
impl PartialEq for RemoteReadError
impl StructuralPartialEq for RemoteReadError
Auto Trait Implementations§
impl Freeze for RemoteReadError
impl RefUnwindSafe for RemoteReadError
impl Send for RemoteReadError
impl Sync for RemoteReadError
impl Unpin for RemoteReadError
impl UnsafeUnpin for RemoteReadError
impl UnwindSafe for RemoteReadError
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