pub struct ChapterTitleAlloc { /* private fields */ }Expand description
Payload for DemuxError::ChapterTitleAlloc.
A chapter title that passed the budget could not be decoded into owned text. The size had already been charged, so this is the allocator refusing rather than the file asking for too much.
Implementations§
Trait Implementations§
Source§impl Clone for ChapterTitleAlloc
impl Clone for ChapterTitleAlloc
Source§fn clone(&self) -> ChapterTitleAlloc
fn clone(&self) -> ChapterTitleAlloc
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 moreimpl Copy for ChapterTitleAlloc
Source§impl Debug for ChapterTitleAlloc
impl Debug for ChapterTitleAlloc
Source§impl Display for ChapterTitleAlloc
impl Display for ChapterTitleAlloc
impl Eq for ChapterTitleAlloc
Source§impl Error for ChapterTitleAlloc
impl Error for ChapterTitleAlloc
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ChapterTitleAlloc> for DemuxError
impl From<ChapterTitleAlloc> for DemuxError
Source§fn from(source: ChapterTitleAlloc) -> Self
fn from(source: ChapterTitleAlloc) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChapterTitleAlloc
impl PartialEq for ChapterTitleAlloc
impl StructuralPartialEq for ChapterTitleAlloc
Auto Trait Implementations§
impl Freeze for ChapterTitleAlloc
impl RefUnwindSafe for ChapterTitleAlloc
impl Send for ChapterTitleAlloc
impl Sync for ChapterTitleAlloc
impl Unpin for ChapterTitleAlloc
impl UnsafeUnpin for ChapterTitleAlloc
impl UnwindSafe for ChapterTitleAlloc
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