[−][src]Enum gadu::conn::NetStream
Variants
UnsecuredTcpStream(TcpStream)
An unsecured TcpStream.
UdsStream(UnixStream)
Unix domain socket stream
SslTcpStream(SslStream<TcpStream>)
An SSL-secured TcpStream. This is only available when compiled with SSL support.
SslMidHandshakeStream(MidHandshakeSslStream<TcpStream>)
Invalid
Methods
impl NetStream
[src]
pub fn shutdown(&mut self) -> Result<(), Error>
[src]
pub fn read(&mut self, buf: &mut [u8]) -> IoResult<usize>
[src]
pub fn write(&mut self, buf: &[u8]) -> IoResult<usize>
[src]
pub fn write_all(&mut self, buf: &[u8]) -> IoResult<()>
[src]
pub fn flush(&mut self) -> IoResult<()>
[src]
Trait Implementations
Auto Trait Implementations
impl Send for NetStream
impl Unpin for NetStream
impl Sync for NetStream
impl !UnwindSafe for NetStream
impl !RefUnwindSafe for NetStream
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,