pub struct ServerCopyBoth<Resume, Ends>(/* private fields */);Expand description
Server-role COPY BOTH stream parameterised by resumption and half-close state.
Trait Implementations§
Source§impl TypedPhase<ClientRole, FrontendMessage> for ServerCopyBoth<CopySimple, BothOpen>
impl TypedPhase<ClientRole, FrontendMessage> for ServerCopyBoth<CopySimple, BothOpen>
Source§type ProtocolPhase = SimpleCopyBoth
type ProtocolPhase = SimpleCopyBoth
Generated grammar phase corresponding to the connection typestate.
Source§type Message = SimpleCopyBothExternalMessage
type Message = SimpleCopyBothExternalMessage
Opaque set of decoded messages legal for this role and phase.
Source§impl TypedPhase<ClientRole, FrontendMessage> for ServerCopyBoth<CopyExtended, BothOpen>
impl TypedPhase<ClientRole, FrontendMessage> for ServerCopyBoth<CopyExtended, BothOpen>
Source§type ProtocolPhase = ExtendedCopyBoth
type ProtocolPhase = ExtendedCopyBoth
Generated grammar phase corresponding to the connection typestate.
Source§type Message = ExtendedCopyBothExternalMessage
type Message = ExtendedCopyBothExternalMessage
Opaque set of decoded messages legal for this role and phase.
Source§impl TypedPhase<ClientRole, FrontendMessage> for ServerCopyBoth<CopySimple, BothServerDone>
impl TypedPhase<ClientRole, FrontendMessage> for ServerCopyBoth<CopySimple, BothServerDone>
Source§type ProtocolPhase = SimpleCopyBothServerDone
type ProtocolPhase = SimpleCopyBothServerDone
Generated grammar phase corresponding to the connection typestate.
Source§type Message = SimpleCopyBothServerDoneExternalMessage
type Message = SimpleCopyBothServerDoneExternalMessage
Opaque set of decoded messages legal for this role and phase.
Source§impl TypedPhase<ClientRole, FrontendMessage> for ServerCopyBoth<CopyExtended, BothServerDone>
impl TypedPhase<ClientRole, FrontendMessage> for ServerCopyBoth<CopyExtended, BothServerDone>
Source§type ProtocolPhase = ExtendedCopyBothServerDone
type ProtocolPhase = ExtendedCopyBothServerDone
Generated grammar phase corresponding to the connection typestate.
Source§type Message = ExtendedCopyBothServerDoneExternalMessage
type Message = ExtendedCopyBothServerDoneExternalMessage
Opaque set of decoded messages legal for this role and phase.
Auto Trait Implementations§
impl<Resume, Ends> Freeze for ServerCopyBoth<Resume, Ends>
impl<Resume, Ends> RefUnwindSafe for ServerCopyBoth<Resume, Ends>where
Resume: RefUnwindSafe,
Ends: RefUnwindSafe,
impl<Resume, Ends> Send for ServerCopyBoth<Resume, Ends>
impl<Resume, Ends> Sync for ServerCopyBoth<Resume, Ends>
impl<Resume, Ends> Unpin for ServerCopyBoth<Resume, Ends>
impl<Resume, Ends> UnsafeUnpin for ServerCopyBoth<Resume, Ends>
impl<Resume, Ends> UnwindSafe for ServerCopyBoth<Resume, Ends>where
Resume: UnwindSafe,
Ends: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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