pub struct TpmStreamTransport<S: Read + Write> { /* private fields */ }Expand description
A TpmTransport over any blocking byte stream.
Suitable for TPM endpoints reached over TCP (such as a software TPM), Unix-domain sockets, or in-memory pipes.
Implementations§
Source§impl<S: Read + Write> TpmStreamTransport<S>
impl<S: Read + Write> TpmStreamTransport<S>
Sourcepub fn into_inner(self) -> S
pub fn into_inner(self) -> S
Consumes the transport and returns the underlying stream.
Trait Implementations§
Source§impl<S: Read + Write> TpmTransport for TpmStreamTransport<S>
impl<S: Read + Write> TpmTransport for TpmStreamTransport<S>
Auto Trait Implementations§
impl<S> Freeze for TpmStreamTransport<S>where
S: Freeze,
impl<S> RefUnwindSafe for TpmStreamTransport<S>where
S: RefUnwindSafe,
impl<S> Send for TpmStreamTransport<S>where
S: Send,
impl<S> Sync for TpmStreamTransport<S>where
S: Sync,
impl<S> Unpin for TpmStreamTransport<S>where
S: Unpin,
impl<S> UnsafeUnpin for TpmStreamTransport<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for TpmStreamTransport<S>where
S: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more