[−][src]Struct network_reader::Networked
Implementations
impl<R: Read + Seek> Networked<R>
[src]
pub fn new<S: ToSocketAddrs>(reader: R, socket: S) -> Result<Self>
[src]
pub fn new_buffered<S: ToSocketAddrs>(
reader: R,
socket: S
) -> Result<Networked<BufReader<R>>>
[src]
reader: R,
socket: S
) -> Result<Networked<BufReader<R>>>
pub fn listen(mut self: Self) -> Result<()>
[src]
Auto Trait Implementations
impl<R> RefUnwindSafe for Networked<R> where
R: RefUnwindSafe,
[src]
R: RefUnwindSafe,
impl<R> Send for Networked<R> where
R: Send,
[src]
R: Send,
impl<R> Sync for Networked<R> where
R: Sync,
[src]
R: Sync,
impl<R> Unpin for Networked<R> where
R: Unpin,
[src]
R: Unpin,
impl<R> UnwindSafe for Networked<R> where
R: UnwindSafe,
[src]
R: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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.
pub 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>,