pub enum UdFrame {
Ws {
channel: BcsWsChannel,
text: String,
},
Rest(UdRestFrame),
}Expand description
A frame for the user data core: a WebSocket push or a REST answer.
Variants§
Ws
A text frame from one of the WebSocket channels.
Fields
§
channel: BcsWsChannelThe channel the frame came from. It decides how the text is parsed.
Rest(UdRestFrame)
The answer of a REST call.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UdFrame
impl RefUnwindSafe for UdFrame
impl Send for UdFrame
impl Sync for UdFrame
impl Unpin for UdFrame
impl UnsafeUnpin for UdFrame
impl UnwindSafe for UdFrame
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