pub enum LiveRuntimeReceiptError {
InvalidEndpoint,
NotLive,
IdentityMismatch,
Io(Error),
InvalidReceipt(String),
AmbiguousRuntime(String),
}Expand description
Receipt registration or resolution failure.
Variants§
InvalidEndpoint
Opaque endpoint has an invalid scheme or identifier.
NotLive
Receipt no longer exists or its owning process is gone.
IdentityMismatch
Receipt exists but belongs to another source session or workspace.
Io(Error)
Receipt storage failed.
InvalidReceipt(String)
Receipt data was malformed or from another schema version.
AmbiguousRuntime(String)
More than one active receipt has the requested stable runtime id.
Trait Implementations§
Source§impl Debug for LiveRuntimeReceiptError
impl Debug for LiveRuntimeReceiptError
Source§impl Display for LiveRuntimeReceiptError
impl Display for LiveRuntimeReceiptError
Source§impl Error for LiveRuntimeReceiptError
impl Error for LiveRuntimeReceiptError
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 From<Error> for LiveRuntimeReceiptError
impl From<Error> for LiveRuntimeReceiptError
Source§fn from(source: Error) -> LiveRuntimeReceiptError
fn from(source: Error) -> LiveRuntimeReceiptError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for LiveRuntimeReceiptError
impl !UnwindSafe for LiveRuntimeReceiptError
impl Freeze for LiveRuntimeReceiptError
impl Send for LiveRuntimeReceiptError
impl Sync for LiveRuntimeReceiptError
impl Unpin for LiveRuntimeReceiptError
impl UnsafeUnpin for LiveRuntimeReceiptError
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