Lines Matching refs:OutOfMemory
3 error::OutOfMemory,
16 fn try_clone(&self) -> Result<Self, OutOfMemory> { in try_clone() argument
126 pub fn with_capacity(capacity: usize) -> Result<Self, OutOfMemory> { in with_capacity() argument
147 pub fn reserve(&mut self, additional: usize) -> Result<(), OutOfMemory> { in reserve() argument
150 .map_err(|_| OutOfMemory::new(self.len().saturating_add(additional))) in reserve()
156 pub fn reserve_exact(&mut self, additional: usize) -> Result<(), OutOfMemory> { in reserve_exact() argument
159 .map_err(|_| OutOfMemory::new(self.len().saturating_add(additional))) in reserve_exact()
165 pub fn push(&mut self, c: char) -> Result<(), OutOfMemory> { in push() argument
174 pub fn push_str(&mut self, s: &str) -> Result<(), OutOfMemory> { in push_str() argument
210 pub fn shrink_to_fit(&mut self) -> Result<(), OutOfMemory> { in shrink_to_fit() argument
267 pub fn into_boxed_str(mut self) -> Result<Box<str>, OutOfMemory> { in into_boxed_str() argument