pub struct RouteTestRequest {
pub inbound_tag: String,
pub domain: String,
pub ip: String,
pub port: u16,
pub network: String,
pub protocol: String,
pub email: String,
}Expand description
Synthetic connection used to test Xray routing.
Fields§
§inbound_tag: StringSimulated inbound tag.
domain: StringDestination domain.
ip: StringDestination IP.
port: u16Destination port.
network: StringNetwork, usually tcp or udp.
protocol: StringOptional sniffed protocol.
email: StringOptional user email.
Trait Implementations§
Source§impl Clone for RouteTestRequest
impl Clone for RouteTestRequest
Source§impl Debug for RouteTestRequest
impl Debug for RouteTestRequest
Source§impl Default for RouteTestRequest
impl Default for RouteTestRequest
Auto Trait Implementations§
impl Freeze for RouteTestRequest
impl RefUnwindSafe for RouteTestRequest
impl Send for RouteTestRequest
impl Sync for RouteTestRequest
impl Unpin for RouteTestRequest
impl UnsafeUnpin for RouteTestRequest
impl UnwindSafe for RouteTestRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more