Skip to content

Commit

Permalink
Add new method as_any() to GuestAddressSpace
Browse files Browse the repository at this point in the history
Add new method as_any() to GuestAddressSpace, which returns reference
to a std::any::Any trait object. Then downcast_ref() could be used to
get the concrete type of GuestAddressSpace trait object.

Signed-off-by: Liu Jiang <[email protected]>
  • Loading branch information
jiangliu committed Mar 8, 2022
1 parent c66e561 commit 57fe474
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 57fe474

Please sign in to comment.