pub enum PipeError {
BrokenPipe,
BufferFull,
BufferEmpty,
InvalidState,
IpcError(IpcError),
}
Expand description
Represents errors specific to pipe operations
Variants§
BrokenPipe
The pipe is broken (no readers or writers)
BufferFull
The pipe buffer is full
BufferEmpty
The pipe buffer is empty
InvalidState
Invalid pipe state
IpcError(IpcError)
General IPC error
Trait Implementations§
Source§impl From<StreamError> for PipeError
impl From<StreamError> for PipeError
Source§fn from(stream_err: StreamError) -> Self
fn from(stream_err: StreamError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PipeError
impl RefUnwindSafe for PipeError
impl Send for PipeError
impl Sync for PipeError
impl Unpin for PipeError
impl UnwindSafe for PipeError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)