pub struct PipeConnectError {
pub pipe_name: Cow<'static, str>,
pub context: Option<Cow<'static, str>>,
pub error_code: Option<i32>,
}Expand description
Pipe connection error.
Fields§
§pipe_name: Cow<'static, str>Pipe name used during connection.
context: Option<Cow<'static, str>>Optional connection context.
error_code: Option<i32>Optional Windows error code.
Implementations§
Trait Implementations§
Source§impl Debug for PipeConnectError
impl Debug for PipeConnectError
Source§impl Display for PipeConnectError
impl Display for PipeConnectError
Source§impl Error for PipeConnectError
impl Error for PipeConnectError
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()
Auto Trait Implementations§
impl Freeze for PipeConnectError
impl RefUnwindSafe for PipeConnectError
impl Send for PipeConnectError
impl Sync for PipeConnectError
impl Unpin for PipeConnectError
impl UnsafeUnpin for PipeConnectError
impl UnwindSafe for PipeConnectError
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