[][src]Struct twsapi::core::decoder::Decoder

pub struct Decoder<T: Wrapper> {
    pub wrapper: Arc<Mutex<T>>,
    pub server_version: i32,
    // some fields omitted
}

Fields

wrapper: Arc<Mutex<T>>server_version: i32

Implementations

impl<T> Decoder<T> where
    T: Wrapper + Sync
[src]

pub fn new(
    the_wrapper: Arc<Mutex<T>>,
    msg_queue: Receiver<String>,
    server_version: i32,
    conn_state: Arc<Mutex<ConnStatus>>
) -> Self
[src]

pub fn interpret(&mut self, fields: &[String]) -> Result<(), IBKRApiLibError>[src]

pub fn run(&mut self) -> Result<(), IBKRApiLibError>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for Decoder<T>[src]

impl<T> Send for Decoder<T>[src]

impl<T> !Sync for Decoder<T>[src]

impl<T> Unpin for Decoder<T>[src]

impl<T> !UnwindSafe for Decoder<T>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any