Struct j4rs::InstanceReceiver
source · pub struct InstanceReceiver { /* private fields */ }
Expand description
A receiver for Java Instances.
It keeps a channel Receiver to get callback Instances from the Java world
and the address of a Box<Sender<Instance>>
Box in the heap. This Box is used by Java to communicate
asynchronously Instances to Rust.
On Drop, the InstanceReceiver removes the Box from the heap.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InstanceReceiver
impl RefUnwindSafe for InstanceReceiver
impl Send for InstanceReceiver
impl !Sync for InstanceReceiver
impl Unpin for InstanceReceiver
impl UnwindSafe for InstanceReceiver
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