Searched defs:try_new (Results 1 – 2 of 2) sorted by relevance
165 pub fn try_new(contents: T) -> Result<Self, AllocError> { in try_new() method519 pub fn try_new(value: T) -> Result<Self, AllocError> { in try_new() method
306 pub fn try_new(x: T) -> Result<Self, AllocError> { in try_new() method