Translate Types and Utilities parity tests
Some checks failed
Rust API gates / api-gates (push) Has been cancelled

This commit is contained in:
2026-08-08 13:58:25 +02:00
parent 39ee61525a
commit 1c0dfdc35c
19 changed files with 3482 additions and 3318 deletions

View File

@@ -1898,8 +1898,10 @@ impl RlvRestrictionManager {
pub fn subscribe_restriction_updated(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_rlv::event_arguments::RestrictionUpdatedEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_rlv::event_arguments::RestrictionUpdatedEventArgs)
+ Send
+ Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {

View File

@@ -152,8 +152,8 @@ impl VoiceGateway {
pub fn subscribe_on_account_login_response(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewayVoiceAccountEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewayVoiceAccountEventArgs) + Send + Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -165,8 +165,10 @@ impl VoiceGateway {
pub fn subscribe_on_account_login_state_change_event(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewayAccountLoginStateChangeEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewayAccountLoginStateChangeEventArgs)
+ Send
+ Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -178,8 +180,10 @@ impl VoiceGateway {
pub fn subscribe_on_aux_audio_properties_event(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewayAudioPropertiesEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewayAudioPropertiesEventArgs)
+ Send
+ Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -191,8 +195,8 @@ impl VoiceGateway {
pub fn subscribe_on_aux_get_capture_devices_response(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewayVoiceDevicesEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewayVoiceDevicesEventArgs) + Send + Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -204,8 +208,8 @@ impl VoiceGateway {
pub fn subscribe_on_aux_get_render_devices_response(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewayVoiceDevicesEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewayVoiceDevicesEventArgs) + Send + Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -217,8 +221,10 @@ impl VoiceGateway {
pub fn subscribe_on_connector_create_response(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewayVoiceConnectorEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewayVoiceConnectorEventArgs)
+ Send
+ Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -284,8 +290,8 @@ impl VoiceGateway {
pub fn subscribe_on_session_added_event(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewaySessionAddedEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewaySessionAddedEventArgs) + Send + Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -296,7 +302,7 @@ impl VoiceGateway {
/// C# member: `E:LibreMetaverse.Voice.Vivox.VoiceGateway.OnSessionCreate`.
pub fn subscribe_on_session_create(
&self,
handler: Option<libremetaverse_types::compat::EventHandler<()>>,
handler: Option<std::sync::Arc<dyn Fn(()) + Send + Sync>>,
) -> libremetaverse_types::compat::Subscription {
libremetaverse_types::unimplemented_api!(
"E:LibreMetaverse.Voice.Vivox.VoiceGateway.OnSessionCreate"
@@ -306,8 +312,8 @@ impl VoiceGateway {
pub fn subscribe_on_session_create_response(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewayVoiceSessionEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewayVoiceSessionEventArgs) + Send + Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -319,8 +325,10 @@ impl VoiceGateway {
pub fn subscribe_on_session_group_added_event(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewaySessionGroupAddedEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewaySessionGroupAddedEventArgs)
+ Send
+ Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -332,8 +340,8 @@ impl VoiceGateway {
pub fn subscribe_on_session_media_event(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewaySessionMediaEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewaySessionMediaEventArgs) + Send + Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -345,8 +353,8 @@ impl VoiceGateway {
pub fn subscribe_on_session_new_event(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewayNewSessionEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewayNewSessionEventArgs) + Send + Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -358,8 +366,10 @@ impl VoiceGateway {
pub fn subscribe_on_session_participant_added_event(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewayParticipantAddedEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewayParticipantAddedEventArgs)
+ Send
+ Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -371,8 +381,10 @@ impl VoiceGateway {
pub fn subscribe_on_session_participant_properties_event(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewayParticipantPropertiesEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewayParticipantPropertiesEventArgs)
+ Send
+ Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -384,8 +396,10 @@ impl VoiceGateway {
pub fn subscribe_on_session_participant_removed_event(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewayParticipantRemovedEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewayParticipantRemovedEventArgs)
+ Send
+ Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -397,8 +411,10 @@ impl VoiceGateway {
pub fn subscribe_on_session_participant_state_change_event(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewayParticipantStateChangeEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewayParticipantStateChangeEventArgs)
+ Send
+ Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -410,8 +426,10 @@ impl VoiceGateway {
pub fn subscribe_on_session_participant_updated_event(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewayParticipantUpdatedEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewayParticipantUpdatedEventArgs)
+ Send
+ Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -422,7 +440,7 @@ impl VoiceGateway {
/// C# member: `E:LibreMetaverse.Voice.Vivox.VoiceGateway.OnSessionRemove`.
pub fn subscribe_on_session_remove(
&self,
handler: Option<libremetaverse_types::compat::EventHandler<()>>,
handler: Option<std::sync::Arc<dyn Fn(()) + Send + Sync>>,
) -> libremetaverse_types::compat::Subscription {
libremetaverse_types::unimplemented_api!(
"E:LibreMetaverse.Voice.Vivox.VoiceGateway.OnSessionRemove"
@@ -432,8 +450,10 @@ impl VoiceGateway {
pub fn subscribe_on_session_removed_event(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewaySessionRemovedEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewaySessionRemovedEventArgs)
+ Send
+ Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -445,8 +465,10 @@ impl VoiceGateway {
pub fn subscribe_on_session_state_change_event(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewaySessionStateChangeEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewaySessionStateChangeEventArgs)
+ Send
+ Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -458,8 +480,10 @@ impl VoiceGateway {
pub fn subscribe_on_session_updated_event(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewaySessionUpdatedEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewaySessionUpdatedEventArgs)
+ Send
+ Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -489,8 +513,10 @@ impl VoiceGateway {
pub fn subscribe_on_voice_response(
&self,
handler: Option<
libremetaverse_types::compat::EventHandler<
libremetaverse_voice_vivox::VoiceGatewayVoiceResponseEventArgs,
std::sync::Arc<
dyn Fn(libremetaverse_voice_vivox::VoiceGatewayVoiceResponseEventArgs)
+ Send
+ Sync,
>,
>,
) -> libremetaverse_types::compat::Subscription {
@@ -3325,7 +3351,7 @@ impl VoiceSession {
/// C# member: `E:LibreMetaverse.Voice.Vivox.VoiceSession.OnParticipantAdded`.
pub fn subscribe_on_participant_added(
&self,
handler: Option<libremetaverse_types::compat::EventHandler<()>>,
handler: Option<std::sync::Arc<dyn Fn(()) + Send + Sync>>,
) -> libremetaverse_types::compat::Subscription {
libremetaverse_types::unimplemented_api!(
"E:LibreMetaverse.Voice.Vivox.VoiceSession.OnParticipantAdded"
@@ -3334,7 +3360,7 @@ impl VoiceSession {
/// C# member: `E:LibreMetaverse.Voice.Vivox.VoiceSession.OnParticipantRemoved`.
pub fn subscribe_on_participant_removed(
&self,
handler: Option<libremetaverse_types::compat::EventHandler<()>>,
handler: Option<std::sync::Arc<dyn Fn(()) + Send + Sync>>,
) -> libremetaverse_types::compat::Subscription {
libremetaverse_types::unimplemented_api!(
"E:LibreMetaverse.Voice.Vivox.VoiceSession.OnParticipantRemoved"
@@ -3343,7 +3369,7 @@ impl VoiceSession {
/// C# member: `E:LibreMetaverse.Voice.Vivox.VoiceSession.OnParticipantUpdate`.
pub fn subscribe_on_participant_update(
&self,
handler: Option<libremetaverse_types::compat::EventHandler<()>>,
handler: Option<std::sync::Arc<dyn Fn(()) + Send + Sync>>,
) -> libremetaverse_types::compat::Subscription {
libremetaverse_types::unimplemented_api!(
"E:LibreMetaverse.Voice.Vivox.VoiceSession.OnParticipantUpdate"

File diff suppressed because it is too large Load Diff