Struct flv_tls_proxy::ProxyBuilder
source · pub struct ProxyBuilder { /* private fields */ }
Implementations§
source§impl ProxyBuilder
impl ProxyBuilder
pub fn new(addr: String, acceptor: TlsAcceptor, target: String) -> Self
pub fn with_authenticator(self, authenticator: Box<dyn Authenticator>) -> Self
pub fn with_terminate(self, terminate: Arc<Event>) -> Self
pub async fn start(self) -> Result<(), IoError>
Auto Trait Implementations§
impl !RefUnwindSafe for ProxyBuilder
impl Send for ProxyBuilder
impl Sync for ProxyBuilder
impl Unpin for ProxyBuilder
impl !UnwindSafe for ProxyBuilder
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