Trait Sealed

Source
pub trait Sealed { }
๐Ÿ”ฌThis is a nightly-only experimental API. (sealed)
Expand description

This trait being unreachable from outside the crate prevents outside implementations of our extension traits. This allows adding more trait methods in the future.

Implementorsยง

Sourceยง

impl Sealed for OsStr

Allows extension traits within std.

Sourceยง

impl Sealed for OsString

Allows extension traits within std.

Sourceยง

impl Sealed for DirEntry

Available on Unix only.

Allows extension traits within std.

Sourceยง

impl Sealed for File

1.75.0 ยท Sourceยง

impl Sealed for FileTimes

1.64.0 ยท Sourceยง

impl Sealed for FileType

Available on Windows only.
Sourceยง

impl Sealed for Stderr

Sourceยง

impl Sealed for StderrLock<'_>

Sourceยง

impl Sealed for Stdin

Sourceยง

impl Sealed for StdinLock<'_>

Sourceยง

impl Sealed for Stdout

Sourceยง

impl Sealed for StdoutLock<'_>

Sourceยง

impl Sealed for TcpStream

Available on Linux or Android only.
Sourceยง

impl Sealed for BorrowedFd<'_>

Sourceยง

impl Sealed for OwnedFd

1.70.0 ยท Sourceยง

impl Sealed for SocketAddr

Available on Unix only.
Sourceยง

impl Sealed for UnixDatagram

Available on Unix only.

Allows extension traits within std.

Sourceยง

impl Sealed for UnixStream

Available on Unix only.

Allows extension traits within std.

Sourceยง

impl Sealed for BorrowedHandle<'_>

Available on Windows only.
Sourceยง

impl Sealed for OwnedHandle

Available on Windows only.
Sourceยง

impl Sealed for Child

Allows extension traits within std.

Sourceยง

impl Sealed for Command

Allows extension traits within std.

Sourceยง

impl Sealed for ExitCode

Allows extension traits within std.

Sourceยง

impl Sealed for ExitStatus

Allows extension traits within std.

Sourceยง

impl Sealed for ExitStatusError

Allows extension traits within std.

Sourceยง

impl<const N: usize> Sealed for Simd<f32, N>

Sourceยง

impl<const N: usize> Sealed for Simd<f64, N>