Re: [PATCH v19 3/8] rust: implement `ForeignOwnable` for `Owned`
Alice Ryhl <[email protected]>
| Newsgroups | gmane.linux.kernel.pci,gmane.linux.kernel.rust,gmane.linux.kernel,gmane.linux.kernel.mm,gmane.linux.block,gmane.linux.kernel.lsm,gmane.comp.video.dri.devel,gmane.linux.file-systems,gmane.linux.power-management.general,gmane.linux.pwm |
|---|---|
| Message-ID | <CAH5fLggMeHUgXj7JGYSJejUrR2PdWymOOb+3E1VmHokzcox4hg@mail.gmail.com> |
On Fri, Jun 26, 2026 at 1:55 PM Andreas Hindborg <[email protected]> wrote: > > Implement `ForeignOwnable` for `Owned<T>`. This allows use of `Owned<T>` in > places such as the `XArray`. > > Note that `T` does not need to implement `ForeignOwnable` for `Owned<T>` to > implement `ForeignOwnable`. > > Signed-off-by: Andreas Hindborg <[email protected]> > Reviewed-by: Gary Guo <[email protected]> Reviewed-by: Alice Ryhl <[email protected]>