#[non_exhaustive]pub enum TransportControl {
OfficialSdkManaged {
sdk: &'static str,
},
DirectManaged,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
OfficialSdkManaged
The adapter delegates HTTP/WS lifecycle to an official exchange SDK.
This is intentional for exchanges such as Binance where the official Rust SDK owns signing, generated DTOs, endpoint coverage, and its own reqwest/WebSocket stack. Shared mkt controls can still be adapted through SDK hooks where available, but callers must not assume a shared transport layer intercepts every request.
DirectManaged
The adapter owns its HTTP/WebSocket clients directly.
Trait Implementations§
Source§impl Clone for TransportControl
impl Clone for TransportControl
Source§fn clone(&self) -> TransportControl
fn clone(&self) -> TransportControl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransportControl
impl Debug for TransportControl
Source§impl PartialEq for TransportControl
impl PartialEq for TransportControl
Source§fn eq(&self, other: &TransportControl) -> bool
fn eq(&self, other: &TransportControl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TransportControl
impl StructuralPartialEq for TransportControl
Auto Trait Implementations§
impl Freeze for TransportControl
impl RefUnwindSafe for TransportControl
impl Send for TransportControl
impl Sync for TransportControl
impl Unpin for TransportControl
impl UnsafeUnpin for TransportControl
impl UnwindSafe for TransportControl
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