You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[derive(Clone, uniffi::Enum)]pubenumEventSendState{NotSentYet,SendingFailed{/// The error reason, with information for the user.error:QueueWedgeError,},
...
}
Where QueueWedgeError derives uniffi::Error
#[derive(uniffi::Error)]pubenumQueueWedgeError
Will generate a code that doesn' compile
undefined: FfiDestroyerTypeQueueWedgeError
cannot use FfiConverterTypeQueueWedgeErrorINSTANCE.Read(reader) (value of type *QueueWedgeError) as QueueWedgeError value in struct literal
cannot use variant_value.Error (variable of type QueueWedgeError) as *QueueWedgeError value in argument to FfiConverterTypeQueueWedgeErrorINSTANCE.Write
Sry but I don't know much about go.
Though it looks like it is related to the following issues? #36
and maybe #61
The text was updated successfully, but these errors were encountered:
BillCarsonFr
changed the title
Using an uniffi::Error inside a struc generates code that doesn't compile
Using an uniffi::Error inside a struct generates code that doesn't compile
Oct 23, 2024
BillCarsonFr
added a commit
to matrix-org/matrix-rust-sdk
that referenced
this issue
Oct 23, 2024
For example:
Where
QueueWedgeError
derives uniffi::ErrorWill generate a code that doesn' compile
Sry but I don't know much about go.
Though it looks like it is related to the following issues?
#36
and maybe
#61
The text was updated successfully, but these errors were encountered: