pub enum CellError {
Args(String),
ShmTimeout(PathBuf),
ShmOpen(String),
Rpc(RpcError),
Transport(TransportError),
}Expand description
Error type for cell runtime operations
Variants§
Args(String)
Failed to parse command line arguments
ShmTimeout(PathBuf)
SHM file was not created by host within timeout
ShmOpen(String)
Failed to open SHM session
Rpc(RpcError)
RPC session error
Transport(TransportError)
Transport error
Trait Implementations§
Source§impl Error for CellError
impl Error for CellError
1.30.0§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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<TransportError> for CellError
impl From<TransportError> for CellError
Source§fn from(e: TransportError) -> Self
fn from(e: TransportError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CellError
impl !RefUnwindSafe for CellError
impl Send for CellError
impl Sync for CellError
impl Unpin for CellError
impl !UnwindSafe for CellError
Blanket Implementations§
§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