#[repr(transparent)]pub struct RPCOPT_SERVER_LOCALITY_VALUES(pub i32);Tuple Fields§
§0: i32Implementations§
Source§impl RPCOPT_SERVER_LOCALITY_VALUES
impl RPCOPT_SERVER_LOCALITY_VALUES
pub const SERVER_LOCALITY_PROCESS_LOCAL: Self
pub const SERVER_LOCALITY_MACHINE_LOCAL: Self
pub const SERVER_LOCALITY_REMOTE: Self
Trait Implementations§
Source§impl Abi for RPCOPT_SERVER_LOCALITY_VALUES
impl Abi for RPCOPT_SERVER_LOCALITY_VALUES
Source§type Abi = RPCOPT_SERVER_LOCALITY_VALUES
type Abi = RPCOPT_SERVER_LOCALITY_VALUES
The abi representation of the implementing type. Read more
Source§fn set_abi(&mut self) -> *mut Self::Abi
fn set_abi(&mut self) -> *mut Self::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: Self::Abi) -> Result<Self, Error>
unsafe fn from_abi(abi: Self::Abi) -> Result<Self, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl Clone for RPCOPT_SERVER_LOCALITY_VALUES
impl Clone for RPCOPT_SERVER_LOCALITY_VALUES
Source§fn clone(&self) -> RPCOPT_SERVER_LOCALITY_VALUES
fn clone(&self) -> RPCOPT_SERVER_LOCALITY_VALUES
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 moreSource§impl Default for RPCOPT_SERVER_LOCALITY_VALUES
impl Default for RPCOPT_SERVER_LOCALITY_VALUES
Source§fn default() -> RPCOPT_SERVER_LOCALITY_VALUES
fn default() -> RPCOPT_SERVER_LOCALITY_VALUES
Returns the “default value” for a type. Read more
Source§impl From<i32> for RPCOPT_SERVER_LOCALITY_VALUES
impl From<i32> for RPCOPT_SERVER_LOCALITY_VALUES
Source§impl PartialEq for RPCOPT_SERVER_LOCALITY_VALUES
impl PartialEq for RPCOPT_SERVER_LOCALITY_VALUES
Source§fn eq(&self, other: &RPCOPT_SERVER_LOCALITY_VALUES) -> bool
fn eq(&self, other: &RPCOPT_SERVER_LOCALITY_VALUES) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RPCOPT_SERVER_LOCALITY_VALUES
impl Eq for RPCOPT_SERVER_LOCALITY_VALUES
impl StructuralPartialEq for RPCOPT_SERVER_LOCALITY_VALUES
Auto Trait Implementations§
impl Freeze for RPCOPT_SERVER_LOCALITY_VALUES
impl RefUnwindSafe for RPCOPT_SERVER_LOCALITY_VALUES
impl Send for RPCOPT_SERVER_LOCALITY_VALUES
impl Sync for RPCOPT_SERVER_LOCALITY_VALUES
impl Unpin for RPCOPT_SERVER_LOCALITY_VALUES
impl UnwindSafe for RPCOPT_SERVER_LOCALITY_VALUES
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