Trait mp4parse_fallible::FallibleVec [] [src]

pub trait FallibleVec<T> {
    fn try_push(&mut self, value: T) -> Result<(), ()>;
fn try_reserve(&mut self, new_cap: usize) -> Result<(), ()>; }

Required Methods

Append |val| to the end of |vec|. Returns Ok(()) on success, Err(()) if it fails, which can only be due to lack of memory.

Expand the vector size. Return Ok(()) on success, Err(()) if it fails.

Implementations on Foreign Types

impl<T> FallibleVec<T> for Vec<T>
[src]

[src]

[src]

Implementors