Searched defs:from (Results 1 – 7 of 7) sorted by relevance
178 fn from(_: AllocError) -> Error { in from() method184 fn from(_: TryFromIntError) -> Error { in from() method190 fn from(_: Utf8Error) -> Error { in from() method196 fn from(_: TryReserveError) -> Error { in from() method202 fn from(_: LayoutError) -> Error { in from() method208 fn from(_: core::fmt::Error) -> Error { in from() method214 fn from(e: core::convert::Infallible) -> Error { in from() method
367 fn from(b: &T) -> Self { in from() method
53 fn from(_: CStrConvertError) -> Error { in from() method
118 fn from(kind: TryReserveErrorKind) -> Self { in from() method127 fn from(_: LayoutError) -> Self { in from() method
1436 fn from(t: T) -> Self { in from() method1457 fn from(boxed: Box<T, A>) -> Self { in from() function1506 fn from(slice: &[T]) -> Box<[T]> { in from() method1521 fn from(cow: Cow<'_, [T]>) -> Box<[T]> { in from() method1544 fn from(s: &str) -> Box<str> { in from() method1576 fn from(cow: Cow<'_, str>) -> Box<str> { in from() method1603 fn from(s: Box<str, A>) -> Self { in from() method1622 fn from(array: [T; N]) -> Box<[T]> { in from() method2215 fn from(err: E) -> Box<dyn Error + 'a> { in from() method2254 fn from(err: E) -> Box<dyn Error + Send + Sync + 'a> { in from() method[all …]
311 fn from(item: UniqueArc<T>) -> Self { in from() method317 fn from(item: Pin<UniqueArc<T>>) -> Self { in from() method419 fn from(b: ArcBorrow<'_, T>) -> Self { in from() method591 fn from(obj: UniqueArc<T>) -> Self { in from() method
3381 fn from(s: &[T]) -> Vec<T> { in from() method3385 fn from(s: &[T]) -> Vec<T> { in from() method3401 fn from(s: &mut [T]) -> Vec<T> { in from() method3405 fn from(s: &mut [T]) -> Vec<T> { in from() method3421 fn from(s: [T; N]) -> Vec<T> { in from() method3426 fn from(s: [T; N]) -> Vec<T> { in from() method3451 fn from(s: Cow<'a, [T]>) -> Vec<T> { in from() function3469 fn from(s: Box<[T], A>) -> Self { in from() method3497 fn from(v: Vec<T, A>) -> Self { in from() method3512 fn from(s: &str) -> Vec<u8> { in from() method