Update name
This commit is contained in:
@@ -656,8 +656,8 @@ impl io::Write for UnixStream {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn can_write_vectored(&self) -> bool {
|
||||
io::Write::can_write_vectored(&&*self)
|
||||
fn is_write_vectored(&self) -> bool {
|
||||
io::Write::is_write_vectored(&&*self)
|
||||
}
|
||||
|
||||
fn flush(&mut self) -> io::Result<()> {
|
||||
@@ -676,7 +676,7 @@ impl<'a> io::Write for &'a UnixStream {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn can_write_vectored(&self) -> bool {
|
||||
fn is_write_vectored(&self) -> bool {
|
||||
self.0.can_write_vectored()
|
||||
}
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ impl FileDesc {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn can_read_vectored(&self) -> bool {
|
||||
pub fn is_read_vectored(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ impl FileDesc {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn can_write_vectored(&self) -> bool {
|
||||
pub fn is_write_vectored(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
|
||||
@@ -829,8 +829,8 @@ impl File {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn can_read_vectored(&self) -> bool {
|
||||
self.0.can_read_vectored()
|
||||
pub fn is_read_vectored(&self) -> bool {
|
||||
self.0.is_read_vectored()
|
||||
}
|
||||
|
||||
pub fn read_at(&self, buf: &mut [u8], offset: u64) -> io::Result<usize> {
|
||||
@@ -846,8 +846,8 @@ impl File {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn can_write_vectored(&self) -> bool {
|
||||
self.0.can_write_vectored()
|
||||
pub fn is_write_vectored(&self) -> bool {
|
||||
self.0.is_write_vectored()
|
||||
}
|
||||
|
||||
pub fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize> {
|
||||
|
||||
@@ -55,7 +55,7 @@ pub mod net {
|
||||
unimpl!();
|
||||
}
|
||||
|
||||
pub fn can_read_vectored(&self) -> bool {
|
||||
pub fn is_read_vectored(&self) -> bool {
|
||||
unimpl!();
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ pub mod net {
|
||||
unimpl!();
|
||||
}
|
||||
|
||||
pub fn can_write_vectored(&self) -> bool {
|
||||
pub fn is_write_vectored(&self) -> bool {
|
||||
unimpl!();
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@ pub mod net {
|
||||
unimpl!();
|
||||
}
|
||||
|
||||
pub fn can_read_vectored(&self) -> bool {
|
||||
pub fn is_read_vectored(&self) -> bool {
|
||||
unimpl!();
|
||||
}
|
||||
|
||||
@@ -191,7 +191,7 @@ pub mod net {
|
||||
unimpl!();
|
||||
}
|
||||
|
||||
pub fn can_write_vectored(&self) -> bool {
|
||||
pub fn is_write_vectored(&self) -> bool {
|
||||
unimpl!();
|
||||
}
|
||||
|
||||
|
||||
@@ -227,8 +227,8 @@ impl Socket {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn can_read_vectored(&self) -> bool {
|
||||
self.0.can_read_vectored()
|
||||
pub fn is_read_vectored(&self) -> bool {
|
||||
self.0.is_read_vectored()
|
||||
}
|
||||
|
||||
fn recv_from_with_flags(
|
||||
@@ -269,8 +269,8 @@ impl Socket {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn can_write_vectored(&self) -> bool {
|
||||
self.0.can_write_vectored()
|
||||
pub fn is_write_vectored(&self) -> bool {
|
||||
self.0.is_write_vectored()
|
||||
}
|
||||
|
||||
pub fn set_timeout(&self, dur: Option<Duration>, kind: libc::c_int) -> io::Result<()> {
|
||||
|
||||
@@ -65,8 +65,8 @@ impl AnonPipe {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn can_read_vectored(&self) -> bool {
|
||||
self.0.can_read_vectored()
|
||||
pub fn is_read_vectored(&self) -> bool {
|
||||
self.0.is_read_vectored()
|
||||
}
|
||||
|
||||
pub fn write(&self, buf: &[u8]) -> io::Result<usize> {
|
||||
@@ -78,8 +78,8 @@ impl AnonPipe {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn can_write_vectored(&self) -> bool {
|
||||
self.0.can_write_vectored()
|
||||
pub fn is_write_vectored(&self) -> bool {
|
||||
self.0.is_write_vectored()
|
||||
}
|
||||
|
||||
pub fn fd(&self) -> &FileDesc {
|
||||
|
||||
@@ -22,7 +22,7 @@ impl io::Read for Stdin {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn can_read_vectored(&self) -> bool {
|
||||
fn is_read_vectored(&self) -> bool {
|
||||
true
|
||||
}
|
||||
}
|
||||
@@ -43,7 +43,7 @@ impl io::Write for Stdout {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn can_write_vectored(&self) -> bool {
|
||||
fn is_write_vectored(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ impl io::Write for Stderr {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn can_write_vectored(&self) -> bool {
|
||||
fn is_write_vectored(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user