Struct godot::classes::upnp::UpnpResult
pub struct UpnpResult { /* private fields */ }
Expand description
Godot enum name: UPNPResult
.
Implementations§
§impl UpnpResult
impl UpnpResult
pub const SUCCESS: UpnpResult = _
pub const SUCCESS: UpnpResult = _
Godot enumerator name: UPNP_RESULT_SUCCESS
pub const NOT_AUTHORIZED: UpnpResult = _
pub const NOT_AUTHORIZED: UpnpResult = _
Godot enumerator name: UPNP_RESULT_NOT_AUTHORIZED
pub const PORT_MAPPING_NOT_FOUND: UpnpResult = _
pub const PORT_MAPPING_NOT_FOUND: UpnpResult = _
Godot enumerator name: UPNP_RESULT_PORT_MAPPING_NOT_FOUND
pub const INCONSISTENT_PARAMETERS: UpnpResult = _
pub const INCONSISTENT_PARAMETERS: UpnpResult = _
Godot enumerator name: UPNP_RESULT_INCONSISTENT_PARAMETERS
pub const NO_SUCH_ENTRY_IN_ARRAY: UpnpResult = _
pub const NO_SUCH_ENTRY_IN_ARRAY: UpnpResult = _
Godot enumerator name: UPNP_RESULT_NO_SUCH_ENTRY_IN_ARRAY
pub const ACTION_FAILED: UpnpResult = _
pub const ACTION_FAILED: UpnpResult = _
Godot enumerator name: UPNP_RESULT_ACTION_FAILED
pub const SRC_IP_WILDCARD_NOT_PERMITTED: UpnpResult = _
pub const SRC_IP_WILDCARD_NOT_PERMITTED: UpnpResult = _
Godot enumerator name: UPNP_RESULT_SRC_IP_WILDCARD_NOT_PERMITTED
pub const EXT_PORT_WILDCARD_NOT_PERMITTED: UpnpResult = _
pub const EXT_PORT_WILDCARD_NOT_PERMITTED: UpnpResult = _
Godot enumerator name: UPNP_RESULT_EXT_PORT_WILDCARD_NOT_PERMITTED
pub const INT_PORT_WILDCARD_NOT_PERMITTED: UpnpResult = _
pub const INT_PORT_WILDCARD_NOT_PERMITTED: UpnpResult = _
Godot enumerator name: UPNP_RESULT_INT_PORT_WILDCARD_NOT_PERMITTED
pub const REMOTE_HOST_MUST_BE_WILDCARD: UpnpResult = _
pub const REMOTE_HOST_MUST_BE_WILDCARD: UpnpResult = _
Godot enumerator name: UPNP_RESULT_REMOTE_HOST_MUST_BE_WILDCARD
pub const EXT_PORT_MUST_BE_WILDCARD: UpnpResult = _
pub const EXT_PORT_MUST_BE_WILDCARD: UpnpResult = _
Godot enumerator name: UPNP_RESULT_EXT_PORT_MUST_BE_WILDCARD
pub const NO_PORT_MAPS_AVAILABLE: UpnpResult = _
pub const NO_PORT_MAPS_AVAILABLE: UpnpResult = _
Godot enumerator name: UPNP_RESULT_NO_PORT_MAPS_AVAILABLE
pub const CONFLICT_WITH_OTHER_MECHANISM: UpnpResult = _
pub const CONFLICT_WITH_OTHER_MECHANISM: UpnpResult = _
Godot enumerator name: UPNP_RESULT_CONFLICT_WITH_OTHER_MECHANISM
pub const CONFLICT_WITH_OTHER_MAPPING: UpnpResult = _
pub const CONFLICT_WITH_OTHER_MAPPING: UpnpResult = _
Godot enumerator name: UPNP_RESULT_CONFLICT_WITH_OTHER_MAPPING
pub const SAME_PORT_VALUES_REQUIRED: UpnpResult = _
pub const SAME_PORT_VALUES_REQUIRED: UpnpResult = _
Godot enumerator name: UPNP_RESULT_SAME_PORT_VALUES_REQUIRED
pub const ONLY_PERMANENT_LEASE_SUPPORTED: UpnpResult = _
pub const ONLY_PERMANENT_LEASE_SUPPORTED: UpnpResult = _
Godot enumerator name: UPNP_RESULT_ONLY_PERMANENT_LEASE_SUPPORTED
pub const INVALID_GATEWAY: UpnpResult = _
pub const INVALID_GATEWAY: UpnpResult = _
Godot enumerator name: UPNP_RESULT_INVALID_GATEWAY
pub const INVALID_PORT: UpnpResult = _
pub const INVALID_PORT: UpnpResult = _
Godot enumerator name: UPNP_RESULT_INVALID_PORT
pub const INVALID_PROTOCOL: UpnpResult = _
pub const INVALID_PROTOCOL: UpnpResult = _
Godot enumerator name: UPNP_RESULT_INVALID_PROTOCOL
pub const INVALID_DURATION: UpnpResult = _
pub const INVALID_DURATION: UpnpResult = _
Godot enumerator name: UPNP_RESULT_INVALID_DURATION
pub const INVALID_ARGS: UpnpResult = _
pub const INVALID_ARGS: UpnpResult = _
Godot enumerator name: UPNP_RESULT_INVALID_ARGS
pub const INVALID_RESPONSE: UpnpResult = _
pub const INVALID_RESPONSE: UpnpResult = _
Godot enumerator name: UPNP_RESULT_INVALID_RESPONSE
pub const INVALID_PARAM: UpnpResult = _
pub const INVALID_PARAM: UpnpResult = _
Godot enumerator name: UPNP_RESULT_INVALID_PARAM
pub const HTTP_ERROR: UpnpResult = _
pub const HTTP_ERROR: UpnpResult = _
Godot enumerator name: UPNP_RESULT_HTTP_ERROR
pub const SOCKET_ERROR: UpnpResult = _
pub const SOCKET_ERROR: UpnpResult = _
Godot enumerator name: UPNP_RESULT_SOCKET_ERROR
pub const MEM_ALLOC_ERROR: UpnpResult = _
pub const MEM_ALLOC_ERROR: UpnpResult = _
Godot enumerator name: UPNP_RESULT_MEM_ALLOC_ERROR
pub const NO_GATEWAY: UpnpResult = _
pub const NO_GATEWAY: UpnpResult = _
Godot enumerator name: UPNP_RESULT_NO_GATEWAY
pub const NO_DEVICES: UpnpResult = _
pub const NO_DEVICES: UpnpResult = _
Godot enumerator name: UPNP_RESULT_NO_DEVICES
pub const UNKNOWN_ERROR: UpnpResult = _
pub const UNKNOWN_ERROR: UpnpResult = _
Godot enumerator name: UPNP_RESULT_UNKNOWN_ERROR
Trait Implementations§
§impl Clone for UpnpResult
impl Clone for UpnpResult
§fn clone(&self) -> UpnpResult
fn clone(&self) -> UpnpResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for UpnpResult
impl Debug for UpnpResult
§impl EngineEnum for UpnpResult
impl EngineEnum for UpnpResult
§impl FromGodot for UpnpResult
impl FromGodot for UpnpResult
§fn try_from_godot(
via: <UpnpResult as GodotConvert>::Via,
) -> Result<UpnpResult, ConvertError>
fn try_from_godot( via: <UpnpResult as GodotConvert>::Via, ) -> Result<UpnpResult, ConvertError>
Err
on failure.§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
§fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
Variant
, returning Err
on failure.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
§impl GodotConvert for UpnpResult
impl GodotConvert for UpnpResult
§impl Hash for UpnpResult
impl Hash for UpnpResult
§impl PartialEq for UpnpResult
impl PartialEq for UpnpResult
§fn eq(&self, other: &UpnpResult) -> bool
fn eq(&self, other: &UpnpResult) -> bool
self
and other
values to be equal, and is used
by ==
.§impl ToGodot for UpnpResult
impl ToGodot for UpnpResult
§fn to_godot(&self) -> <UpnpResult as GodotConvert>::Via
fn to_godot(&self) -> <UpnpResult as GodotConvert>::Via
§fn into_godot(self) -> Self::Via
fn into_godot(self) -> Self::Via
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
impl Copy for UpnpResult
impl Eq for UpnpResult
impl StructuralPartialEq for UpnpResult
Auto Trait Implementations§
impl Freeze for UpnpResult
impl RefUnwindSafe for UpnpResult
impl Send for UpnpResult
impl Sync for UpnpResult
impl Unpin for UpnpResult
impl UnwindSafe for UpnpResult
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)