pub struct DefaultMessageTypeResolver { /* private fields */ }Implementations§
Source§impl DefaultMessageTypeResolver
impl DefaultMessageTypeResolver
Sourcepub fn new(assemblies: &[&'static Assembly]) -> DefaultMessageTypeResolver
pub fn new(assemblies: &[&'static Assembly]) -> DefaultMessageTypeResolver
The resolver of the message classes of the given assemblies and of this library, which comes last: where two classes carry the same identifier, the identifier resolves to the class of the later assembly, and each class resolves to its identifier.
The original enumerates the exported types of each assembly and reads
the identifier attribute of each. Here an assembly is the table of
its exported types (Assembly).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DefaultMessageTypeResolver
impl RefUnwindSafe for DefaultMessageTypeResolver
impl Send for DefaultMessageTypeResolver
impl Sync for DefaultMessageTypeResolver
impl Unpin for DefaultMessageTypeResolver
impl UnsafeUnpin for DefaultMessageTypeResolver
impl UnwindSafe for DefaultMessageTypeResolver
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