pub enum GenericError {
Show 23 variants
AgentStartFailed {
msg: Option<Error>,
},
BufferNotSetForExclusivePublication {
registration_id: i64,
},
BufferNotSetForPublication {
registration_id: i64,
},
ClientConductorClosed,
ClientHeartbeatNotActive,
CncVersionDoesntMatch {
app_version: String,
file_version: String,
},
CounterAlreadyDropped,
CounterNotReadyYet {
status: RegistrationStatus,
},
CounterWasNotCreatedBefore {
status: RegistrationStatus,
},
CounterNotFound,
Custom(String),
ExclusivePublicationAlreadyDropped,
ExclusivePublicationNotFound,
ExclusivePublicationNotReadyYet {
status: RegistrationStatus,
},
PublicationAlreadyDropped,
PublicationNotFound,
StringToCStringConversionFailed,
SubscriptionAlreadyDropped,
SubscriptionNotFound,
SubscriptionWasNotCreatedBefore {
status: RegistrationStatus,
},
TimeoutBetweenServiceCallsOverTimeout(Moment),
UnknownCorrelationId(i64),
UnknownRegistrationId(i64),
}
Variants§
AgentStartFailed
BufferNotSetForExclusivePublication
BufferNotSetForPublication
ClientConductorClosed
ClientHeartbeatNotActive
CncVersionDoesntMatch
CounterAlreadyDropped
CounterNotReadyYet
Fields
§
status: RegistrationStatus
CounterWasNotCreatedBefore
Fields
§
status: RegistrationStatus
CounterNotFound
Custom(String)
ExclusivePublicationAlreadyDropped
ExclusivePublicationNotFound
ExclusivePublicationNotReadyYet
Fields
§
status: RegistrationStatus
PublicationAlreadyDropped
PublicationNotFound
StringToCStringConversionFailed
SubscriptionAlreadyDropped
SubscriptionNotFound
SubscriptionWasNotCreatedBefore
Fields
§
status: RegistrationStatus
TimeoutBetweenServiceCallsOverTimeout(Moment)
UnknownCorrelationId(i64)
UnknownRegistrationId(i64)
Trait Implementations§
Source§impl Debug for GenericError
impl Debug for GenericError
Source§impl Display for GenericError
impl Display for GenericError
Source§impl Error for GenericError
impl Error for GenericError
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 From<GenericError> for AeronError
impl From<GenericError> for AeronError
Source§fn from(source: GenericError) -> Self
fn from(source: GenericError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GenericError
impl !RefUnwindSafe for GenericError
impl Send for GenericError
impl Sync for GenericError
impl Unpin for GenericError
impl !UnwindSafe for GenericError
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