pub struct HandlerRegistrationRecord {
pub handler: String,
pub namespace: String,
pub line: usize,
}Expand description
One one-type-argument handler registration: an invocation whose name reads as an installation and which names exactly one type.
This is the fact a repository’s own message vocabulary is derived from.
The named type’s base list says which generic base that repository
treats as a handler shape and at which position it carries its message,
so a bus whose type names appear nowhere in this engine is still
recognized from the repository’s own registrations. handler carries
the type argument’s descriptor as written; resolving it is the
resolver’s job, not the extractor’s.
Fields§
§handler: StringThe registered type’s descriptor, as written.
namespace: StringThe registration call’s enclosing namespace.
line: usizeThe registration call’s 1-based line.
Trait Implementations§
Source§impl Clone for HandlerRegistrationRecord
impl Clone for HandlerRegistrationRecord
Source§impl Debug for HandlerRegistrationRecord
impl Debug for HandlerRegistrationRecord
impl StructuralPartialEq for HandlerRegistrationRecord
Auto Trait Implementations§
impl Freeze for HandlerRegistrationRecord
impl RefUnwindSafe for HandlerRegistrationRecord
impl Send for HandlerRegistrationRecord
impl Sync for HandlerRegistrationRecord
impl Unpin for HandlerRegistrationRecord
impl UnsafeUnpin for HandlerRegistrationRecord
impl UnwindSafe for HandlerRegistrationRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more