pub struct DuplicateRegistrationError {
pub handler_kind: RegistrationKind,
pub handler_name: String,
pub workflow_type: Option<String>,
pub first_definition: HandlerRegistration,
pub second_definition: HandlerRegistration,
}Expand description
Ambiguous local configuration, rejected before contacting Server.
Fields§
§handler_kind: RegistrationKind§handler_name: String§workflow_type: Option<String>Query/update registrations are scoped to their owning workflow type.
first_definition: HandlerRegistration§second_definition: HandlerRegistrationTrait Implementations§
Source§impl Clone for DuplicateRegistrationError
impl Clone for DuplicateRegistrationError
Source§fn clone(&self) -> DuplicateRegistrationError
fn clone(&self) -> DuplicateRegistrationError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DuplicateRegistrationError
impl Debug for DuplicateRegistrationError
Source§impl Display for DuplicateRegistrationError
impl Display for DuplicateRegistrationError
Source§impl Error for DuplicateRegistrationError
impl Error for DuplicateRegistrationError
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<DuplicateRegistrationError> for Error
impl From<DuplicateRegistrationError> for Error
Source§fn from(error: DuplicateRegistrationError) -> Self
fn from(error: DuplicateRegistrationError) -> Self
Converts to this type from the input type.
impl Eq for DuplicateRegistrationError
impl StructuralPartialEq for DuplicateRegistrationError
Auto Trait Implementations§
impl Freeze for DuplicateRegistrationError
impl RefUnwindSafe for DuplicateRegistrationError
impl Send for DuplicateRegistrationError
impl Sync for DuplicateRegistrationError
impl Unpin for DuplicateRegistrationError
impl UnwindSafe for DuplicateRegistrationError
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