tipc-std 0.1.0

TIPC standard library type provider
Documentation
1
2
3
4
5
6
7
8
9
10
11
// SPDX-License-Identifier: Apache-2.0
// Copyright 2026 KylinSoft Co., Ltd. <https://www.kylinos.cn/>
// See LICENSES for license details.

//! Fallible clone trait for tipc-std.

/// Trait for fallible duplication of types that can be cloned.
pub trait TryClone: Sized {
    type Error;
    fn try_clone(&self) -> Result<Self, Self::Error>;
}