Struct lunatic_twitchax_patch::protocol::ProtocolCapture
source · pub struct ProtocolCapture<C> { /* private fields */ }Expand description
A value that the protocol captures from the parent process.
A protocol needs to capture more information from the parent than just the
value passed in by the user (capture). For a protocol to work it needs to
have a reference to the parent, so it knows where to send messages to. And
it needs a unique tag inside the parent so that protocol messages don’t mix
with other messages received by the parent.
Trait Implementations§
source§impl<C: Debug> Debug for ProtocolCapture<C>
impl<C: Debug> Debug for ProtocolCapture<C>
source§impl<'de, C> Deserialize<'de> for ProtocolCapture<C>where
C: Deserialize<'de>,
impl<'de, C> Deserialize<'de> for ProtocolCapture<C>where
C: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<C: Hash> Hash for ProtocolCapture<C>
impl<C: Hash> Hash for ProtocolCapture<C>
Auto Trait Implementations§
impl<C> RefUnwindSafe for ProtocolCapture<C>where
C: RefUnwindSafe,
impl<C> Send for ProtocolCapture<C>where
C: Send,
impl<C> Sync for ProtocolCapture<C>where
C: Sync,
impl<C> Unpin for ProtocolCapture<C>where
C: Unpin,
impl<C> UnwindSafe for ProtocolCapture<C>where
C: 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