pub struct OversizeDrop {
pub descriptor: String,
pub bytes: usize,
}Expand description
An embedded covr image or binary ---- payload that a reader skipped
because it exceeded the caller’s size cap. Carries only a descriptor and the
payload’s byte size — never the bytes themselves — so the caller can log the
lossy drop (the format layer has no logging facade) without materializing the
oversized item out of a potentially large moov (#343).
Fields§
§descriptor: StringCover-art MIME type, or the binary tag’s ----:<mean>:<name> key.
bytes: usizeSize of the dropped payload body in bytes (after the 8-byte data header).
Trait Implementations§
Source§impl Clone for OversizeDrop
impl Clone for OversizeDrop
Source§fn clone(&self) -> OversizeDrop
fn clone(&self) -> OversizeDrop
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OversizeDrop
impl Debug for OversizeDrop
impl Eq for OversizeDrop
Source§impl PartialEq for OversizeDrop
impl PartialEq for OversizeDrop
Source§fn eq(&self, other: &OversizeDrop) -> bool
fn eq(&self, other: &OversizeDrop) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OversizeDrop
Auto Trait Implementations§
impl Freeze for OversizeDrop
impl RefUnwindSafe for OversizeDrop
impl Send for OversizeDrop
impl Sync for OversizeDrop
impl Unpin for OversizeDrop
impl UnsafeUnpin for OversizeDrop
impl UnwindSafe for OversizeDrop
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