pub struct ChapterAlloc { /* private fields */ }Expand description
Payload for DemuxError::ChapterAlloc.
The chapter table could not be reserved. The count had already
passed DemuxLimits::max_chapters, so this is the allocator
refusing rather than the file asking for too much — reported
instead of aborting, which is what an infallible reservation would
have done.
Implementations§
Trait Implementations§
Source§impl Clone for ChapterAlloc
impl Clone for ChapterAlloc
Source§fn clone(&self) -> ChapterAlloc
fn clone(&self) -> ChapterAlloc
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 ChapterAlloc
Source§impl Debug for ChapterAlloc
impl Debug for ChapterAlloc
Source§impl Display for ChapterAlloc
impl Display for ChapterAlloc
impl Eq for ChapterAlloc
Source§impl Error for ChapterAlloc
impl Error for ChapterAlloc
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<ChapterAlloc> for DemuxError
impl From<ChapterAlloc> for DemuxError
Source§fn from(source: ChapterAlloc) -> Self
fn from(source: ChapterAlloc) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChapterAlloc
impl PartialEq for ChapterAlloc
impl StructuralPartialEq for ChapterAlloc
Auto Trait Implementations§
impl Freeze for ChapterAlloc
impl RefUnwindSafe for ChapterAlloc
impl Send for ChapterAlloc
impl Sync for ChapterAlloc
impl Unpin for ChapterAlloc
impl UnsafeUnpin for ChapterAlloc
impl UnwindSafe for ChapterAlloc
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