pub enum TapTypeData {
LocalFile {
file_path: PathBuf,
},
Local {
custom_remote_path: Option<PathBuf>,
use_alternative: bool,
},
Remote {
proto: TapTypeDataRemProto,
remote_addr: SocketAddr,
bind_addr: SocketAddr,
},
RemoteTls {
remote_addr: SocketAddr,
serv_name: ServerName<'static>,
client_config: Arc<ClientConfig>,
},
}Variants§
Trait Implementations§
Source§impl Clone for TapTypeData
impl Clone for TapTypeData
Source§fn clone(&self) -> TapTypeData
fn clone(&self) -> TapTypeData
Returns a copy 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 Debug for TapTypeData
impl Debug for TapTypeData
Auto Trait Implementations§
impl Freeze for TapTypeData
impl !RefUnwindSafe for TapTypeData
impl Send for TapTypeData
impl Sync for TapTypeData
impl Unpin for TapTypeData
impl !UnwindSafe for TapTypeData
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