pub struct Header {
pub id: VInt64,
pub size: VInt64,
}Expand description
EBML element header, consisting of an ID and a size.
Fields§
§id: VInt64EBML ID of the element.
size: VInt64Size of the element’s data, excluding the header itself.
Trait Implementations§
Source§impl AsyncReadFrom for Header
Available on crate feature tokio only.
impl AsyncReadFrom for Header
Available on crate feature
tokio only.Source§impl Ord for Header
impl Ord for Header
Source§impl PartialOrd for Header
impl PartialOrd for Header
impl Copy for Header
impl Eq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
Blanket Implementations§
Source§impl<T> AsyncWriteTo for Twhere
T: Encode,
impl<T> AsyncWriteTo for Twhere
T: Encode,
Source§async fn async_write_to<W>(&self, w: &mut W) -> Result<(), Error>where
W: AsyncWrite + Unpin,
async fn async_write_to<W>(&self, w: &mut W) -> Result<(), Error>where
W: AsyncWrite + Unpin,
Available on crate feature
tokio only.Write to a writer asynchronously.
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