Skip to content

add add_raw function in rust bindings to add vector from raw bytes#35

Merged
Ngalstyan4 merged 2 commits intoNgalstyan4:main-lanternfrom
var77:varik/rust-add-raw
Sep 27, 2024
Merged

add add_raw function in rust bindings to add vector from raw bytes#35
Ngalstyan4 merged 2 commits intoNgalstyan4:main-lanternfrom
var77:varik/rust-add-raw

Conversation

@var77
Copy link
Copy Markdown

@var77 var77 commented Sep 25, 2024

No description provided.

_vector: &[Self],
_element_bits: usize,
) -> Result<(), cxx::Exception> {
ffi::throw_not_implemented_exception()?;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this function actually return? I'd think it would be -> ! so the nest line would not be necessary

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tried to change the return type to -> ! , but the compiler complains that it do not match the return type specified in trait

@Ngalstyan4 Ngalstyan4 merged commit aa4f91d into Ngalstyan4:main-lantern Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants