#[repr(C)]pub struct _tagEOS_P2P_SetRelayControlOptions {
pub ApiVersion: i32,
pub RelayControl: EOS_ERelayControl,
}Expand description
Structure containing information about new relay configurations.
Fields§
§ApiVersion: i32API Version: Set this to EOS_P2P_SETRELAYCONTROL_API_LATEST.
RelayControl: EOS_ERelayControlThe requested level of relay servers for P2P connections. This setting is only applied to new P2P connections, or when existing P2P connections reconnect during a temporary connectivity outage. Peers with an incompatible setting to the local setting will not be able to connect.
Trait Implementations§
Source§impl Clone for _tagEOS_P2P_SetRelayControlOptions
impl Clone for _tagEOS_P2P_SetRelayControlOptions
Source§fn clone(&self) -> _tagEOS_P2P_SetRelayControlOptions
fn clone(&self) -> _tagEOS_P2P_SetRelayControlOptions
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_P2P_SetRelayControlOptions
Auto Trait Implementations§
impl Freeze for _tagEOS_P2P_SetRelayControlOptions
impl RefUnwindSafe for _tagEOS_P2P_SetRelayControlOptions
impl Send for _tagEOS_P2P_SetRelayControlOptions
impl Sync for _tagEOS_P2P_SetRelayControlOptions
impl Unpin for _tagEOS_P2P_SetRelayControlOptions
impl UnsafeUnpin for _tagEOS_P2P_SetRelayControlOptions
impl UnwindSafe for _tagEOS_P2P_SetRelayControlOptions
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