pub fn from_ogg_reader(mut rdr :PacketReader<T>) -> Result<Self, VorbisError> {
		let ident_packet = try!(rdr.read_packet_expected());
		Self::from_ogg_reader_and_previous_packet(rdr, ident_packet, |_| {})
			.map(|x| x.0)
	}
/// Constructs a new OggStreamReader from a given Ogg PacketReader.
///
/// The `new` function is a nice wrapper around this function that
/// also creates the ogg reader.
///
/// Please note that this function doesn't work well with async I/O.
/// In order to support this use case, enable the `async_ogg` feature,
/// and use the `HeadersReader` struct instead.
Constructs a new OggStreamReader from a given Ogg PacketReader.
The `new` function is a nice wrapper around this function that
also creates the ogg reader.

Please note that this function doesn't work well with async I/O.
In order to support this use case, enable the `async_ogg` feature,
and use the `HeadersReader` struct instead.
Constructs a new OggStreamReader from a given Ogg PacketReader . The ` new ` function is a nice wrapper around this function that also creates the ogg reader . Please note that this function doesn ' t work well with async I / O . In order to support this use case enable the ` async_ogg ` feature and use the ` HeadersReader ` struct instead .
pub fn from_ogg_reader(mut rdr :PacketReader<T>) -> Result<Self, VorbisError> {
		let ident_packet = try!(rdr.read_packet_expected());
		Self::from_ogg_reader_and_previous_packet(rdr, ident_packet, |_| {})
			.map(|x| x.0)
	}
pub fn from_ogg_reader ( mut rdr : PacketReader < T > ) -> Result < Self , VorbisError > { let ident_packet = try ! ( rdr read_packet_expected ( ) ) ; Self :: from_ogg_reader_and_previous_packet ( rdr , ident_packet , | _ | { } ) . map ( | x | x . 0 ) }
Constructs a new OggStreamReader from a given Ogg PacketReader.
Constructs a new OggStreamReader from a given Ogg PacketReader .
rdr
PacketReader<T>
rdr
PacketReader<T>