pub enum NodeEventError {
NoControlSocket(PathBuf),
CannotSubscribe(PathBuf, Box<dyn Error + Send + 'static>),
Node(Box<dyn Error + Send + 'static>),
BrokenConnection,
}Expand description
Possible errors from accessing the local Radicle node.
Variants§
NoControlSocket(PathBuf)
Node control socket does not exist.
CannotSubscribe(PathBuf, Box<dyn Error + Send + 'static>)
Can’t subscribe to node events.
Node(Box<dyn Error + Send + 'static>)
Some error from getting an event from the node.
BrokenConnection
Connection to the node control socket broke.
Trait Implementations§
Source§impl Debug for NodeEventError
impl Debug for NodeEventError
Source§impl Display for NodeEventError
impl Display for NodeEventError
Source§impl Error for NodeEventError
impl Error for NodeEventError
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()
Auto Trait Implementations§
impl Freeze for NodeEventError
impl !RefUnwindSafe for NodeEventError
impl Send for NodeEventError
impl !Sync for NodeEventError
impl Unpin for NodeEventError
impl UnsafeUnpin for NodeEventError
impl !UnwindSafe for NodeEventError
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