Enum proxy_stream::InterruptedStream
source · pub enum InterruptedStream {
Socks5(InterruptedSocks5),
}Variants§
Socks5(InterruptedSocks5)
Implementations§
source§impl InterruptedStream
impl InterruptedStream
pub async fn serve( self, stream: impl AsyncSocket ) -> Result<(), ProxyStreamError>
pub fn addr(&self) -> &DestinationAddress
pub async fn replay_error( self, replay: ReplayError ) -> Result<(), ProxyStreamError>
Auto Trait Implementations§
impl !RefUnwindSafe for InterruptedStream
impl Send for InterruptedStream
impl !Sync for InterruptedStream
impl Unpin for InterruptedStream
impl !UnwindSafe for InterruptedStream
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