Skip to main content

IUnityWebRequestResultMethods

Trait IUnityWebRequestResultMethods 

Source
pub trait IUnityWebRequestResultMethods: IUnityWebRequestResult {
    // Provided methods
    fn ctor(self, request: impl Into<UnityWebRequest>) { ... }
    fn to_string(self) -> Il2CppString { ... }
    fn get_error(self) -> Il2CppString { ... }
    fn get_response_code(self) -> i64 { ... }
    fn get_result(self) -> UnityWebRequest_Result { ... }
    fn get_method(self) -> Il2CppString { ... }
    fn get_url(self) -> Il2CppString { ... }
}

Provided Methods§

Source

fn ctor(self, request: impl Into<UnityWebRequest>)

.ctor(crate::unity_engine::networking::unitywebrequest::UnityWebRequest) overload

Source

fn to_string(self) -> Il2CppString

ToString() overload

Source

fn get_error(self) -> Il2CppString

get_Error() overload

Source

fn get_response_code(self) -> i64

get_ResponseCode() overload

Source

fn get_result(self) -> UnityWebRequest_Result

get_Result() overload

Source

fn get_method(self) -> Il2CppString

get_Method() overload

Source

fn get_url(self) -> Il2CppString

get_Url() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IUnityWebRequestResult> IUnityWebRequestResultMethods for __T

Available on crate feature unity_engine-resource_management-util-unitywebrequestresult only.