#[repr(C)]pub struct _tagEOS_RTC_DisconnectedCallbackInfo {
pub ResultCode: EOS_EResult,
pub ClientData: *mut c_void,
pub LocalUserId: EOS_ProductUserId,
pub RoomName: *const c_char,
}Expand description
This struct is passed in with a call to EOS_RTC_AddNotifyDisconnected registered event.
Fields§
§ResultCode: EOS_EResultThis returns: EOS_Success The room was left cleanly. EOS_NoConnection: There was a network issue connecting to the server (retryable). EOS_RTC_UserKicked: The user has been kicked by the server (retryable). EOS_ServiceFailure: A known error occurred during interaction with the server (retryable). EOS_UnexpectedError Unexpected error (retryable).
ClientData: *mut c_voidClient-specified data passed into EOS_RTC_AddNotifyDisconnected.
LocalUserId: EOS_ProductUserIdThe Product User ID of the user who initiated this request.
RoomName: *const c_charThe room associated with this event.
Trait Implementations§
Source§impl Clone for _tagEOS_RTC_DisconnectedCallbackInfo
impl Clone for _tagEOS_RTC_DisconnectedCallbackInfo
Source§fn clone(&self) -> _tagEOS_RTC_DisconnectedCallbackInfo
fn clone(&self) -> _tagEOS_RTC_DisconnectedCallbackInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for _tagEOS_RTC_DisconnectedCallbackInfo
Auto Trait Implementations§
impl Freeze for _tagEOS_RTC_DisconnectedCallbackInfo
impl RefUnwindSafe for _tagEOS_RTC_DisconnectedCallbackInfo
impl !Send for _tagEOS_RTC_DisconnectedCallbackInfo
impl !Sync for _tagEOS_RTC_DisconnectedCallbackInfo
impl Unpin for _tagEOS_RTC_DisconnectedCallbackInfo
impl UnsafeUnpin for _tagEOS_RTC_DisconnectedCallbackInfo
impl UnwindSafe for _tagEOS_RTC_DisconnectedCallbackInfo
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