Trait postgres::types::ReadWithInfo
[−]
[src]
pub trait ReadWithInfo { fn read_with_info(&mut self, buf: &mut [u8], info: &SessionInfo) -> Result<usize>; }
Like Read
except that a SessionInfo
object is provided as well.
All types that implement Read
also implement this trait.
Required Methods
fn read_with_info(&mut self, buf: &mut [u8], info: &SessionInfo) -> Result<usize>
Like Read::read
.
Implementors
impl<R: Read> ReadWithInfo for R