MCPcopy Create free account
hub / github.com/deviceplug/btleplug / take

Method take

src/droidplug/jni_utils/exceptions.rs:137–139  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

135 }
136
137 pub fn take(&self) -> Result<Box<dyn Any + Send + 'static>, Error> {
138 self.env.take_rust_field(self.internal, "any")
139 }
140
141 pub fn resume_unwind(&self) -> Result<(), Error> {
142 resume_unwind(self.take()?);

Callers 13

check_discoveredMethod · 0.80
confirm_disconnectMethod · 0.80
on_peripheral_connectMethod · 0.80
set_replyMethod · 0.80
pollMethod · 0.80
fn_once_adapterFunction · 0.80
resume_unwindMethod · 0.80
try_fromMethod · 0.80
test_throw_unwind_panicFunction · 0.80

Calls

no outgoing calls

Tested by 3

test_throw_unwind_panicFunction · 0.64