pub enum TargetResolution {
Connect {
host: String,
port: u16,
},
Reject {
reason: String,
},
}Expand description
Result of resolving where to send a relayed stream.
Variants§
Trait Implementations§
Source§impl Clone for TargetResolution
impl Clone for TargetResolution
Source§fn clone(&self) -> TargetResolution
fn clone(&self) -> TargetResolution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TargetResolution
impl Debug for TargetResolution
impl Eq for TargetResolution
Source§impl PartialEq for TargetResolution
impl PartialEq for TargetResolution
impl StructuralPartialEq for TargetResolution
Auto Trait Implementations§
impl Freeze for TargetResolution
impl RefUnwindSafe for TargetResolution
impl Send for TargetResolution
impl Sync for TargetResolution
impl Unpin for TargetResolution
impl UnsafeUnpin for TargetResolution
impl UnwindSafe for TargetResolution
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