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 TypedOutboundPhase<ServerRole, BackendMessage> for ServerCopyBoth<CopySimple, BothOpen>
impl TypedOutboundPhase<ServerRole, BackendMessage> for ServerCopyBoth<CopySimple, BothOpen>
Source§type ProtocolPhase = SimpleCopyBoth
type ProtocolPhase = SimpleCopyBoth
Generated grammar phase corresponding to the connection typestate.
Source§type Message = TypedBackendMessage<SimpleCopyBothInternalMessage>
type Message = TypedBackendMessage<SimpleCopyBothInternalMessage>
Opaque set of locally generated messages legal in this phase.
Source§impl TypedOutboundPhase<ServerRole, BackendMessage> for ServerCopyBoth<CopyExtended, BothOpen>
impl TypedOutboundPhase<ServerRole, BackendMessage> for ServerCopyBoth<CopyExtended, BothOpen>
Source§type ProtocolPhase = ExtendedCopyBoth
type ProtocolPhase = ExtendedCopyBoth
Generated grammar phase corresponding to the connection typestate.
Source§type Message = TypedBackendMessage<ExtendedCopyBothInternalMessage>
type Message = TypedBackendMessage<ExtendedCopyBothInternalMessage>
Opaque set of locally generated messages legal in this phase.
Source§impl TypedOutboundPhase<ServerRole, BackendMessage> for ServerCopyBoth<CopySimple, BothClientDone>
impl TypedOutboundPhase<ServerRole, BackendMessage> for ServerCopyBoth<CopySimple, BothClientDone>
Source§type ProtocolPhase = SimpleCopyBothClientDone
type ProtocolPhase = SimpleCopyBothClientDone
Generated grammar phase corresponding to the connection typestate.
Source§type Message = TypedBackendMessage<SimpleCopyBothClientDoneInternalMessage>
type Message = TypedBackendMessage<SimpleCopyBothClientDoneInternalMessage>
Opaque set of locally generated messages legal in this phase.
Source§impl TypedOutboundPhase<ServerRole, BackendMessage> for ServerCopyBoth<CopyExtended, BothClientDone>
impl TypedOutboundPhase<ServerRole, BackendMessage> for ServerCopyBoth<CopyExtended, BothClientDone>
Source§type ProtocolPhase = ExtendedCopyBothClientDone
type ProtocolPhase = ExtendedCopyBothClientDone
Generated grammar phase corresponding to the connection typestate.
Source§type Message = TypedBackendMessage<ExtendedCopyBothClientDoneInternalMessage>
type Message = TypedBackendMessage<ExtendedCopyBothClientDoneInternalMessage>
Opaque set of locally generated messages legal in this phase.
Source§impl TypedOutboundPhase<ServerRole, BackendMessage> for ServerCopyBoth<CopySimple, BothServerDone>
impl TypedOutboundPhase<ServerRole, BackendMessage> for ServerCopyBoth<CopySimple, BothServerDone>
Source§type ProtocolPhase = SimpleCopyBothServerDone
type ProtocolPhase = SimpleCopyBothServerDone
Generated grammar phase corresponding to the connection typestate.
Source§type Message = TypedBackendMessage<SimpleCopyBothServerDoneInternalMessage>
type Message = TypedBackendMessage<SimpleCopyBothServerDoneInternalMessage>
Opaque set of locally generated messages legal in this phase.
Source§impl TypedOutboundPhase<ServerRole, BackendMessage> for ServerCopyBoth<CopyExtended, BothServerDone>
impl TypedOutboundPhase<ServerRole, BackendMessage> for ServerCopyBoth<CopyExtended, BothServerDone>
Source§type ProtocolPhase = ExtendedCopyBothServerDone
type ProtocolPhase = ExtendedCopyBothServerDone
Generated grammar phase corresponding to the connection typestate.
Source§type Message = TypedBackendMessage<ExtendedCopyBothServerDoneInternalMessage>
type Message = TypedBackendMessage<ExtendedCopyBothServerDoneInternalMessage>
Opaque set of locally generated messages legal in this phase.
Source§impl TypedOutboundPhase<ServerRole, BackendMessage> for ServerCopyBoth<CopySimple, BothDone>
impl TypedOutboundPhase<ServerRole, BackendMessage> for ServerCopyBoth<CopySimple, BothDone>
Source§type ProtocolPhase = SimpleCopyBothDone
type ProtocolPhase = SimpleCopyBothDone
Generated grammar phase corresponding to the connection typestate.
Source§type Message = TypedBackendMessage<SimpleCopyBothDoneInternalMessage>
type Message = TypedBackendMessage<SimpleCopyBothDoneInternalMessage>
Opaque set of locally generated messages legal in this phase.
Source§impl TypedOutboundPhase<ServerRole, BackendMessage> for ServerCopyBoth<CopyExtended, BothDone>
impl TypedOutboundPhase<ServerRole, BackendMessage> for ServerCopyBoth<CopyExtended, BothDone>
Source§type ProtocolPhase = ExtendedCopyBothDone
type ProtocolPhase = ExtendedCopyBothDone
Generated grammar phase corresponding to the connection typestate.
Source§type Message = TypedBackendMessage<ExtendedCopyBothDoneInternalMessage>
type Message = TypedBackendMessage<ExtendedCopyBothDoneInternalMessage>
Opaque set of locally generated messages legal in this phase.
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