pub enum ConduitFrame {
Text(String),
Binary(Bytes),
Close,
}Expand description
One application frame received from an upstream WebSocket.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ConduitFrame
impl RefUnwindSafe for ConduitFrame
impl Send for ConduitFrame
impl Sync for ConduitFrame
impl Unpin for ConduitFrame
impl UnsafeUnpin for ConduitFrame
impl UnwindSafe for ConduitFrame
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