pub enum EndpointNameError {
Empty,
PrefixedPipeName {
got: String,
},
}Expand description
Errors from the broker v1 broker::v1::Endpoint smart constructors.
Variants§
Empty
The endpoint name or path was empty.
PrefixedPipeName
A Windows pipe name carried the \\\\.\\pipe\\ prefix; endpoint
paths must be bare because running-process adds the prefix while
resolving the endpoint.
Trait Implementations§
Source§impl Debug for EndpointNameError
impl Debug for EndpointNameError
Source§impl Display for EndpointNameError
impl Display for EndpointNameError
impl Eq for EndpointNameError
Source§impl Error for EndpointNameError
impl Error for EndpointNameError
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 EndpointNameError
impl PartialEq for EndpointNameError
impl StructuralPartialEq for EndpointNameError
Auto Trait Implementations§
impl Freeze for EndpointNameError
impl RefUnwindSafe for EndpointNameError
impl Send for EndpointNameError
impl Sync for EndpointNameError
impl Unpin for EndpointNameError
impl UnsafeUnpin for EndpointNameError
impl UnwindSafe for EndpointNameError
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