pub enum OutgoingMessage {}Expand description
Margin user data streams are server-push only: the client establishes the
connection with listenKey in the URL path and never sends application
messages. This empty enum encodes that at the type level — any
Command::Send call against a margin stream is unrepresentable.
Keep-alive is performed out-of-band via REST
(PUT /sapi/v1/userDataStream), not over the WebSocket.
Trait Implementations§
Source§impl Debug for OutgoingMessage
impl Debug for OutgoingMessage
Auto Trait Implementations§
impl Freeze for OutgoingMessage
impl RefUnwindSafe for OutgoingMessage
impl Send for OutgoingMessage
impl Sync for OutgoingMessage
impl Unpin for OutgoingMessage
impl UnsafeUnpin for OutgoingMessage
impl UnwindSafe for OutgoingMessage
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