pub struct MediaReadReply {
pub sent: u64,
pub size: u64,
pub complete: bool,
pub epoch: u32,
}Expand description
What follows on the stream. Every field is required (PX-15).
Fields§
§sent: u64How many bytes follow this frame.
size: u64The size of the whole file, or of what an encode has written so
far (see complete).
complete: boolsize is final: always for direct play, once the encode has ended
for a converted playback. The end is complete and offset + sent == size.
epoch: u32The encode the bytes are from.
Trait Implementations§
Source§impl Clone for MediaReadReply
impl Clone for MediaReadReply
Source§impl Debug for MediaReadReply
impl Debug for MediaReadReply
Source§impl<'de> Deserialize<'de> for MediaReadReply
impl<'de> Deserialize<'de> for MediaReadReply
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MediaReadReply
Source§impl PartialEq for MediaReadReply
impl PartialEq for MediaReadReply
Source§impl Serialize for MediaReadReply
impl Serialize for MediaReadReply
impl StructuralPartialEq for MediaReadReply
Auto Trait Implementations§
impl Freeze for MediaReadReply
impl RefUnwindSafe for MediaReadReply
impl Send for MediaReadReply
impl Sync for MediaReadReply
impl Unpin for MediaReadReply
impl UnsafeUnpin for MediaReadReply
impl UnwindSafe for MediaReadReply
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more