pub struct EntityContextGuard;Expand description
RAII guard that initializes and cleans up the entity context.
Create this at the start of deserialization; it will automatically clean up the registry when dropped.
Implementations§
Trait Implementations§
Source§impl Default for EntityContextGuard
impl Default for EntityContextGuard
Auto Trait Implementations§
impl Freeze for EntityContextGuard
impl RefUnwindSafe for EntityContextGuard
impl Send for EntityContextGuard
impl Sync for EntityContextGuard
impl Unpin for EntityContextGuard
impl UnwindSafe for EntityContextGuard
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