diff --git a/nightly/.doctrees/api_reference/accounting.doctree b/nightly/.doctrees/api_reference/accounting.doctree index 7b75c0fc58b8..53c85a945c60 100644 Binary files a/nightly/.doctrees/api_reference/accounting.doctree and b/nightly/.doctrees/api_reference/accounting.doctree differ diff --git a/nightly/.doctrees/api_reference/adapters/betfair.doctree b/nightly/.doctrees/api_reference/adapters/betfair.doctree index e3b8d2c21e89..7f316323f399 100644 Binary files a/nightly/.doctrees/api_reference/adapters/betfair.doctree and b/nightly/.doctrees/api_reference/adapters/betfair.doctree differ diff --git a/nightly/.doctrees/api_reference/adapters/binance.doctree b/nightly/.doctrees/api_reference/adapters/binance.doctree index 59c249775c1e..ef2a4d53f4b7 100644 Binary files a/nightly/.doctrees/api_reference/adapters/binance.doctree and b/nightly/.doctrees/api_reference/adapters/binance.doctree differ diff --git a/nightly/.doctrees/api_reference/adapters/interactive_brokers.doctree b/nightly/.doctrees/api_reference/adapters/interactive_brokers.doctree index 97783ad399b6..6c4caa0a501e 100644 Binary files a/nightly/.doctrees/api_reference/adapters/interactive_brokers.doctree and b/nightly/.doctrees/api_reference/adapters/interactive_brokers.doctree differ diff --git a/nightly/.doctrees/api_reference/analysis.doctree b/nightly/.doctrees/api_reference/analysis.doctree index 2a13100f5a75..20e6212d69d3 100644 Binary files a/nightly/.doctrees/api_reference/analysis.doctree and b/nightly/.doctrees/api_reference/analysis.doctree differ diff --git a/nightly/.doctrees/api_reference/backtest.doctree b/nightly/.doctrees/api_reference/backtest.doctree index 3846a162eb3c..62481c39a953 100644 Binary files a/nightly/.doctrees/api_reference/backtest.doctree and b/nightly/.doctrees/api_reference/backtest.doctree differ diff --git a/nightly/.doctrees/api_reference/cache.doctree b/nightly/.doctrees/api_reference/cache.doctree index 5547bc87a539..26c260341572 100644 Binary files a/nightly/.doctrees/api_reference/cache.doctree and b/nightly/.doctrees/api_reference/cache.doctree differ diff --git a/nightly/.doctrees/api_reference/common.doctree b/nightly/.doctrees/api_reference/common.doctree index 405a219c4cd8..14b8f7b10192 100644 Binary files a/nightly/.doctrees/api_reference/common.doctree and b/nightly/.doctrees/api_reference/common.doctree differ diff --git a/nightly/.doctrees/api_reference/core.doctree b/nightly/.doctrees/api_reference/core.doctree index 19bc2d38fea5..b22e0dd3d38c 100644 Binary files a/nightly/.doctrees/api_reference/core.doctree and b/nightly/.doctrees/api_reference/core.doctree differ diff --git a/nightly/.doctrees/api_reference/data.doctree b/nightly/.doctrees/api_reference/data.doctree index 3ca6bcad1db0..b44a4318148c 100644 Binary files a/nightly/.doctrees/api_reference/data.doctree and b/nightly/.doctrees/api_reference/data.doctree differ diff --git a/nightly/.doctrees/api_reference/execution.doctree b/nightly/.doctrees/api_reference/execution.doctree index ec9ba57f1444..879fa8d39cee 100644 Binary files a/nightly/.doctrees/api_reference/execution.doctree and b/nightly/.doctrees/api_reference/execution.doctree differ diff --git a/nightly/.doctrees/api_reference/indicators.doctree b/nightly/.doctrees/api_reference/indicators.doctree index 36ee00e34379..468ab5bbaa9e 100644 Binary files a/nightly/.doctrees/api_reference/indicators.doctree and b/nightly/.doctrees/api_reference/indicators.doctree differ diff --git a/nightly/.doctrees/api_reference/live.doctree b/nightly/.doctrees/api_reference/live.doctree index ba0de923688c..2185ada6cbcf 100644 Binary files a/nightly/.doctrees/api_reference/live.doctree and b/nightly/.doctrees/api_reference/live.doctree differ diff --git a/nightly/.doctrees/api_reference/model/book.doctree b/nightly/.doctrees/api_reference/model/book.doctree index db0fdc5185ad..123fd9bb59a7 100644 Binary files a/nightly/.doctrees/api_reference/model/book.doctree and b/nightly/.doctrees/api_reference/model/book.doctree differ diff --git a/nightly/.doctrees/api_reference/model/data.doctree b/nightly/.doctrees/api_reference/model/data.doctree index e7bfe6e46a60..e6d114893a0a 100644 Binary files a/nightly/.doctrees/api_reference/model/data.doctree and b/nightly/.doctrees/api_reference/model/data.doctree differ diff --git a/nightly/.doctrees/api_reference/model/events.doctree b/nightly/.doctrees/api_reference/model/events.doctree index 455b78846c3c..e5f98f71876d 100644 Binary files a/nightly/.doctrees/api_reference/model/events.doctree and b/nightly/.doctrees/api_reference/model/events.doctree differ diff --git a/nightly/.doctrees/api_reference/model/identifiers.doctree b/nightly/.doctrees/api_reference/model/identifiers.doctree index 0b1b06ce95d0..dd763aeee7a1 100644 Binary files a/nightly/.doctrees/api_reference/model/identifiers.doctree and b/nightly/.doctrees/api_reference/model/identifiers.doctree differ diff --git a/nightly/.doctrees/api_reference/model/instruments.doctree b/nightly/.doctrees/api_reference/model/instruments.doctree index 423752a94108..28a0737e7519 100644 Binary files a/nightly/.doctrees/api_reference/model/instruments.doctree and b/nightly/.doctrees/api_reference/model/instruments.doctree differ diff --git a/nightly/.doctrees/api_reference/model/objects.doctree b/nightly/.doctrees/api_reference/model/objects.doctree index 742d00fb5825..0200e49d1a77 100644 Binary files a/nightly/.doctrees/api_reference/model/objects.doctree and b/nightly/.doctrees/api_reference/model/objects.doctree differ diff --git a/nightly/.doctrees/api_reference/model/orders.doctree b/nightly/.doctrees/api_reference/model/orders.doctree index 3b0dffe8aa3f..c6e8aa4fbf4c 100644 Binary files a/nightly/.doctrees/api_reference/model/orders.doctree and b/nightly/.doctrees/api_reference/model/orders.doctree differ diff --git a/nightly/.doctrees/api_reference/model/position.doctree b/nightly/.doctrees/api_reference/model/position.doctree index f452af06782a..897dc512aa1c 100644 Binary files a/nightly/.doctrees/api_reference/model/position.doctree and b/nightly/.doctrees/api_reference/model/position.doctree differ diff --git a/nightly/.doctrees/api_reference/model/tick_scheme.doctree b/nightly/.doctrees/api_reference/model/tick_scheme.doctree index 0222a65579ee..52692d383837 100644 Binary files a/nightly/.doctrees/api_reference/model/tick_scheme.doctree and b/nightly/.doctrees/api_reference/model/tick_scheme.doctree differ diff --git a/nightly/.doctrees/api_reference/persistence.doctree b/nightly/.doctrees/api_reference/persistence.doctree index 124642f64a99..6199d671e086 100644 Binary files a/nightly/.doctrees/api_reference/persistence.doctree and b/nightly/.doctrees/api_reference/persistence.doctree differ diff --git a/nightly/.doctrees/api_reference/portfolio.doctree b/nightly/.doctrees/api_reference/portfolio.doctree index 5c1f85ed2caf..29f8b02c1763 100644 Binary files a/nightly/.doctrees/api_reference/portfolio.doctree and b/nightly/.doctrees/api_reference/portfolio.doctree differ diff --git a/nightly/.doctrees/api_reference/risk.doctree b/nightly/.doctrees/api_reference/risk.doctree index 3f7ad440dd0d..c2d3475dbe88 100644 Binary files a/nightly/.doctrees/api_reference/risk.doctree and b/nightly/.doctrees/api_reference/risk.doctree differ diff --git a/nightly/.doctrees/api_reference/serialization.doctree b/nightly/.doctrees/api_reference/serialization.doctree index fdfdb6a9b000..3766ae0608af 100644 Binary files a/nightly/.doctrees/api_reference/serialization.doctree and b/nightly/.doctrees/api_reference/serialization.doctree differ diff --git a/nightly/.doctrees/api_reference/system.doctree b/nightly/.doctrees/api_reference/system.doctree index b56230eb9527..74774f85e63b 100644 Binary files a/nightly/.doctrees/api_reference/system.doctree and b/nightly/.doctrees/api_reference/system.doctree differ diff --git a/nightly/.doctrees/api_reference/trading.doctree b/nightly/.doctrees/api_reference/trading.doctree index c670ccd097b5..f9e66fcd4a8d 100644 Binary files a/nightly/.doctrees/api_reference/trading.doctree and b/nightly/.doctrees/api_reference/trading.doctree differ diff --git a/nightly/.doctrees/environment.pickle b/nightly/.doctrees/environment.pickle index 978d618e1e77..d2314de55dbb 100644 Binary files a/nightly/.doctrees/environment.pickle and b/nightly/.doctrees/environment.pickle differ diff --git a/nightly/api_reference/adapters/interactive_brokers.html b/nightly/api_reference/adapters/interactive_brokers.html index 1409f5eddec8..14162f4af1b5 100644 --- a/nightly/api_reference/adapters/interactive_brokers.html +++ b/nightly/api_reference/adapters/interactive_brokers.html @@ -12085,7 +12085,7 @@

at - 0x7f02ed489710> + 0x7f78dc356a90> = diff --git a/nightly/core/drop_db/all.html b/nightly/core/drop_db/all.html index 2f39df600ae1..f7adf9adc17b 100644 --- a/nightly/core/drop_db/all.html +++ b/nightly/core/drop_db/all.html @@ -1,2 +1,2 @@ -List of all items in this crate +List of all items in this crate

List of all items

Functions

\ No newline at end of file diff --git a/nightly/core/drop_db/fn.main.html b/nightly/core/drop_db/fn.main.html index 13be9c0fa868..d3385cd9f1f9 100644 --- a/nightly/core/drop_db/fn.main.html +++ b/nightly/core/drop_db/fn.main.html @@ -1,2 +1,2 @@ -main in drop_db - Rust +main in drop_db - Rust

Function drop_db::main

source ·
pub(crate) fn main() -> Result<(), Box<dyn Error>>
\ No newline at end of file diff --git a/nightly/core/drop_db/index.html b/nightly/core/drop_db/index.html index dcd7508c2672..08a0a1d3fa62 100644 --- a/nightly/core/drop_db/index.html +++ b/nightly/core/drop_db/index.html @@ -1,3 +1,3 @@ -drop_db - Rust

Trait Implementations§

source§

impl Debug for BaseAccount

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IntoPy<Py<PyAny>> for BaseAccount

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl PyClass for BaseAccount

§

type Frozen = False

Whether the pyclass is frozen. Read more
source§

impl PyClassImpl for BaseAccount

source§

const IS_BASETYPE: bool = false

#[pyclass(subclass)]
source§

const IS_SUBCLASS: bool = false

#[pyclass(extends=…)]
source§

const IS_MAPPING: bool = false

#[pyclass(mapping)]
source§

const IS_SEQUENCE: bool = false

#[pyclass(sequence)]
§

type BaseType = PyAny

Base class
§

type ThreadChecker = SendablePyClass<BaseAccount>

This handles following two situations: Read more
§

type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

Immutable or mutable
§

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.
§

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.
§

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a BaseAccount

§

type Holder = Option<PyRef<'py, BaseAccount>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut BaseAccount

§

type Holder = Option<PyRefMut<'py, BaseAccount>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyTypeInfo for BaseAccount

§

type AsRefTarget = PyCell<BaseAccount>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "BaseAccount"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.

Auto Trait Implementations§

§

impl RefUnwindSafe for BaseAccount

§

impl Send for BaseAccount

§

impl Sync for BaseAccount

§

impl Unpin for BaseAccount

§

impl UnwindSafe for BaseAccount

Blanket Implementations§

source§

impl<T> Any for T
where +#[pyclass(extends=PyDict)], it’s PyDict.

source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a BaseAccount

§

type Holder = Option<PyRef<'py, BaseAccount>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut BaseAccount

§

type Holder = Option<PyRefMut<'py, BaseAccount>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyTypeInfo for BaseAccount

§

type AsRefTarget = PyCell<BaseAccount>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "BaseAccount"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.

Auto Trait Implementations§

§

impl RefUnwindSafe for BaseAccount

§

impl Send for BaseAccount

§

impl Sync for BaseAccount

§

impl Unpin for BaseAccount

§

impl UnwindSafe for BaseAccount

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

@@ -38,6 +38,6 @@ From<T> for U chooses to do.

§

impl<T> PyErrArguments for T
where T: IntoPy<Py<PyAny>> + Send + Sync,

§

fn arguments(self, py: Python<'_>) -> Py<PyAny>

Arguments for exception
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where T: Send,

\ No newline at end of file diff --git a/nightly/core/nautilus_accounting/account/cash/index.html b/nightly/core/nautilus_accounting/account/cash/index.html index 17fb607c9ff8..5e4f4da8871e 100644 --- a/nightly/core/nautilus_accounting/account/cash/index.html +++ b/nightly/core/nautilus_accounting/account/cash/index.html @@ -1,2 +1,2 @@ -nautilus_accounting::account::cash - Rust +nautilus_accounting::account::cash - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_accounting/account/cash/struct.CashAccount.html b/nightly/core/nautilus_accounting/account/cash/struct.CashAccount.html index aaad6ae0d292..c79427bd8c14 100644 --- a/nightly/core/nautilus_accounting/account/cash/struct.CashAccount.html +++ b/nightly/core/nautilus_accounting/account/cash/struct.CashAccount.html @@ -1,4 +1,4 @@ -CashAccount in nautilus_accounting::account::cash - Rust +CashAccount in nautilus_accounting::account::cash - Rust
pub struct CashAccount {
     pub base: BaseAccount,
 }

Fields§

§base: BaseAccount

Implementations§

source§

impl CashAccount

source

pub fn new(event: AccountState, calculate_account_state: bool) -> Result<Self>

source

pub fn is_cash_account(&self) -> bool

source

pub fn is_margin_account(&self) -> bool

source

pub fn is_unleveraged(&self) -> bool

source§

impl CashAccount

source

pub fn py_new( @@ -42,10 +42,10 @@ last_px: Price, liquidity_side: LiquiditySide, use_quote_for_inverse: Option<bool> -) -> Result<Money>

source§

impl Debug for CashAccount

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for CashAccount

§

type Target = BaseAccount

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for CashAccount

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl Display for CashAccount

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IntoPy<Py<PyAny>> for CashAccount

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl PartialEq for CashAccount

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used +) -> Result<Money>
source§

impl Debug for CashAccount

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for CashAccount

§

type Target = BaseAccount

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for CashAccount

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl Display for CashAccount

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IntoPy<Py<PyAny>> for CashAccount

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl PartialEq for CashAccount

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PyClass for CashAccount

§

type Frozen = False

Whether the pyclass is frozen. Read more
source§

impl PyClassImpl for CashAccount

source§

const IS_BASETYPE: bool = false

#[pyclass(subclass)]
source§

const IS_SUBCLASS: bool = false

#[pyclass(extends=…)]
source§

const IS_MAPPING: bool = false

#[pyclass(mapping)]
source§

const IS_SEQUENCE: bool = false

#[pyclass(sequence)]
§

type BaseType = PyAny

Base class
§

type ThreadChecker = SendablePyClass<CashAccount>

This handles following two situations: Read more
§

type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

Immutable or mutable
§

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.
§

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.
§

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl PyClassNewTextSignature<CashAccount> for PyClassImplCollector<CashAccount>

source§

fn new_text_signature(self) -> Option<&'static str>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a CashAccount

§

type Holder = Option<PyRef<'py, CashAccount>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut CashAccount

§

type Holder = Option<PyRefMut<'py, CashAccount>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyMethods<CashAccount> for PyClassImplCollector<CashAccount>

source§

fn py_methods(self) -> &'static PyClassItems

source§

impl PyTypeInfo for CashAccount

§

type AsRefTarget = PyCell<CashAccount>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "CashAccount"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.
source§

impl Eq for CashAccount

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +#[pyclass(extends=PyDict)], it’s PyDict.

source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl PyClassNewTextSignature<CashAccount> for PyClassImplCollector<CashAccount>

source§

fn new_text_signature(self) -> Option<&'static str>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a CashAccount

§

type Holder = Option<PyRef<'py, CashAccount>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut CashAccount

§

type Holder = Option<PyRefMut<'py, CashAccount>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyMethods<CashAccount> for PyClassImplCollector<CashAccount>

source§

fn py_methods(self) -> &'static PyClassItems

source§

impl PyTypeInfo for CashAccount

§

type AsRefTarget = PyCell<CashAccount>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "CashAccount"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.
source§

impl Eq for CashAccount

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where @@ -61,6 +61,6 @@ T: IntoPy<Py<PyAny>> + Send + Sync,

§

fn arguments(self, py: Python<'_>) -> Py<PyAny>

Arguments for exception
source§

impl<T> Separable for T
where T: Display,

source§

fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

Adds separators according to the given SeparatorPolicy. Read more
source§

fn separate_with_commas(&self) -> String

Inserts a comma every three digits from the right. Read more
source§

fn separate_with_spaces(&self) -> String

Inserts a space every three digits from the right. Read more
source§

fn separate_with_dots(&self) -> String

Inserts a period every three digits from the right. Read more
source§

fn separate_with_underscores(&self) -> String

Inserts an underscore every three digits from the right. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where T: Send,

\ No newline at end of file diff --git a/nightly/core/nautilus_accounting/account/index.html b/nightly/core/nautilus_accounting/account/index.html index 571176b76ec5..b127827ef713 100644 --- a/nightly/core/nautilus_accounting/account/index.html +++ b/nightly/core/nautilus_accounting/account/index.html @@ -1,2 +1,2 @@ -nautilus_accounting::account - Rust +nautilus_accounting::account - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_accounting/account/margin/index.html b/nightly/core/nautilus_accounting/account/margin/index.html index 51f4a99ddeb7..ab239f1b39a1 100644 --- a/nightly/core/nautilus_accounting/account/margin/index.html +++ b/nightly/core/nautilus_accounting/account/margin/index.html @@ -1,2 +1,2 @@ -nautilus_accounting::account::margin - Rust +nautilus_accounting::account::margin - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_accounting/account/margin/struct.MarginAccount.html b/nightly/core/nautilus_accounting/account/margin/struct.MarginAccount.html index 123b319054cd..69b2aab6e0e1 100644 --- a/nightly/core/nautilus_accounting/account/margin/struct.MarginAccount.html +++ b/nightly/core/nautilus_accounting/account/margin/struct.MarginAccount.html @@ -1,4 +1,4 @@ -MarginAccount in nautilus_accounting::account::margin - Rust +MarginAccount in nautilus_accounting::account::margin - Rust
pub struct MarginAccount {
     pub base: BaseAccount,
     pub leverages: HashMap<InstrumentId, f64>,
@@ -76,12 +76,12 @@
     last_px: Price,
     liquidity_side: LiquiditySide,
     use_quote_for_inverse: Option<bool>
-) -> Result<Money>
source§

impl Debug for MarginAccount

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for MarginAccount

§

type Target = BaseAccount

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for MarginAccount

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl Display for MarginAccount

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for MarginAccount

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where +) -> Result<Money>

source§

impl Debug for MarginAccount

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for MarginAccount

§

type Target = BaseAccount

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for MarginAccount

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl Display for MarginAccount

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for MarginAccount

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoPy<Py<PyAny>> for MarginAccount

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl PartialEq for MarginAccount

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PyClass for MarginAccount

§

type Frozen = False

Whether the pyclass is frozen. Read more
source§

impl PyClassImpl for MarginAccount

source§

const IS_BASETYPE: bool = false

#[pyclass(subclass)]
source§

const IS_SUBCLASS: bool = false

#[pyclass(extends=…)]
source§

const IS_MAPPING: bool = false

#[pyclass(mapping)]
source§

const IS_SEQUENCE: bool = false

#[pyclass(sequence)]
§

type BaseType = PyAny

Base class
§

type ThreadChecker = SendablePyClass<MarginAccount>

This handles following two situations: Read more
§

type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

Immutable or mutable
§

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.
§

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.
§

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl PyClassNewTextSignature<MarginAccount> for PyClassImplCollector<MarginAccount>

source§

fn new_text_signature(self) -> Option<&'static str>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a MarginAccount

§

type Holder = Option<PyRef<'py, MarginAccount>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut MarginAccount

§

type Holder = Option<PyRefMut<'py, MarginAccount>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyMethods<MarginAccount> for PyClassImplCollector<MarginAccount>

source§

fn py_methods(self) -> &'static PyClassItems

source§

impl PyTypeInfo for MarginAccount

§

type AsRefTarget = PyCell<MarginAccount>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "MarginAccount"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.
source§

impl Eq for MarginAccount

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +#[pyclass(extends=PyDict)], it’s PyDict.

source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl PyClassNewTextSignature<MarginAccount> for PyClassImplCollector<MarginAccount>

source§

fn new_text_signature(self) -> Option<&'static str>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a MarginAccount

§

type Holder = Option<PyRef<'py, MarginAccount>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut MarginAccount

§

type Holder = Option<PyRefMut<'py, MarginAccount>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyMethods<MarginAccount> for PyClassImplCollector<MarginAccount>

source§

fn py_methods(self) -> &'static PyClassItems

source§

impl PyTypeInfo for MarginAccount

§

type AsRefTarget = PyCell<MarginAccount>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "MarginAccount"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.
source§

impl Eq for MarginAccount

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where @@ -97,6 +97,6 @@ T: IntoPy<Py<PyAny>> + Send + Sync,

§

fn arguments(self, py: Python<'_>) -> Py<PyAny>

Arguments for exception
source§

impl<T> Separable for T
where T: Display,

source§

fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

Adds separators according to the given SeparatorPolicy. Read more
source§

fn separate_with_commas(&self) -> String

Inserts a comma every three digits from the right. Read more
source§

fn separate_with_spaces(&self) -> String

Inserts a space every three digits from the right. Read more
source§

fn separate_with_dots(&self) -> String

Inserts a period every three digits from the right. Read more
source§

fn separate_with_underscores(&self) -> String

Inserts an underscore every three digits from the right. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where T: Send,

\ No newline at end of file diff --git a/nightly/core/nautilus_accounting/account/trait.Account.html b/nightly/core/nautilus_accounting/account/trait.Account.html index e6e7bab3a730..ba056b49af6c 100644 --- a/nightly/core/nautilus_accounting/account/trait.Account.html +++ b/nightly/core/nautilus_accounting/account/trait.Account.html @@ -1,4 +1,4 @@ -Account in nautilus_accounting::account - Rust +Account in nautilus_accounting::account - Rust
pub trait Account {
 
Show 16 methods // Required methods fn balance_total(&self, currency: Option<Currency>) -> Option<Money>; diff --git a/nightly/core/nautilus_accounting/all.html b/nightly/core/nautilus_accounting/all.html index 1b6eaa08b994..bcfe24f4be91 100644 --- a/nightly/core/nautilus_accounting/all.html +++ b/nightly/core/nautilus_accounting/all.html @@ -1,2 +1,2 @@ -List of all items in this crate +List of all items in this crate
\ No newline at end of file diff --git a/nightly/core/nautilus_accounting/index.html b/nightly/core/nautilus_accounting/index.html index 2f651de2bb43..f43879615f56 100644 --- a/nightly/core/nautilus_accounting/index.html +++ b/nightly/core/nautilus_accounting/index.html @@ -1,3 +1,3 @@ -nautilus_accounting - Rust
§

impl<T> PyErrArguments for T
where T: IntoPy<Py<PyAny>> + Send + Sync,

§

fn arguments(self, py: Python<'_>) -> Py<PyAny>

Arguments for exception
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where diff --git a/nightly/core/nautilus_adapters/databento/types/type.Dataset.html b/nightly/core/nautilus_adapters/databento/types/type.Dataset.html index 67bbbb13bb29..cd52916c7998 100644 --- a/nightly/core/nautilus_adapters/databento/types/type.Dataset.html +++ b/nightly/core/nautilus_adapters/databento/types/type.Dataset.html @@ -1,3 +1,3 @@ -Dataset in nautilus_adapters::databento::types - Rust +Dataset in nautilus_adapters::databento::types - Rust
pub type Dataset = Ustr;
Expand description

Represents a Databento dataset code.

Aliased Type§

struct Dataset { /* private fields */ }
\ No newline at end of file diff --git a/nightly/core/nautilus_adapters/databento/types/type.PublisherId.html b/nightly/core/nautilus_adapters/databento/types/type.PublisherId.html index 06e698ed48ae..1d095c4d2e7e 100644 --- a/nightly/core/nautilus_adapters/databento/types/type.PublisherId.html +++ b/nightly/core/nautilus_adapters/databento/types/type.PublisherId.html @@ -1,3 +1,3 @@ -PublisherId in nautilus_adapters::databento::types - Rust +PublisherId in nautilus_adapters::databento::types - Rust
pub type PublisherId = u16;
Expand description

Represents a Databento publisher ID.

\ No newline at end of file diff --git a/nightly/core/nautilus_adapters/index.html b/nightly/core/nautilus_adapters/index.html index 05b6195b829e..918fa9f3620a 100644 --- a/nightly/core/nautilus_adapters/index.html +++ b/nightly/core/nautilus_adapters/index.html @@ -1,3 +1,3 @@ -nautilus_adapters - Rust

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_backtest/engine/struct.TimeEventAccumulatorAPI.html b/nightly/core/nautilus_backtest/engine/struct.TimeEventAccumulatorAPI.html index 1d019e54ac25..8a99dd70bbba 100644 --- a/nightly/core/nautilus_backtest/engine/struct.TimeEventAccumulatorAPI.html +++ b/nightly/core/nautilus_backtest/engine/struct.TimeEventAccumulatorAPI.html @@ -1,4 +1,4 @@ -TimeEventAccumulatorAPI in nautilus_backtest::engine - Rust +TimeEventAccumulatorAPI in nautilus_backtest::engine - Rust
#[repr(C)]
pub struct TimeEventAccumulatorAPI(/* private fields */);

Methods from Deref<Target = TimeEventAccumulator>§

source

pub fn advance_clock( &mut self, clock: &mut TestClock, @@ -17,8 +17,8 @@

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_backtest/index.html b/nightly/core/nautilus_backtest/index.html index 9391f8df51af..39ed6ef8a12c 100644 --- a/nightly/core/nautilus_backtest/index.html +++ b/nightly/core/nautilus_backtest/index.html @@ -1,3 +1,3 @@ -nautilus_backtest - Rust
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/clock/struct.TestClock.html b/nightly/core/nautilus_common/clock/struct.TestClock.html index 7a21bd656458..b458ff24b5a9 100644 --- a/nightly/core/nautilus_common/clock/struct.TestClock.html +++ b/nightly/core/nautilus_common/clock/struct.TestClock.html @@ -1,4 +1,4 @@ -TestClock in nautilus_common::clock - Rust +TestClock in nautilus_common::clock - Rust
pub struct TestClock { /* private fields */ }

Implementations§

source§

impl TestClock

source

pub fn new() -> Self

source

pub fn get_timers(&self) -> &HashMap<Ustr, TestTimer>

source

pub fn advance_time( &mut self, to_time_ns: UnixNanos, @@ -384,8 +384,8 @@

§ExamplesThat is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/clock/trait.Clock.html b/nightly/core/nautilus_common/clock/trait.Clock.html index 2f425b4e7f96..a9485d49aec7 100644 --- a/nightly/core/nautilus_common/clock/trait.Clock.html +++ b/nightly/core/nautilus_common/clock/trait.Clock.html @@ -1,4 +1,4 @@ -Clock in nautilus_common::clock - Rust +Clock in nautilus_common::clock - Rust
pub trait Clock {
     // Required methods
     fn timer_names(&self) -> Vec<&str>;
diff --git a/nightly/core/nautilus_common/enums/enum.ComponentState.html b/nightly/core/nautilus_common/enums/enum.ComponentState.html
index 690f807be6c4..5cd5123f4b9b 100644
--- a/nightly/core/nautilus_common/enums/enum.ComponentState.html
+++ b/nightly/core/nautilus_common/enums/enum.ComponentState.html
@@ -1,4 +1,4 @@
-ComponentState in nautilus_common::enums - Rust
+ComponentState in nautilus_common::enums - Rust
     
#[repr(C)]
pub enum ComponentState {
Show 14 variants PreInitialized = 0, Ready = 1, @@ -30,8 +30,8 @@
§

Faulting = 12

When a component is executing its actions on fault.

§

Faulted = 13

When a component has successfully shut down due to a detected fault.

Implementations§

source§

impl ComponentState

source

pub const fn from_repr(discriminant: usize) -> Option<ComponentState>

Try to create Self from the raw representation

-

Trait Implementations§

source§

impl Clone for ComponentState

source§

fn clone(&self) -> ComponentState

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ComponentState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ComponentState

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ComponentState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl FromStr for ComponentState

§

type Err = ParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<ComponentState, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for ComponentState

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where +

Trait Implementations§

source§

impl Clone for ComponentState

source§

fn clone(&self) -> ComponentState

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ComponentState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ComponentState

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ComponentState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl FromStr for ComponentState

§

type Err = ParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<ComponentState, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for ComponentState

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoEnumIterator for ComponentState

source§

impl IntoPy<Py<PyAny>> for ComponentState

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl Ord for ComponentState

source§

fn cmp(&self, other: &ComponentState) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where @@ -64,8 +64,8 @@ T: Display,

source§

fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

Adds separators according to the given SeparatorPolicy. Read more
source§

fn separate_with_commas(&self) -> String

Inserts a comma every three digits from the right. Read more
source§

fn separate_with_spaces(&self) -> String

Inserts a space every three digits from the right. Read more
source§

fn separate_with_dots(&self) -> String

Inserts a period every three digits from the right. Read more
source§

fn separate_with_underscores(&self) -> String

Inserts an underscore every three digits from the right. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/enums/enum.ComponentTrigger.html b/nightly/core/nautilus_common/enums/enum.ComponentTrigger.html index 2c528a87bb47..79bda3a9dc3f 100644 --- a/nightly/core/nautilus_common/enums/enum.ComponentTrigger.html +++ b/nightly/core/nautilus_common/enums/enum.ComponentTrigger.html @@ -1,4 +1,4 @@ -ComponentTrigger in nautilus_common::enums - Rust +ComponentTrigger in nautilus_common::enums - Rust
#[repr(C)]
pub enum ComponentTrigger {
Show 15 variants Initialize = 1, Start = 2, @@ -32,8 +32,8 @@
§

Fault = 14

A trigger for the component to fault.

§

FaultCompleted = 15

A trigger when the component has successfully faulted.

Implementations§

source§

impl ComponentTrigger

source

pub const fn from_repr(discriminant: usize) -> Option<ComponentTrigger>

Try to create Self from the raw representation

-

Trait Implementations§

source§

impl Clone for ComponentTrigger

source§

fn clone(&self) -> ComponentTrigger

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ComponentTrigger

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ComponentTrigger

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ComponentTrigger

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl FromStr for ComponentTrigger

§

type Err = ParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<ComponentTrigger, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for ComponentTrigger

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where +

Trait Implementations§

source§

impl Clone for ComponentTrigger

source§

fn clone(&self) -> ComponentTrigger

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ComponentTrigger

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ComponentTrigger

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ComponentTrigger

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl FromStr for ComponentTrigger

§

type Err = ParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<ComponentTrigger, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for ComponentTrigger

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoEnumIterator for ComponentTrigger

source§

impl IntoPy<Py<PyAny>> for ComponentTrigger

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl Ord for ComponentTrigger

source§

fn cmp(&self, other: &ComponentTrigger) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where @@ -43,7 +43,7 @@ sufficient, and should not be overridden without very good reason.

source§

impl PartialOrd for ComponentTrigger

source§

fn partial_cmp(&self, other: &ComponentTrigger) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PyClass for ComponentTrigger

§

type Frozen = False

Whether the pyclass is frozen. Read more
source§

impl PyClassImpl for ComponentTrigger

source§

const IS_BASETYPE: bool = false

#[pyclass(subclass)]
source§

const IS_SUBCLASS: bool = false

#[pyclass(extends=…)]
source§

const IS_MAPPING: bool = false

#[pyclass(mapping)]
source§

const IS_SEQUENCE: bool = false

#[pyclass(sequence)]
§

type BaseType = PyAny

Base class
§

type ThreadChecker = SendablePyClass<ComponentTrigger>

This handles following two situations: Read more
§

type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

Immutable or mutable
§

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.
§

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.
§

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a ComponentTrigger

§

type Holder = Option<PyRef<'py, ComponentTrigger>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut ComponentTrigger

§

type Holder = Option<PyRefMut<'py, ComponentTrigger>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyTypeInfo for ComponentTrigger

§

type AsRefTarget = PyCell<ComponentTrigger>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "ComponentTrigger"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.
source§

impl Serialize for ComponentTrigger

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where +#[pyclass(extends=PyDict)], it’s PyDict.

source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a ComponentTrigger

§

type Holder = Option<PyRef<'py, ComponentTrigger>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut ComponentTrigger

§

type Holder = Option<PyRefMut<'py, ComponentTrigger>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyTypeInfo for ComponentTrigger

§

type AsRefTarget = PyCell<ComponentTrigger>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "ComponentTrigger"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.
source§

impl Serialize for ComponentTrigger

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<&str> for ComponentTrigger

§

type Error = ParseError

The type returned in the event of a conversion error.
source§

fn try_from(s: &str) -> Result<ComponentTrigger, <Self as TryFrom<&str>>::Error>

Performs the conversion.
source§

impl Copy for ComponentTrigger

source§

impl Eq for ComponentTrigger

source§

impl StructuralPartialEq for ComponentTrigger

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where @@ -66,8 +66,8 @@ T: Display,

source§

fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

Adds separators according to the given SeparatorPolicy. Read more
source§

fn separate_with_commas(&self) -> String

Inserts a comma every three digits from the right. Read more
source§

fn separate_with_spaces(&self) -> String

Inserts a space every three digits from the right. Read more
source§

fn separate_with_dots(&self) -> String

Inserts a period every three digits from the right. Read more
source§

fn separate_with_underscores(&self) -> String

Inserts an underscore every three digits from the right. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/enums/enum.LogColor.html b/nightly/core/nautilus_common/enums/enum.LogColor.html index 282fad89210d..304634568e77 100644 --- a/nightly/core/nautilus_common/enums/enum.LogColor.html +++ b/nightly/core/nautilus_common/enums/enum.LogColor.html @@ -1,4 +1,4 @@ -LogColor in nautilus_common::enums - Rust +LogColor in nautilus_common::enums - Rust
#[repr(C)]
pub enum LogColor { Normal = 0, Green = 1, @@ -50,8 +50,8 @@ T: Display,
source§

fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

Adds separators according to the given SeparatorPolicy. Read more
source§

fn separate_with_commas(&self) -> String

Inserts a comma every three digits from the right. Read more
source§

fn separate_with_spaces(&self) -> String

Inserts a space every three digits from the right. Read more
source§

fn separate_with_dots(&self) -> String

Inserts a period every three digits from the right. Read more
source§

fn separate_with_underscores(&self) -> String

Inserts an underscore every three digits from the right. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/enums/enum.LogFormat.html b/nightly/core/nautilus_common/enums/enum.LogFormat.html index 45d3245ebdf3..dc390168c5fb 100644 --- a/nightly/core/nautilus_common/enums/enum.LogFormat.html +++ b/nightly/core/nautilus_common/enums/enum.LogFormat.html @@ -1,4 +1,4 @@ -LogFormat in nautilus_common::enums - Rust +LogFormat in nautilus_common::enums - Rust
#[repr(C)]
pub enum LogFormat { Header = 0, Endc = 1, @@ -18,7 +18,7 @@ Self: Sized,
Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoPy<Py<PyAny>> for LogFormat

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl PartialEq for LogFormat

source§

fn eq(&self, other: &LogFormat) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PyClass for LogFormat

§

type Frozen = False

Whether the pyclass is frozen. Read more
source§

impl PyClassImpl for LogFormat

source§

const IS_BASETYPE: bool = false

#[pyclass(subclass)]
source§

const IS_SUBCLASS: bool = false

#[pyclass(extends=…)]
source§

const IS_MAPPING: bool = false

#[pyclass(mapping)]
source§

const IS_SEQUENCE: bool = false

#[pyclass(sequence)]
§

type BaseType = PyAny

Base class
§

type ThreadChecker = SendablePyClass<LogFormat>

This handles following two situations: Read more
§

type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

Immutable or mutable
§

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.
§

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.
§

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LogFormat

§

type Holder = Option<PyRef<'py, LogFormat>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LogFormat

§

type Holder = Option<PyRefMut<'py, LogFormat>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyTypeInfo for LogFormat

§

type AsRefTarget = PyCell<LogFormat>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "LogFormat"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.
source§

impl TryFrom<&str> for LogFormat

§

type Error = ParseError

The type returned in the event of a conversion error.
source§

fn try_from(s: &str) -> Result<LogFormat, <Self as TryFrom<&str>>::Error>

Performs the conversion.
source§

impl Copy for LogFormat

source§

impl Eq for LogFormat

source§

impl StructuralPartialEq for LogFormat

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +#[pyclass(extends=PyDict)], it’s PyDict.

source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LogFormat

§

type Holder = Option<PyRef<'py, LogFormat>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LogFormat

§

type Holder = Option<PyRefMut<'py, LogFormat>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyTypeInfo for LogFormat

§

type AsRefTarget = PyCell<LogFormat>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "LogFormat"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.
source§

impl TryFrom<&str> for LogFormat

§

type Error = ParseError

The type returned in the event of a conversion error.
source§

fn try_from(s: &str) -> Result<LogFormat, <Self as TryFrom<&str>>::Error>

Performs the conversion.
source§

impl Copy for LogFormat

source§

impl Eq for LogFormat

source§

impl StructuralPartialEq for LogFormat

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where @@ -38,8 +38,8 @@ T: Display,

source§

fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

Adds separators according to the given SeparatorPolicy. Read more
source§

fn separate_with_commas(&self) -> String

Inserts a comma every three digits from the right. Read more
source§

fn separate_with_spaces(&self) -> String

Inserts a space every three digits from the right. Read more
source§

fn separate_with_dots(&self) -> String

Inserts a period every three digits from the right. Read more
source§

fn separate_with_underscores(&self) -> String

Inserts an underscore every three digits from the right. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/enums/enum.LogLevel.html b/nightly/core/nautilus_common/enums/enum.LogLevel.html index ccfe1548cb19..6968bb8521ec 100644 --- a/nightly/core/nautilus_common/enums/enum.LogLevel.html +++ b/nightly/core/nautilus_common/enums/enum.LogLevel.html @@ -1,4 +1,4 @@ -LogLevel in nautilus_common::enums - Rust +LogLevel in nautilus_common::enums - Rust
#[repr(C)]
pub enum LogLevel { Off = 0, Debug = 10, @@ -23,7 +23,7 @@ sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for LogLevel

source§

fn partial_cmp(&self, other: &LogLevel) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PyClass for LogLevel

§

type Frozen = False

Whether the pyclass is frozen. Read more
source§

impl PyClassImpl for LogLevel

source§

const IS_BASETYPE: bool = false

#[pyclass(subclass)]
source§

const IS_SUBCLASS: bool = false

#[pyclass(extends=…)]
source§

const IS_MAPPING: bool = false

#[pyclass(mapping)]
source§

const IS_SEQUENCE: bool = false

#[pyclass(sequence)]
§

type BaseType = PyAny

Base class
§

type ThreadChecker = SendablePyClass<LogLevel>

This handles following two situations: Read more
§

type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

Immutable or mutable
§

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.
§

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.
§

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LogLevel

§

type Holder = Option<PyRef<'py, LogLevel>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LogLevel

§

type Holder = Option<PyRefMut<'py, LogLevel>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyTypeInfo for LogLevel

§

type AsRefTarget = PyCell<LogLevel>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "LogLevel"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.
source§

impl Serialize for LogLevel

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where +#[pyclass(extends=PyDict)], it’s PyDict.

source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LogLevel

§

type Holder = Option<PyRef<'py, LogLevel>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LogLevel

§

type Holder = Option<PyRefMut<'py, LogLevel>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyTypeInfo for LogLevel

§

type AsRefTarget = PyCell<LogLevel>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "LogLevel"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.
source§

impl Serialize for LogLevel

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<&str> for LogLevel

§

type Error = ParseError

The type returned in the event of a conversion error.
source§

fn try_from(s: &str) -> Result<LogLevel, <Self as TryFrom<&str>>::Error>

Performs the conversion.
source§

impl Copy for LogLevel

source§

impl Eq for LogLevel

source§

impl StructuralPartialEq for LogLevel

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where @@ -46,8 +46,8 @@ T: Display,

source§

fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

Adds separators according to the given SeparatorPolicy. Read more
source§

fn separate_with_commas(&self) -> String

Inserts a comma every three digits from the right. Read more
source§

fn separate_with_spaces(&self) -> String

Inserts a space every three digits from the right. Read more
source§

fn separate_with_dots(&self) -> String

Inserts a period every three digits from the right. Read more
source§

fn separate_with_underscores(&self) -> String

Inserts an underscore every three digits from the right. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/enums/index.html b/nightly/core/nautilus_common/enums/index.html index f57ef10047ae..30f964e26cba 100644 --- a/nightly/core/nautilus_common/enums/index.html +++ b/nightly/core/nautilus_common/enums/index.html @@ -1,3 +1,3 @@ -nautilus_common::enums - Rust +nautilus_common::enums - Rust

Module nautilus_common::enums

source ·

Structs§

Enums§

  • The state of a component within the system.
  • A trigger condition for a component within the system.
  • The log color for log messages.
  • An ANSI log line format specifier. This is used for formatting log messages with ANSI escape codes.
  • The log level for log messages.
\ No newline at end of file diff --git a/nightly/core/nautilus_common/enums/struct.ComponentStateIter.html b/nightly/core/nautilus_common/enums/struct.ComponentStateIter.html index c892e54ca267..6194c8a7d7b8 100644 --- a/nightly/core/nautilus_common/enums/struct.ComponentStateIter.html +++ b/nightly/core/nautilus_common/enums/struct.ComponentStateIter.html @@ -1,4 +1,4 @@ -ComponentStateIter in nautilus_common::enums - Rust +ComponentStateIter in nautilus_common::enums - Rust
pub struct ComponentStateIter { /* private fields */ }
Expand description

An iterator over the variants of ComponentState

Trait Implementations§

source§

impl Clone for ComponentStateIter

source§

fn clone(&self) -> ComponentStateIter

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ComponentStateIter

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl DoubleEndedIterator for ComponentStateIter

source§

fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

Removes and returns an element from the end of the iterator. Read more
source§

fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator from the back by n elements. Read more
1.37.0 · source§

fn nth_back(&mut self, n: usize) -> Option<Self::Item>

Returns the nth element from the end of the iterator. Read more
1.27.0 · source§

fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
where Self: Sized, @@ -9,91 +9,91 @@ F: FnMut(B, Self::Item) -> B,

An iterator method that reduces the iterator’s elements to a single, final value, starting from the back. Read more
1.27.0 · source§

fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator from the back that satisfies a predicate. Read more
source§

impl ExactSizeIterator for ComponentStateIter

source§

fn len(&self) -> usize

Returns the exact remaining length of the iterator. Read more
source§

fn is_empty(&self) -> bool

🔬This is a nightly-only experimental API. (exact_size_is_empty)
Returns true if the iterator is empty. Read more
source§

impl Iterator for ComponentStateIter

§

type Item = ComponentState

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<<Self as Iterator>::Item>

Advances the iterator and returns the next value. Read more
source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
source§

fn nth(&mut self, n: usize) -> Option<<Self as Iterator>::Item>

Returns the nth element of the iterator. Read more
source§

fn next_chunk<const N: usize>( + P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator from the back that satisfies a predicate. Read more
source§

impl ExactSizeIterator for ComponentStateIter

source§

fn len(&self) -> usize

Returns the exact remaining length of the iterator. Read more
source§

fn is_empty(&self) -> bool

🔬This is a nightly-only experimental API. (exact_size_is_empty)
Returns true if the iterator is empty. Read more
source§

impl Iterator for ComponentStateIter

§

type Item = ComponentState

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<<Self as Iterator>::Item>

Advances the iterator and returns the next value. Read more
source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
source§

fn nth(&mut self, n: usize) -> Option<<Self as Iterator>::Item>

Returns the nth element of the iterator. Read more
source§

fn next_chunk<const N: usize>( &mut self ) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
where - Self: Sized,

🔬This is a nightly-only experimental API. (iter_next_chunk)
Advances the iterator and returns an array containing the next N values. Read more
1.0.0 · source§

fn count(self) -> usize
where - Self: Sized,

Consumes the iterator, counting the number of iterations and returning it. Read more
1.0.0 · source§

fn last(self) -> Option<Self::Item>
where - Self: Sized,

Consumes the iterator, returning the last element. Read more
source§

fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator by n elements. Read more
1.28.0 · source§

fn step_by(self, step: usize) -> StepBy<Self>
where + Self: Sized,

🔬This is a nightly-only experimental API. (iter_next_chunk)
Advances the iterator and returns an array containing the next N values. Read more
1.0.0 · source§

fn count(self) -> usize
where + Self: Sized,

Consumes the iterator, counting the number of iterations and returning it. Read more
1.0.0 · source§

fn last(self) -> Option<Self::Item>
where + Self: Sized,

Consumes the iterator, returning the last element. Read more
source§

fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator by n elements. Read more
1.28.0 · source§

fn step_by(self, step: usize) -> StepBy<Self>
where Self: Sized,

Creates an iterator starting at the same point, but stepping by -the given amount at each iteration. Read more
1.0.0 · source§

fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
where +the given amount at each iteration. Read more

1.0.0 · source§

fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
where Self: Sized, - U: IntoIterator<Item = Self::Item>,

Takes two iterators and creates a new iterator over both in sequence. Read more
1.0.0 · source§

fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
where + U: IntoIterator<Item = Self::Item>,

Takes two iterators and creates a new iterator over both in sequence. Read more
1.0.0 · source§

fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
where Self: Sized, - U: IntoIterator,

‘Zips up’ two iterators into a single iterator of pairs. Read more
source§

fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
where + U: IntoIterator,

‘Zips up’ two iterators into a single iterator of pairs. Read more
source§

fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
where Self: Sized, Self::Item: Clone,

🔬This is a nightly-only experimental API. (iter_intersperse)
Creates a new iterator which places a copy of separator between adjacent -items of the original iterator. Read more
source§

fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
where +items of the original iterator. Read more

source§

fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
where Self: Sized, G: FnMut() -> Self::Item,

🔬This is a nightly-only experimental API. (iter_intersperse)
Creates a new iterator which places an item generated by separator -between adjacent items of the original iterator. Read more
1.0.0 · source§

fn map<B, F>(self, f: F) -> Map<Self, F>
where +between adjacent items of the original iterator. Read more

1.0.0 · source§

fn map<B, F>(self, f: F) -> Map<Self, F>
where Self: Sized, F: FnMut(Self::Item) -> B,

Takes a closure and creates an iterator which calls that closure on each -element. Read more
1.21.0 · source§

fn for_each<F>(self, f: F)
where +element. Read more

1.21.0 · source§

fn for_each<F>(self, f: F)
where Self: Sized, - F: FnMut(Self::Item),

Calls a closure on each element of an iterator. Read more
1.0.0 · source§

fn filter<P>(self, predicate: P) -> Filter<Self, P>
where + F: FnMut(Self::Item),

Calls a closure on each element of an iterator. Read more
1.0.0 · source§

fn filter<P>(self, predicate: P) -> Filter<Self, P>
where Self: Sized, P: FnMut(&Self::Item) -> bool,

Creates an iterator which uses a closure to determine if an element -should be yielded. Read more
1.0.0 · source§

fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
where +should be yielded. Read more

1.0.0 · source§

fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
where Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both filters and maps. Read more
1.0.0 · source§

fn enumerate(self) -> Enumerate<Self>
where + F: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both filters and maps. Read more
1.0.0 · source§

fn enumerate(self) -> Enumerate<Self>
where Self: Sized,

Creates an iterator which gives the current iteration count as well as -the next value. Read more
1.0.0 · source§

fn peekable(self) -> Peekable<Self>
where +the next value. Read more

1.0.0 · source§

fn peekable(self) -> Peekable<Self>
where Self: Sized,

Creates an iterator which can use the peek and peek_mut methods to look at the next element of the iterator without consuming it. See -their documentation for more information. Read more
1.0.0 · source§

fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
where +their documentation for more information. Read more

1.0.0 · source§

fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Creates an iterator that skips elements based on a predicate. Read more
1.0.0 · source§

fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
where + P: FnMut(&Self::Item) -> bool,

Creates an iterator that skips elements based on a predicate. Read more
1.0.0 · source§

fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Creates an iterator that yields elements based on a predicate. Read more
1.57.0 · source§

fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
where + P: FnMut(&Self::Item) -> bool,

Creates an iterator that yields elements based on a predicate. Read more
1.57.0 · source§

fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
where Self: Sized, - P: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both yields elements based on a predicate and maps. Read more
1.0.0 · source§

fn skip(self, n: usize) -> Skip<Self>
where - Self: Sized,

Creates an iterator that skips the first n elements. Read more
1.0.0 · source§

fn take(self, n: usize) -> Take<Self>
where + P: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both yields elements based on a predicate and maps. Read more
1.0.0 · source§

fn skip(self, n: usize) -> Skip<Self>
where + Self: Sized,

Creates an iterator that skips the first n elements. Read more
1.0.0 · source§

fn take(self, n: usize) -> Take<Self>
where Self: Sized,

Creates an iterator that yields the first n elements, or fewer -if the underlying iterator ends sooner. Read more
1.0.0 · source§

fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
where +if the underlying iterator ends sooner. Read more

1.0.0 · source§

fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
where Self: Sized, F: FnMut(&mut St, Self::Item) -> Option<B>,

An iterator adapter which, like fold, holds internal state, but -unlike fold, produces a new iterator. Read more
1.0.0 · source§

fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
where +unlike fold, produces a new iterator. Read more

1.0.0 · source§

fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
where Self: Sized, U: IntoIterator, - F: FnMut(Self::Item) -> U,

Creates an iterator that works like map, but flattens nested structure. Read more
source§

fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
where + F: FnMut(Self::Item) -> U,

Creates an iterator that works like map, but flattens nested structure. Read more
source§

fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
where Self: Sized, F: FnMut(&[Self::Item; N]) -> R,

🔬This is a nightly-only experimental API. (iter_map_windows)
Calls the given function f for each contiguous window of size N over self and returns an iterator over the outputs of f. Like slice::windows(), -the windows during mapping overlap as well. Read more
1.0.0 · source§

fn fuse(self) -> Fuse<Self>
where - Self: Sized,

Creates an iterator which ends after the first None. Read more
1.0.0 · source§

fn inspect<F>(self, f: F) -> Inspect<Self, F>
where +the windows during mapping overlap as well. Read more

1.0.0 · source§

fn fuse(self) -> Fuse<Self>
where + Self: Sized,

Creates an iterator which ends after the first None. Read more
1.0.0 · source§

fn inspect<F>(self, f: F) -> Inspect<Self, F>
where Self: Sized, - F: FnMut(&Self::Item),

Does something with each element of an iterator, passing the value on. Read more
1.0.0 · source§

fn by_ref(&mut self) -> &mut Self
where - Self: Sized,

Borrows an iterator, rather than consuming it. Read more
1.0.0 · source§

fn collect<B>(self) -> B
where + F: FnMut(&Self::Item),

Does something with each element of an iterator, passing the value on. Read more
1.0.0 · source§

fn by_ref(&mut self) -> &mut Self
where + Self: Sized,

Borrows an iterator, rather than consuming it. Read more
1.0.0 · source§

fn collect<B>(self) -> B
where B: FromIterator<Self::Item>, - Self: Sized,

Transforms an iterator into a collection. Read more
source§

fn collect_into<E>(self, collection: &mut E) -> &mut E
where + Self: Sized,

Transforms an iterator into a collection. Read more
source§

fn collect_into<E>(self, collection: &mut E) -> &mut E
where E: Extend<Self::Item>, - Self: Sized,

🔬This is a nightly-only experimental API. (iter_collect_into)
Collects all the items from an iterator into a collection. Read more
1.0.0 · source§

fn partition<B, F>(self, f: F) -> (B, B)
where + Self: Sized,

🔬This is a nightly-only experimental API. (iter_collect_into)
Collects all the items from an iterator into a collection. Read more
1.0.0 · source§

fn partition<B, F>(self, f: F) -> (B, B)
where Self: Sized, B: Default + Extend<Self::Item>, - F: FnMut(&Self::Item) -> bool,

Consumes an iterator, creating two collections from it. Read more
source§

fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
where + F: FnMut(&Self::Item) -> bool,

Consumes an iterator, creating two collections from it. Read more
source§

fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
where T: 'a, Self: Sized + DoubleEndedIterator<Item = &'a mut T>, P: FnMut(&T) -> bool,

🔬This is a nightly-only experimental API. (iter_partition_in_place)
Reorders the elements of this iterator in-place according to the given predicate, such that all those that return true precede all those that return false. -Returns the number of true elements found. Read more
source§

fn is_partitioned<P>(self, predicate: P) -> bool
where +Returns the number of true elements found. Read more

source§

fn is_partitioned<P>(self, predicate: P) -> bool
where Self: Sized, P: FnMut(Self::Item) -> bool,

🔬This is a nightly-only experimental API. (iter_is_partitioned)
Checks if the elements of this iterator are partitioned according to the given predicate, -such that all those that return true precede all those that return false. Read more
1.27.0 · source§

fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
where +such that all those that return true precede all those that return false. Read more

1.27.0 · source§

fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
where Self: Sized, F: FnMut(B, Self::Item) -> R, R: Try<Output = B>,

An iterator method that applies a function as long as it returns -successfully, producing a single, final value. Read more
1.27.0 · source§

fn try_for_each<F, R>(&mut self, f: F) -> R
where +successfully, producing a single, final value. Read more

1.27.0 · source§

fn try_for_each<F, R>(&mut self, f: F) -> R
where Self: Sized, F: FnMut(Self::Item) -> R, R: Try<Output = ()>,

An iterator method that applies a fallible function to each item in the -iterator, stopping at the first error and returning that error. Read more
1.0.0 · source§

fn fold<B, F>(self, init: B, f: F) -> B
where +iterator, stopping at the first error and returning that error. Read more

1.0.0 · source§

fn fold<B, F>(self, init: B, f: F) -> B
where Self: Sized, F: FnMut(B, Self::Item) -> B,

Folds every element into an accumulator by applying an operation, -returning the final result. Read more
1.51.0 · source§

fn reduce<F>(self, f: F) -> Option<Self::Item>
where +returning the final result. Read more

1.51.0 · source§

fn reduce<F>(self, f: F) -> Option<Self::Item>
where Self: Sized, F: FnMut(Self::Item, Self::Item) -> Self::Item,

Reduces the elements to a single one, by repeatedly applying a reducing -operation. Read more
source§

fn try_reduce<F, R>( +operation. Read more

source§

fn try_reduce<F, R>( &mut self, f: F ) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
where @@ -101,16 +101,16 @@ F: FnMut(Self::Item, Self::Item) -> R, R: Try<Output = Self::Item>, <R as Try>::Residual: Residual<Option<Self::Item>>,

🔬This is a nightly-only experimental API. (iterator_try_reduce)
Reduces the elements to a single one by repeatedly applying a reducing operation. If the -closure returns a failure, the failure is propagated back to the caller immediately. Read more
1.0.0 · source§

fn all<F>(&mut self, f: F) -> bool
where +closure returns a failure, the failure is propagated back to the caller immediately. Read more

1.0.0 · source§

fn all<F>(&mut self, f: F) -> bool
where Self: Sized, - F: FnMut(Self::Item) -> bool,

Tests if every element of the iterator matches a predicate. Read more
1.0.0 · source§

fn any<F>(&mut self, f: F) -> bool
where + F: FnMut(Self::Item) -> bool,

Tests if every element of the iterator matches a predicate. Read more
1.0.0 · source§

fn any<F>(&mut self, f: F) -> bool
where Self: Sized, - F: FnMut(Self::Item) -> bool,

Tests if any element of the iterator matches a predicate. Read more
1.0.0 · source§

fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
where + F: FnMut(Self::Item) -> bool,

Tests if any element of the iterator matches a predicate. Read more
1.0.0 · source§

fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator that satisfies a predicate. Read more
1.30.0 · source§

fn find_map<B, F>(&mut self, f: F) -> Option<B>
where + P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator that satisfies a predicate. Read more
1.30.0 · source§

fn find_map<B, F>(&mut self, f: F) -> Option<B>
where Self: Sized, F: FnMut(Self::Item) -> Option<B>,

Applies function to the elements of iterator and returns -the first non-none result. Read more
source§

fn try_find<F, R>( +the first non-none result. Read more

source§

fn try_find<F, R>( &mut self, f: F ) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
where @@ -118,94 +118,94 @@ F: FnMut(&Self::Item) -> R, R: Try<Output = bool>, <R as Try>::Residual: Residual<Option<Self::Item>>,

🔬This is a nightly-only experimental API. (try_find)
Applies function to the elements of iterator and returns -the first true result or the first error. Read more
1.0.0 · source§

fn position<P>(&mut self, predicate: P) -> Option<usize>
where +the first true result or the first error. Read more

1.0.0 · source§

fn position<P>(&mut self, predicate: P) -> Option<usize>
where Self: Sized, - P: FnMut(Self::Item) -> bool,

Searches for an element in an iterator, returning its index. Read more
1.0.0 · source§

fn rposition<P>(&mut self, predicate: P) -> Option<usize>
where + P: FnMut(Self::Item) -> bool,

Searches for an element in an iterator, returning its index. Read more
1.0.0 · source§

fn rposition<P>(&mut self, predicate: P) -> Option<usize>
where P: FnMut(Self::Item) -> bool, Self: Sized + ExactSizeIterator + DoubleEndedIterator,

Searches for an element in an iterator from the right, returning its -index. Read more
1.0.0 · source§

fn max(self) -> Option<Self::Item>
where +index. Read more

1.0.0 · source§

fn max(self) -> Option<Self::Item>
where Self: Sized, - Self::Item: Ord,

Returns the maximum element of an iterator. Read more
1.0.0 · source§

fn min(self) -> Option<Self::Item>
where + Self::Item: Ord,

Returns the maximum element of an iterator. Read more
1.0.0 · source§

fn min(self) -> Option<Self::Item>
where Self: Sized, - Self::Item: Ord,

Returns the minimum element of an iterator. Read more
1.6.0 · source§

fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
where + Self::Item: Ord,

Returns the minimum element of an iterator. Read more
1.6.0 · source§

fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
where B: Ord, Self: Sized, F: FnMut(&Self::Item) -> B,

Returns the element that gives the maximum value from the -specified function. Read more
1.15.0 · source§

fn max_by<F>(self, compare: F) -> Option<Self::Item>
where +specified function. Read more

1.15.0 · source§

fn max_by<F>(self, compare: F) -> Option<Self::Item>
where Self: Sized, F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Returns the element that gives the maximum value with respect to the -specified comparison function. Read more
1.6.0 · source§

fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
where +specified comparison function. Read more

1.6.0 · source§

fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
where B: Ord, Self: Sized, F: FnMut(&Self::Item) -> B,

Returns the element that gives the minimum value from the -specified function. Read more
1.15.0 · source§

fn min_by<F>(self, compare: F) -> Option<Self::Item>
where +specified function. Read more

1.15.0 · source§

fn min_by<F>(self, compare: F) -> Option<Self::Item>
where Self: Sized, F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Returns the element that gives the minimum value with respect to the -specified comparison function. Read more
1.0.0 · source§

fn rev(self) -> Rev<Self>
where - Self: Sized + DoubleEndedIterator,

Reverses an iterator’s direction. Read more
1.0.0 · source§

fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
where +specified comparison function. Read more

1.0.0 · source§

fn rev(self) -> Rev<Self>
where + Self: Sized + DoubleEndedIterator,

Reverses an iterator’s direction. Read more
1.0.0 · source§

fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
where FromA: Default + Extend<A>, FromB: Default + Extend<B>, - Self: Sized + Iterator<Item = (A, B)>,

Converts an iterator of pairs into a pair of containers. Read more
1.36.0 · source§

fn copied<'a, T>(self) -> Copied<Self>
where + Self: Sized + Iterator<Item = (A, B)>,

Converts an iterator of pairs into a pair of containers. Read more
1.36.0 · source§

fn copied<'a, T>(self) -> Copied<Self>
where T: 'a + Copy, - Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which copies all of its elements. Read more
1.0.0 · source§

fn cloned<'a, T>(self) -> Cloned<Self>
where + Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which copies all of its elements. Read more
1.0.0 · source§

fn cloned<'a, T>(self) -> Cloned<Self>
where T: 'a + Clone, - Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which clones all of its elements. Read more
1.0.0 · source§

fn cycle(self) -> Cycle<Self>
where - Self: Sized + Clone,

Repeats an iterator endlessly. Read more
source§

fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
where - Self: Sized,

🔬This is a nightly-only experimental API. (iter_array_chunks)
Returns an iterator over N elements of the iterator at a time. Read more
1.11.0 · source§

fn sum<S>(self) -> S
where + Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which clones all of its elements. Read more
1.0.0 · source§

fn cycle(self) -> Cycle<Self>
where + Self: Sized + Clone,

Repeats an iterator endlessly. Read more
source§

fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
where + Self: Sized,

🔬This is a nightly-only experimental API. (iter_array_chunks)
Returns an iterator over N elements of the iterator at a time. Read more
1.11.0 · source§

fn sum<S>(self) -> S
where Self: Sized, - S: Sum<Self::Item>,

Sums the elements of an iterator. Read more
1.11.0 · source§

fn product<P>(self) -> P
where + S: Sum<Self::Item>,

Sums the elements of an iterator. Read more
1.11.0 · source§

fn product<P>(self) -> P
where Self: Sized, - P: Product<Self::Item>,

Iterates over the entire iterator, multiplying all the elements Read more
1.5.0 · source§

fn cmp<I>(self, other: I) -> Ordering
where + P: Product<Self::Item>,

Iterates over the entire iterator, multiplying all the elements Read more
1.5.0 · source§

fn cmp<I>(self, other: I) -> Ordering
where I: IntoIterator<Item = Self::Item>, Self::Item: Ord, Self: Sized,

Lexicographically compares the elements of this Iterator with those -of another. Read more
source§

fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
where +of another. Read more

source§

fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
where Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

🔬This is a nightly-only experimental API. (iter_order_by)
Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
1.5.0 · source§

fn partial_cmp<I>(self, other: I) -> Option<Ordering>
where +of another with respect to the specified comparison function. Read more

1.5.0 · source§

fn partial_cmp<I>(self, other: I) -> Option<Ordering>
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Lexicographically compares the PartialOrd elements of this Iterator with those of another. The comparison works like short-circuit evaluation, returning a result without comparing the remaining elements. -As soon as an order can be determined, the evaluation stops and a result is returned. Read more
source§

fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
where +As soon as an order can be determined, the evaluation stops and a result is returned. Read more

source§

fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
where Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

🔬This is a nightly-only experimental API. (iter_order_by)
Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
1.5.0 · source§

fn eq<I>(self, other: I) -> bool
where +of another with respect to the specified comparison function. Read more

1.5.0 · source§

fn eq<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialEq<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are equal to those of -another. Read more
source§

fn eq_by<I, F>(self, other: I, eq: F) -> bool
where +another. Read more

source§

fn eq_by<I, F>(self, other: I, eq: F) -> bool
where Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

🔬This is a nightly-only experimental API. (iter_order_by)
Determines if the elements of this Iterator are equal to those of -another with respect to the specified equality function. Read more
1.5.0 · source§

fn ne<I>(self, other: I) -> bool
where +another with respect to the specified equality function. Read more

1.5.0 · source§

fn ne<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialEq<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are not equal to those of -another. Read more
1.5.0 · source§

fn lt<I>(self, other: I) -> bool
where +another. Read more

1.5.0 · source§

fn lt<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -less than those of another. Read more
1.5.0 · source§

fn le<I>(self, other: I) -> bool
where +less than those of another. Read more

1.5.0 · source§

fn le<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -less or equal to those of another. Read more
1.5.0 · source§

fn gt<I>(self, other: I) -> bool
where +less or equal to those of another. Read more

1.5.0 · source§

fn gt<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -greater than those of another. Read more
1.5.0 · source§

fn ge<I>(self, other: I) -> bool
where +greater than those of another. Read more

1.5.0 · source§

fn ge<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -greater than or equal to those of another. Read more
source§

fn is_sorted(self) -> bool
where +greater than or equal to those of another. Read more

source§

fn is_sorted(self) -> bool
where Self: Sized, - Self::Item: PartialOrd,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted. Read more
source§

fn is_sorted_by<F>(self, compare: F) -> bool
where + Self::Item: PartialOrd,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted. Read more
source§

fn is_sorted_by<F>(self, compare: F) -> bool
where Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> bool,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given comparator function. Read more
source§

fn is_sorted_by_key<F, K>(self, f: F) -> bool
where + F: FnMut(&Self::Item, &Self::Item) -> bool,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given comparator function. Read more
source§

fn is_sorted_by_key<F, K>(self, f: F) -> bool
where Self: Sized, F: FnMut(Self::Item) -> K, K: PartialOrd,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given key extraction @@ -230,8 +230,8 @@ T: Iterator + Send, <T as Iterator>::Item: Send,
§

fn par_bridge(self) -> IterBridge<T>

Creates a bridge from this type to a ParallelIterator.
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/enums/struct.ComponentTriggerIter.html b/nightly/core/nautilus_common/enums/struct.ComponentTriggerIter.html index 17208b81fe3e..fc8628517b69 100644 --- a/nightly/core/nautilus_common/enums/struct.ComponentTriggerIter.html +++ b/nightly/core/nautilus_common/enums/struct.ComponentTriggerIter.html @@ -1,4 +1,4 @@ -ComponentTriggerIter in nautilus_common::enums - Rust +ComponentTriggerIter in nautilus_common::enums - Rust
pub struct ComponentTriggerIter { /* private fields */ }
Expand description

An iterator over the variants of ComponentTrigger

Trait Implementations§

source§

impl Clone for ComponentTriggerIter

source§

fn clone(&self) -> ComponentTriggerIter

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ComponentTriggerIter

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl DoubleEndedIterator for ComponentTriggerIter

source§

fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

Removes and returns an element from the end of the iterator. Read more
source§

fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator from the back by n elements. Read more
1.37.0 · source§

fn nth_back(&mut self, n: usize) -> Option<Self::Item>

Returns the nth element from the end of the iterator. Read more
1.27.0 · source§

fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
where Self: Sized, @@ -9,91 +9,91 @@ F: FnMut(B, Self::Item) -> B,

An iterator method that reduces the iterator’s elements to a single, final value, starting from the back. Read more
1.27.0 · source§

fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator from the back that satisfies a predicate. Read more
source§

impl ExactSizeIterator for ComponentTriggerIter

source§

fn len(&self) -> usize

Returns the exact remaining length of the iterator. Read more
source§

fn is_empty(&self) -> bool

🔬This is a nightly-only experimental API. (exact_size_is_empty)
Returns true if the iterator is empty. Read more
source§

impl Iterator for ComponentTriggerIter

§

type Item = ComponentTrigger

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<<Self as Iterator>::Item>

Advances the iterator and returns the next value. Read more
source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
source§

fn nth(&mut self, n: usize) -> Option<<Self as Iterator>::Item>

Returns the nth element of the iterator. Read more
source§

fn next_chunk<const N: usize>( + P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator from the back that satisfies a predicate. Read more
source§

impl ExactSizeIterator for ComponentTriggerIter

source§

fn len(&self) -> usize

Returns the exact remaining length of the iterator. Read more
source§

fn is_empty(&self) -> bool

🔬This is a nightly-only experimental API. (exact_size_is_empty)
Returns true if the iterator is empty. Read more
source§

impl Iterator for ComponentTriggerIter

§

type Item = ComponentTrigger

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<<Self as Iterator>::Item>

Advances the iterator and returns the next value. Read more
source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
source§

fn nth(&mut self, n: usize) -> Option<<Self as Iterator>::Item>

Returns the nth element of the iterator. Read more
source§

fn next_chunk<const N: usize>( &mut self ) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
where - Self: Sized,

🔬This is a nightly-only experimental API. (iter_next_chunk)
Advances the iterator and returns an array containing the next N values. Read more
1.0.0 · source§

fn count(self) -> usize
where - Self: Sized,

Consumes the iterator, counting the number of iterations and returning it. Read more
1.0.0 · source§

fn last(self) -> Option<Self::Item>
where - Self: Sized,

Consumes the iterator, returning the last element. Read more
source§

fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator by n elements. Read more
1.28.0 · source§

fn step_by(self, step: usize) -> StepBy<Self>
where + Self: Sized,

🔬This is a nightly-only experimental API. (iter_next_chunk)
Advances the iterator and returns an array containing the next N values. Read more
1.0.0 · source§

fn count(self) -> usize
where + Self: Sized,

Consumes the iterator, counting the number of iterations and returning it. Read more
1.0.0 · source§

fn last(self) -> Option<Self::Item>
where + Self: Sized,

Consumes the iterator, returning the last element. Read more
source§

fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator by n elements. Read more
1.28.0 · source§

fn step_by(self, step: usize) -> StepBy<Self>
where Self: Sized,

Creates an iterator starting at the same point, but stepping by -the given amount at each iteration. Read more
1.0.0 · source§

fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
where +the given amount at each iteration. Read more

1.0.0 · source§

fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
where Self: Sized, - U: IntoIterator<Item = Self::Item>,

Takes two iterators and creates a new iterator over both in sequence. Read more
1.0.0 · source§

fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
where + U: IntoIterator<Item = Self::Item>,

Takes two iterators and creates a new iterator over both in sequence. Read more
1.0.0 · source§

fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
where Self: Sized, - U: IntoIterator,

‘Zips up’ two iterators into a single iterator of pairs. Read more
source§

fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
where + U: IntoIterator,

‘Zips up’ two iterators into a single iterator of pairs. Read more
source§

fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
where Self: Sized, Self::Item: Clone,

🔬This is a nightly-only experimental API. (iter_intersperse)
Creates a new iterator which places a copy of separator between adjacent -items of the original iterator. Read more
source§

fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
where +items of the original iterator. Read more

source§

fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
where Self: Sized, G: FnMut() -> Self::Item,

🔬This is a nightly-only experimental API. (iter_intersperse)
Creates a new iterator which places an item generated by separator -between adjacent items of the original iterator. Read more
1.0.0 · source§

fn map<B, F>(self, f: F) -> Map<Self, F>
where +between adjacent items of the original iterator. Read more

1.0.0 · source§

fn map<B, F>(self, f: F) -> Map<Self, F>
where Self: Sized, F: FnMut(Self::Item) -> B,

Takes a closure and creates an iterator which calls that closure on each -element. Read more
1.21.0 · source§

fn for_each<F>(self, f: F)
where +element. Read more

1.21.0 · source§

fn for_each<F>(self, f: F)
where Self: Sized, - F: FnMut(Self::Item),

Calls a closure on each element of an iterator. Read more
1.0.0 · source§

fn filter<P>(self, predicate: P) -> Filter<Self, P>
where + F: FnMut(Self::Item),

Calls a closure on each element of an iterator. Read more
1.0.0 · source§

fn filter<P>(self, predicate: P) -> Filter<Self, P>
where Self: Sized, P: FnMut(&Self::Item) -> bool,

Creates an iterator which uses a closure to determine if an element -should be yielded. Read more
1.0.0 · source§

fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
where +should be yielded. Read more

1.0.0 · source§

fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
where Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both filters and maps. Read more
1.0.0 · source§

fn enumerate(self) -> Enumerate<Self>
where + F: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both filters and maps. Read more
1.0.0 · source§

fn enumerate(self) -> Enumerate<Self>
where Self: Sized,

Creates an iterator which gives the current iteration count as well as -the next value. Read more
1.0.0 · source§

fn peekable(self) -> Peekable<Self>
where +the next value. Read more

1.0.0 · source§

fn peekable(self) -> Peekable<Self>
where Self: Sized,

Creates an iterator which can use the peek and peek_mut methods to look at the next element of the iterator without consuming it. See -their documentation for more information. Read more
1.0.0 · source§

fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
where +their documentation for more information. Read more

1.0.0 · source§

fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Creates an iterator that skips elements based on a predicate. Read more
1.0.0 · source§

fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
where + P: FnMut(&Self::Item) -> bool,

Creates an iterator that skips elements based on a predicate. Read more
1.0.0 · source§

fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Creates an iterator that yields elements based on a predicate. Read more
1.57.0 · source§

fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
where + P: FnMut(&Self::Item) -> bool,

Creates an iterator that yields elements based on a predicate. Read more
1.57.0 · source§

fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
where Self: Sized, - P: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both yields elements based on a predicate and maps. Read more
1.0.0 · source§

fn skip(self, n: usize) -> Skip<Self>
where - Self: Sized,

Creates an iterator that skips the first n elements. Read more
1.0.0 · source§

fn take(self, n: usize) -> Take<Self>
where + P: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both yields elements based on a predicate and maps. Read more
1.0.0 · source§

fn skip(self, n: usize) -> Skip<Self>
where + Self: Sized,

Creates an iterator that skips the first n elements. Read more
1.0.0 · source§

fn take(self, n: usize) -> Take<Self>
where Self: Sized,

Creates an iterator that yields the first n elements, or fewer -if the underlying iterator ends sooner. Read more
1.0.0 · source§

fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
where +if the underlying iterator ends sooner. Read more

1.0.0 · source§

fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
where Self: Sized, F: FnMut(&mut St, Self::Item) -> Option<B>,

An iterator adapter which, like fold, holds internal state, but -unlike fold, produces a new iterator. Read more
1.0.0 · source§

fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
where +unlike fold, produces a new iterator. Read more

1.0.0 · source§

fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
where Self: Sized, U: IntoIterator, - F: FnMut(Self::Item) -> U,

Creates an iterator that works like map, but flattens nested structure. Read more
source§

fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
where + F: FnMut(Self::Item) -> U,

Creates an iterator that works like map, but flattens nested structure. Read more
source§

fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
where Self: Sized, F: FnMut(&[Self::Item; N]) -> R,

🔬This is a nightly-only experimental API. (iter_map_windows)
Calls the given function f for each contiguous window of size N over self and returns an iterator over the outputs of f. Like slice::windows(), -the windows during mapping overlap as well. Read more
1.0.0 · source§

fn fuse(self) -> Fuse<Self>
where - Self: Sized,

Creates an iterator which ends after the first None. Read more
1.0.0 · source§

fn inspect<F>(self, f: F) -> Inspect<Self, F>
where +the windows during mapping overlap as well. Read more

1.0.0 · source§

fn fuse(self) -> Fuse<Self>
where + Self: Sized,

Creates an iterator which ends after the first None. Read more
1.0.0 · source§

fn inspect<F>(self, f: F) -> Inspect<Self, F>
where Self: Sized, - F: FnMut(&Self::Item),

Does something with each element of an iterator, passing the value on. Read more
1.0.0 · source§

fn by_ref(&mut self) -> &mut Self
where - Self: Sized,

Borrows an iterator, rather than consuming it. Read more
1.0.0 · source§

fn collect<B>(self) -> B
where + F: FnMut(&Self::Item),

Does something with each element of an iterator, passing the value on. Read more
1.0.0 · source§

fn by_ref(&mut self) -> &mut Self
where + Self: Sized,

Borrows an iterator, rather than consuming it. Read more
1.0.0 · source§

fn collect<B>(self) -> B
where B: FromIterator<Self::Item>, - Self: Sized,

Transforms an iterator into a collection. Read more
source§

fn collect_into<E>(self, collection: &mut E) -> &mut E
where + Self: Sized,

Transforms an iterator into a collection. Read more
source§

fn collect_into<E>(self, collection: &mut E) -> &mut E
where E: Extend<Self::Item>, - Self: Sized,

🔬This is a nightly-only experimental API. (iter_collect_into)
Collects all the items from an iterator into a collection. Read more
1.0.0 · source§

fn partition<B, F>(self, f: F) -> (B, B)
where + Self: Sized,

🔬This is a nightly-only experimental API. (iter_collect_into)
Collects all the items from an iterator into a collection. Read more
1.0.0 · source§

fn partition<B, F>(self, f: F) -> (B, B)
where Self: Sized, B: Default + Extend<Self::Item>, - F: FnMut(&Self::Item) -> bool,

Consumes an iterator, creating two collections from it. Read more
source§

fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
where + F: FnMut(&Self::Item) -> bool,

Consumes an iterator, creating two collections from it. Read more
source§

fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
where T: 'a, Self: Sized + DoubleEndedIterator<Item = &'a mut T>, P: FnMut(&T) -> bool,

🔬This is a nightly-only experimental API. (iter_partition_in_place)
Reorders the elements of this iterator in-place according to the given predicate, such that all those that return true precede all those that return false. -Returns the number of true elements found. Read more
source§

fn is_partitioned<P>(self, predicate: P) -> bool
where +Returns the number of true elements found. Read more

source§

fn is_partitioned<P>(self, predicate: P) -> bool
where Self: Sized, P: FnMut(Self::Item) -> bool,

🔬This is a nightly-only experimental API. (iter_is_partitioned)
Checks if the elements of this iterator are partitioned according to the given predicate, -such that all those that return true precede all those that return false. Read more
1.27.0 · source§

fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
where +such that all those that return true precede all those that return false. Read more

1.27.0 · source§

fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
where Self: Sized, F: FnMut(B, Self::Item) -> R, R: Try<Output = B>,

An iterator method that applies a function as long as it returns -successfully, producing a single, final value. Read more
1.27.0 · source§

fn try_for_each<F, R>(&mut self, f: F) -> R
where +successfully, producing a single, final value. Read more

1.27.0 · source§

fn try_for_each<F, R>(&mut self, f: F) -> R
where Self: Sized, F: FnMut(Self::Item) -> R, R: Try<Output = ()>,

An iterator method that applies a fallible function to each item in the -iterator, stopping at the first error and returning that error. Read more
1.0.0 · source§

fn fold<B, F>(self, init: B, f: F) -> B
where +iterator, stopping at the first error and returning that error. Read more

1.0.0 · source§

fn fold<B, F>(self, init: B, f: F) -> B
where Self: Sized, F: FnMut(B, Self::Item) -> B,

Folds every element into an accumulator by applying an operation, -returning the final result. Read more
1.51.0 · source§

fn reduce<F>(self, f: F) -> Option<Self::Item>
where +returning the final result. Read more

1.51.0 · source§

fn reduce<F>(self, f: F) -> Option<Self::Item>
where Self: Sized, F: FnMut(Self::Item, Self::Item) -> Self::Item,

Reduces the elements to a single one, by repeatedly applying a reducing -operation. Read more
source§

fn try_reduce<F, R>( +operation. Read more

source§

fn try_reduce<F, R>( &mut self, f: F ) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
where @@ -101,16 +101,16 @@ F: FnMut(Self::Item, Self::Item) -> R, R: Try<Output = Self::Item>, <R as Try>::Residual: Residual<Option<Self::Item>>,

🔬This is a nightly-only experimental API. (iterator_try_reduce)
Reduces the elements to a single one by repeatedly applying a reducing operation. If the -closure returns a failure, the failure is propagated back to the caller immediately. Read more
1.0.0 · source§

fn all<F>(&mut self, f: F) -> bool
where +closure returns a failure, the failure is propagated back to the caller immediately. Read more

1.0.0 · source§

fn all<F>(&mut self, f: F) -> bool
where Self: Sized, - F: FnMut(Self::Item) -> bool,

Tests if every element of the iterator matches a predicate. Read more
1.0.0 · source§

fn any<F>(&mut self, f: F) -> bool
where + F: FnMut(Self::Item) -> bool,

Tests if every element of the iterator matches a predicate. Read more
1.0.0 · source§

fn any<F>(&mut self, f: F) -> bool
where Self: Sized, - F: FnMut(Self::Item) -> bool,

Tests if any element of the iterator matches a predicate. Read more
1.0.0 · source§

fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
where + F: FnMut(Self::Item) -> bool,

Tests if any element of the iterator matches a predicate. Read more
1.0.0 · source§

fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator that satisfies a predicate. Read more
1.30.0 · source§

fn find_map<B, F>(&mut self, f: F) -> Option<B>
where + P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator that satisfies a predicate. Read more
1.30.0 · source§

fn find_map<B, F>(&mut self, f: F) -> Option<B>
where Self: Sized, F: FnMut(Self::Item) -> Option<B>,

Applies function to the elements of iterator and returns -the first non-none result. Read more
source§

fn try_find<F, R>( +the first non-none result. Read more

source§

fn try_find<F, R>( &mut self, f: F ) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
where @@ -118,94 +118,94 @@ F: FnMut(&Self::Item) -> R, R: Try<Output = bool>, <R as Try>::Residual: Residual<Option<Self::Item>>,

🔬This is a nightly-only experimental API. (try_find)
Applies function to the elements of iterator and returns -the first true result or the first error. Read more
1.0.0 · source§

fn position<P>(&mut self, predicate: P) -> Option<usize>
where +the first true result or the first error. Read more

1.0.0 · source§

fn position<P>(&mut self, predicate: P) -> Option<usize>
where Self: Sized, - P: FnMut(Self::Item) -> bool,

Searches for an element in an iterator, returning its index. Read more
1.0.0 · source§

fn rposition<P>(&mut self, predicate: P) -> Option<usize>
where + P: FnMut(Self::Item) -> bool,

Searches for an element in an iterator, returning its index. Read more
1.0.0 · source§

fn rposition<P>(&mut self, predicate: P) -> Option<usize>
where P: FnMut(Self::Item) -> bool, Self: Sized + ExactSizeIterator + DoubleEndedIterator,

Searches for an element in an iterator from the right, returning its -index. Read more
1.0.0 · source§

fn max(self) -> Option<Self::Item>
where +index. Read more

1.0.0 · source§

fn max(self) -> Option<Self::Item>
where Self: Sized, - Self::Item: Ord,

Returns the maximum element of an iterator. Read more
1.0.0 · source§

fn min(self) -> Option<Self::Item>
where + Self::Item: Ord,

Returns the maximum element of an iterator. Read more
1.0.0 · source§

fn min(self) -> Option<Self::Item>
where Self: Sized, - Self::Item: Ord,

Returns the minimum element of an iterator. Read more
1.6.0 · source§

fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
where + Self::Item: Ord,

Returns the minimum element of an iterator. Read more
1.6.0 · source§

fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
where B: Ord, Self: Sized, F: FnMut(&Self::Item) -> B,

Returns the element that gives the maximum value from the -specified function. Read more
1.15.0 · source§

fn max_by<F>(self, compare: F) -> Option<Self::Item>
where +specified function. Read more

1.15.0 · source§

fn max_by<F>(self, compare: F) -> Option<Self::Item>
where Self: Sized, F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Returns the element that gives the maximum value with respect to the -specified comparison function. Read more
1.6.0 · source§

fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
where +specified comparison function. Read more

1.6.0 · source§

fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
where B: Ord, Self: Sized, F: FnMut(&Self::Item) -> B,

Returns the element that gives the minimum value from the -specified function. Read more
1.15.0 · source§

fn min_by<F>(self, compare: F) -> Option<Self::Item>
where +specified function. Read more

1.15.0 · source§

fn min_by<F>(self, compare: F) -> Option<Self::Item>
where Self: Sized, F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Returns the element that gives the minimum value with respect to the -specified comparison function. Read more
1.0.0 · source§

fn rev(self) -> Rev<Self>
where - Self: Sized + DoubleEndedIterator,

Reverses an iterator’s direction. Read more
1.0.0 · source§

fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
where +specified comparison function. Read more

1.0.0 · source§

fn rev(self) -> Rev<Self>
where + Self: Sized + DoubleEndedIterator,

Reverses an iterator’s direction. Read more
1.0.0 · source§

fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
where FromA: Default + Extend<A>, FromB: Default + Extend<B>, - Self: Sized + Iterator<Item = (A, B)>,

Converts an iterator of pairs into a pair of containers. Read more
1.36.0 · source§

fn copied<'a, T>(self) -> Copied<Self>
where + Self: Sized + Iterator<Item = (A, B)>,

Converts an iterator of pairs into a pair of containers. Read more
1.36.0 · source§

fn copied<'a, T>(self) -> Copied<Self>
where T: 'a + Copy, - Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which copies all of its elements. Read more
1.0.0 · source§

fn cloned<'a, T>(self) -> Cloned<Self>
where + Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which copies all of its elements. Read more
1.0.0 · source§

fn cloned<'a, T>(self) -> Cloned<Self>
where T: 'a + Clone, - Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which clones all of its elements. Read more
1.0.0 · source§

fn cycle(self) -> Cycle<Self>
where - Self: Sized + Clone,

Repeats an iterator endlessly. Read more
source§

fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
where - Self: Sized,

🔬This is a nightly-only experimental API. (iter_array_chunks)
Returns an iterator over N elements of the iterator at a time. Read more
1.11.0 · source§

fn sum<S>(self) -> S
where + Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which clones all of its elements. Read more
1.0.0 · source§

fn cycle(self) -> Cycle<Self>
where + Self: Sized + Clone,

Repeats an iterator endlessly. Read more
source§

fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
where + Self: Sized,

🔬This is a nightly-only experimental API. (iter_array_chunks)
Returns an iterator over N elements of the iterator at a time. Read more
1.11.0 · source§

fn sum<S>(self) -> S
where Self: Sized, - S: Sum<Self::Item>,

Sums the elements of an iterator. Read more
1.11.0 · source§

fn product<P>(self) -> P
where + S: Sum<Self::Item>,

Sums the elements of an iterator. Read more
1.11.0 · source§

fn product<P>(self) -> P
where Self: Sized, - P: Product<Self::Item>,

Iterates over the entire iterator, multiplying all the elements Read more
1.5.0 · source§

fn cmp<I>(self, other: I) -> Ordering
where + P: Product<Self::Item>,

Iterates over the entire iterator, multiplying all the elements Read more
1.5.0 · source§

fn cmp<I>(self, other: I) -> Ordering
where I: IntoIterator<Item = Self::Item>, Self::Item: Ord, Self: Sized,

Lexicographically compares the elements of this Iterator with those -of another. Read more
source§

fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
where +of another. Read more

source§

fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
where Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

🔬This is a nightly-only experimental API. (iter_order_by)
Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
1.5.0 · source§

fn partial_cmp<I>(self, other: I) -> Option<Ordering>
where +of another with respect to the specified comparison function. Read more

1.5.0 · source§

fn partial_cmp<I>(self, other: I) -> Option<Ordering>
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Lexicographically compares the PartialOrd elements of this Iterator with those of another. The comparison works like short-circuit evaluation, returning a result without comparing the remaining elements. -As soon as an order can be determined, the evaluation stops and a result is returned. Read more
source§

fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
where +As soon as an order can be determined, the evaluation stops and a result is returned. Read more

source§

fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
where Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

🔬This is a nightly-only experimental API. (iter_order_by)
Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
1.5.0 · source§

fn eq<I>(self, other: I) -> bool
where +of another with respect to the specified comparison function. Read more

1.5.0 · source§

fn eq<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialEq<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are equal to those of -another. Read more
source§

fn eq_by<I, F>(self, other: I, eq: F) -> bool
where +another. Read more

source§

fn eq_by<I, F>(self, other: I, eq: F) -> bool
where Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

🔬This is a nightly-only experimental API. (iter_order_by)
Determines if the elements of this Iterator are equal to those of -another with respect to the specified equality function. Read more
1.5.0 · source§

fn ne<I>(self, other: I) -> bool
where +another with respect to the specified equality function. Read more

1.5.0 · source§

fn ne<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialEq<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are not equal to those of -another. Read more
1.5.0 · source§

fn lt<I>(self, other: I) -> bool
where +another. Read more

1.5.0 · source§

fn lt<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -less than those of another. Read more
1.5.0 · source§

fn le<I>(self, other: I) -> bool
where +less than those of another. Read more

1.5.0 · source§

fn le<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -less or equal to those of another. Read more
1.5.0 · source§

fn gt<I>(self, other: I) -> bool
where +less or equal to those of another. Read more

1.5.0 · source§

fn gt<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -greater than those of another. Read more
1.5.0 · source§

fn ge<I>(self, other: I) -> bool
where +greater than those of another. Read more

1.5.0 · source§

fn ge<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -greater than or equal to those of another. Read more
source§

fn is_sorted(self) -> bool
where +greater than or equal to those of another. Read more

source§

fn is_sorted(self) -> bool
where Self: Sized, - Self::Item: PartialOrd,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted. Read more
source§

fn is_sorted_by<F>(self, compare: F) -> bool
where + Self::Item: PartialOrd,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted. Read more
source§

fn is_sorted_by<F>(self, compare: F) -> bool
where Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> bool,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given comparator function. Read more
source§

fn is_sorted_by_key<F, K>(self, f: F) -> bool
where + F: FnMut(&Self::Item, &Self::Item) -> bool,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given comparator function. Read more
source§

fn is_sorted_by_key<F, K>(self, f: F) -> bool
where Self: Sized, F: FnMut(Self::Item) -> K, K: PartialOrd,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given key extraction @@ -230,8 +230,8 @@ T: Iterator + Send, <T as Iterator>::Item: Send,
§

fn par_bridge(self) -> IterBridge<T>

Creates a bridge from this type to a ParallelIterator.
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/enums/struct.LogColorIter.html b/nightly/core/nautilus_common/enums/struct.LogColorIter.html index 1e3c20802858..48e71df160ee 100644 --- a/nightly/core/nautilus_common/enums/struct.LogColorIter.html +++ b/nightly/core/nautilus_common/enums/struct.LogColorIter.html @@ -1,4 +1,4 @@ -LogColorIter in nautilus_common::enums - Rust +LogColorIter in nautilus_common::enums - Rust
pub struct LogColorIter { /* private fields */ }
Expand description

An iterator over the variants of LogColor

Trait Implementations§

source§

impl Clone for LogColorIter

source§

fn clone(&self) -> LogColorIter

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LogColorIter

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl DoubleEndedIterator for LogColorIter

source§

fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

Removes and returns an element from the end of the iterator. Read more
source§

fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator from the back by n elements. Read more
1.37.0 · source§

fn nth_back(&mut self, n: usize) -> Option<Self::Item>

Returns the nth element from the end of the iterator. Read more
1.27.0 · source§

fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
where Self: Sized, @@ -9,91 +9,91 @@ F: FnMut(B, Self::Item) -> B,

An iterator method that reduces the iterator’s elements to a single, final value, starting from the back. Read more
1.27.0 · source§

fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator from the back that satisfies a predicate. Read more
source§

impl ExactSizeIterator for LogColorIter

source§

fn len(&self) -> usize

Returns the exact remaining length of the iterator. Read more
source§

fn is_empty(&self) -> bool

🔬This is a nightly-only experimental API. (exact_size_is_empty)
Returns true if the iterator is empty. Read more
source§

impl Iterator for LogColorIter

§

type Item = LogColor

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<<Self as Iterator>::Item>

Advances the iterator and returns the next value. Read more
source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
source§

fn nth(&mut self, n: usize) -> Option<<Self as Iterator>::Item>

Returns the nth element of the iterator. Read more
source§

fn next_chunk<const N: usize>( + P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator from the back that satisfies a predicate. Read more
source§

impl ExactSizeIterator for LogColorIter

source§

fn len(&self) -> usize

Returns the exact remaining length of the iterator. Read more
source§

fn is_empty(&self) -> bool

🔬This is a nightly-only experimental API. (exact_size_is_empty)
Returns true if the iterator is empty. Read more
source§

impl Iterator for LogColorIter

§

type Item = LogColor

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<<Self as Iterator>::Item>

Advances the iterator and returns the next value. Read more
source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
source§

fn nth(&mut self, n: usize) -> Option<<Self as Iterator>::Item>

Returns the nth element of the iterator. Read more
source§

fn next_chunk<const N: usize>( &mut self ) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
where - Self: Sized,

🔬This is a nightly-only experimental API. (iter_next_chunk)
Advances the iterator and returns an array containing the next N values. Read more
1.0.0 · source§

fn count(self) -> usize
where - Self: Sized,

Consumes the iterator, counting the number of iterations and returning it. Read more
1.0.0 · source§

fn last(self) -> Option<Self::Item>
where - Self: Sized,

Consumes the iterator, returning the last element. Read more
source§

fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator by n elements. Read more
1.28.0 · source§

fn step_by(self, step: usize) -> StepBy<Self>
where + Self: Sized,

🔬This is a nightly-only experimental API. (iter_next_chunk)
Advances the iterator and returns an array containing the next N values. Read more
1.0.0 · source§

fn count(self) -> usize
where + Self: Sized,

Consumes the iterator, counting the number of iterations and returning it. Read more
1.0.0 · source§

fn last(self) -> Option<Self::Item>
where + Self: Sized,

Consumes the iterator, returning the last element. Read more
source§

fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator by n elements. Read more
1.28.0 · source§

fn step_by(self, step: usize) -> StepBy<Self>
where Self: Sized,

Creates an iterator starting at the same point, but stepping by -the given amount at each iteration. Read more
1.0.0 · source§

fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
where +the given amount at each iteration. Read more

1.0.0 · source§

fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
where Self: Sized, - U: IntoIterator<Item = Self::Item>,

Takes two iterators and creates a new iterator over both in sequence. Read more
1.0.0 · source§

fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
where + U: IntoIterator<Item = Self::Item>,

Takes two iterators and creates a new iterator over both in sequence. Read more
1.0.0 · source§

fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
where Self: Sized, - U: IntoIterator,

‘Zips up’ two iterators into a single iterator of pairs. Read more
source§

fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
where + U: IntoIterator,

‘Zips up’ two iterators into a single iterator of pairs. Read more
source§

fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
where Self: Sized, Self::Item: Clone,

🔬This is a nightly-only experimental API. (iter_intersperse)
Creates a new iterator which places a copy of separator between adjacent -items of the original iterator. Read more
source§

fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
where +items of the original iterator. Read more

source§

fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
where Self: Sized, G: FnMut() -> Self::Item,

🔬This is a nightly-only experimental API. (iter_intersperse)
Creates a new iterator which places an item generated by separator -between adjacent items of the original iterator. Read more
1.0.0 · source§

fn map<B, F>(self, f: F) -> Map<Self, F>
where +between adjacent items of the original iterator. Read more

1.0.0 · source§

fn map<B, F>(self, f: F) -> Map<Self, F>
where Self: Sized, F: FnMut(Self::Item) -> B,

Takes a closure and creates an iterator which calls that closure on each -element. Read more
1.21.0 · source§

fn for_each<F>(self, f: F)
where +element. Read more

1.21.0 · source§

fn for_each<F>(self, f: F)
where Self: Sized, - F: FnMut(Self::Item),

Calls a closure on each element of an iterator. Read more
1.0.0 · source§

fn filter<P>(self, predicate: P) -> Filter<Self, P>
where + F: FnMut(Self::Item),

Calls a closure on each element of an iterator. Read more
1.0.0 · source§

fn filter<P>(self, predicate: P) -> Filter<Self, P>
where Self: Sized, P: FnMut(&Self::Item) -> bool,

Creates an iterator which uses a closure to determine if an element -should be yielded. Read more
1.0.0 · source§

fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
where +should be yielded. Read more

1.0.0 · source§

fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
where Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both filters and maps. Read more
1.0.0 · source§

fn enumerate(self) -> Enumerate<Self>
where + F: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both filters and maps. Read more
1.0.0 · source§

fn enumerate(self) -> Enumerate<Self>
where Self: Sized,

Creates an iterator which gives the current iteration count as well as -the next value. Read more
1.0.0 · source§

fn peekable(self) -> Peekable<Self>
where +the next value. Read more

1.0.0 · source§

fn peekable(self) -> Peekable<Self>
where Self: Sized,

Creates an iterator which can use the peek and peek_mut methods to look at the next element of the iterator without consuming it. See -their documentation for more information. Read more
1.0.0 · source§

fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
where +their documentation for more information. Read more

1.0.0 · source§

fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Creates an iterator that skips elements based on a predicate. Read more
1.0.0 · source§

fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
where + P: FnMut(&Self::Item) -> bool,

Creates an iterator that skips elements based on a predicate. Read more
1.0.0 · source§

fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Creates an iterator that yields elements based on a predicate. Read more
1.57.0 · source§

fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
where + P: FnMut(&Self::Item) -> bool,

Creates an iterator that yields elements based on a predicate. Read more
1.57.0 · source§

fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
where Self: Sized, - P: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both yields elements based on a predicate and maps. Read more
1.0.0 · source§

fn skip(self, n: usize) -> Skip<Self>
where - Self: Sized,

Creates an iterator that skips the first n elements. Read more
1.0.0 · source§

fn take(self, n: usize) -> Take<Self>
where + P: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both yields elements based on a predicate and maps. Read more
1.0.0 · source§

fn skip(self, n: usize) -> Skip<Self>
where + Self: Sized,

Creates an iterator that skips the first n elements. Read more
1.0.0 · source§

fn take(self, n: usize) -> Take<Self>
where Self: Sized,

Creates an iterator that yields the first n elements, or fewer -if the underlying iterator ends sooner. Read more
1.0.0 · source§

fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
where +if the underlying iterator ends sooner. Read more

1.0.0 · source§

fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
where Self: Sized, F: FnMut(&mut St, Self::Item) -> Option<B>,

An iterator adapter which, like fold, holds internal state, but -unlike fold, produces a new iterator. Read more
1.0.0 · source§

fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
where +unlike fold, produces a new iterator. Read more

1.0.0 · source§

fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
where Self: Sized, U: IntoIterator, - F: FnMut(Self::Item) -> U,

Creates an iterator that works like map, but flattens nested structure. Read more
source§

fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
where + F: FnMut(Self::Item) -> U,

Creates an iterator that works like map, but flattens nested structure. Read more
source§

fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
where Self: Sized, F: FnMut(&[Self::Item; N]) -> R,

🔬This is a nightly-only experimental API. (iter_map_windows)
Calls the given function f for each contiguous window of size N over self and returns an iterator over the outputs of f. Like slice::windows(), -the windows during mapping overlap as well. Read more
1.0.0 · source§

fn fuse(self) -> Fuse<Self>
where - Self: Sized,

Creates an iterator which ends after the first None. Read more
1.0.0 · source§

fn inspect<F>(self, f: F) -> Inspect<Self, F>
where +the windows during mapping overlap as well. Read more

1.0.0 · source§

fn fuse(self) -> Fuse<Self>
where + Self: Sized,

Creates an iterator which ends after the first None. Read more
1.0.0 · source§

fn inspect<F>(self, f: F) -> Inspect<Self, F>
where Self: Sized, - F: FnMut(&Self::Item),

Does something with each element of an iterator, passing the value on. Read more
1.0.0 · source§

fn by_ref(&mut self) -> &mut Self
where - Self: Sized,

Borrows an iterator, rather than consuming it. Read more
1.0.0 · source§

fn collect<B>(self) -> B
where + F: FnMut(&Self::Item),

Does something with each element of an iterator, passing the value on. Read more
1.0.0 · source§

fn by_ref(&mut self) -> &mut Self
where + Self: Sized,

Borrows an iterator, rather than consuming it. Read more
1.0.0 · source§

fn collect<B>(self) -> B
where B: FromIterator<Self::Item>, - Self: Sized,

Transforms an iterator into a collection. Read more
source§

fn collect_into<E>(self, collection: &mut E) -> &mut E
where + Self: Sized,

Transforms an iterator into a collection. Read more
source§

fn collect_into<E>(self, collection: &mut E) -> &mut E
where E: Extend<Self::Item>, - Self: Sized,

🔬This is a nightly-only experimental API. (iter_collect_into)
Collects all the items from an iterator into a collection. Read more
1.0.0 · source§

fn partition<B, F>(self, f: F) -> (B, B)
where + Self: Sized,

🔬This is a nightly-only experimental API. (iter_collect_into)
Collects all the items from an iterator into a collection. Read more
1.0.0 · source§

fn partition<B, F>(self, f: F) -> (B, B)
where Self: Sized, B: Default + Extend<Self::Item>, - F: FnMut(&Self::Item) -> bool,

Consumes an iterator, creating two collections from it. Read more
source§

fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
where + F: FnMut(&Self::Item) -> bool,

Consumes an iterator, creating two collections from it. Read more
source§

fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
where T: 'a, Self: Sized + DoubleEndedIterator<Item = &'a mut T>, P: FnMut(&T) -> bool,

🔬This is a nightly-only experimental API. (iter_partition_in_place)
Reorders the elements of this iterator in-place according to the given predicate, such that all those that return true precede all those that return false. -Returns the number of true elements found. Read more
source§

fn is_partitioned<P>(self, predicate: P) -> bool
where +Returns the number of true elements found. Read more

source§

fn is_partitioned<P>(self, predicate: P) -> bool
where Self: Sized, P: FnMut(Self::Item) -> bool,

🔬This is a nightly-only experimental API. (iter_is_partitioned)
Checks if the elements of this iterator are partitioned according to the given predicate, -such that all those that return true precede all those that return false. Read more
1.27.0 · source§

fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
where +such that all those that return true precede all those that return false. Read more

1.27.0 · source§

fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
where Self: Sized, F: FnMut(B, Self::Item) -> R, R: Try<Output = B>,

An iterator method that applies a function as long as it returns -successfully, producing a single, final value. Read more
1.27.0 · source§

fn try_for_each<F, R>(&mut self, f: F) -> R
where +successfully, producing a single, final value. Read more

1.27.0 · source§

fn try_for_each<F, R>(&mut self, f: F) -> R
where Self: Sized, F: FnMut(Self::Item) -> R, R: Try<Output = ()>,

An iterator method that applies a fallible function to each item in the -iterator, stopping at the first error and returning that error. Read more
1.0.0 · source§

fn fold<B, F>(self, init: B, f: F) -> B
where +iterator, stopping at the first error and returning that error. Read more

1.0.0 · source§

fn fold<B, F>(self, init: B, f: F) -> B
where Self: Sized, F: FnMut(B, Self::Item) -> B,

Folds every element into an accumulator by applying an operation, -returning the final result. Read more
1.51.0 · source§

fn reduce<F>(self, f: F) -> Option<Self::Item>
where +returning the final result. Read more

1.51.0 · source§

fn reduce<F>(self, f: F) -> Option<Self::Item>
where Self: Sized, F: FnMut(Self::Item, Self::Item) -> Self::Item,

Reduces the elements to a single one, by repeatedly applying a reducing -operation. Read more
source§

fn try_reduce<F, R>( +operation. Read more

source§

fn try_reduce<F, R>( &mut self, f: F ) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
where @@ -101,16 +101,16 @@ F: FnMut(Self::Item, Self::Item) -> R, R: Try<Output = Self::Item>, <R as Try>::Residual: Residual<Option<Self::Item>>,

🔬This is a nightly-only experimental API. (iterator_try_reduce)
Reduces the elements to a single one by repeatedly applying a reducing operation. If the -closure returns a failure, the failure is propagated back to the caller immediately. Read more
1.0.0 · source§

fn all<F>(&mut self, f: F) -> bool
where +closure returns a failure, the failure is propagated back to the caller immediately. Read more

1.0.0 · source§

fn all<F>(&mut self, f: F) -> bool
where Self: Sized, - F: FnMut(Self::Item) -> bool,

Tests if every element of the iterator matches a predicate. Read more
1.0.0 · source§

fn any<F>(&mut self, f: F) -> bool
where + F: FnMut(Self::Item) -> bool,

Tests if every element of the iterator matches a predicate. Read more
1.0.0 · source§

fn any<F>(&mut self, f: F) -> bool
where Self: Sized, - F: FnMut(Self::Item) -> bool,

Tests if any element of the iterator matches a predicate. Read more
1.0.0 · source§

fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
where + F: FnMut(Self::Item) -> bool,

Tests if any element of the iterator matches a predicate. Read more
1.0.0 · source§

fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator that satisfies a predicate. Read more
1.30.0 · source§

fn find_map<B, F>(&mut self, f: F) -> Option<B>
where + P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator that satisfies a predicate. Read more
1.30.0 · source§

fn find_map<B, F>(&mut self, f: F) -> Option<B>
where Self: Sized, F: FnMut(Self::Item) -> Option<B>,

Applies function to the elements of iterator and returns -the first non-none result. Read more
source§

fn try_find<F, R>( +the first non-none result. Read more

source§

fn try_find<F, R>( &mut self, f: F ) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
where @@ -118,94 +118,94 @@ F: FnMut(&Self::Item) -> R, R: Try<Output = bool>, <R as Try>::Residual: Residual<Option<Self::Item>>,

🔬This is a nightly-only experimental API. (try_find)
Applies function to the elements of iterator and returns -the first true result or the first error. Read more
1.0.0 · source§

fn position<P>(&mut self, predicate: P) -> Option<usize>
where +the first true result or the first error. Read more

1.0.0 · source§

fn position<P>(&mut self, predicate: P) -> Option<usize>
where Self: Sized, - P: FnMut(Self::Item) -> bool,

Searches for an element in an iterator, returning its index. Read more
1.0.0 · source§

fn rposition<P>(&mut self, predicate: P) -> Option<usize>
where + P: FnMut(Self::Item) -> bool,

Searches for an element in an iterator, returning its index. Read more
1.0.0 · source§

fn rposition<P>(&mut self, predicate: P) -> Option<usize>
where P: FnMut(Self::Item) -> bool, Self: Sized + ExactSizeIterator + DoubleEndedIterator,

Searches for an element in an iterator from the right, returning its -index. Read more
1.0.0 · source§

fn max(self) -> Option<Self::Item>
where +index. Read more

1.0.0 · source§

fn max(self) -> Option<Self::Item>
where Self: Sized, - Self::Item: Ord,

Returns the maximum element of an iterator. Read more
1.0.0 · source§

fn min(self) -> Option<Self::Item>
where + Self::Item: Ord,

Returns the maximum element of an iterator. Read more
1.0.0 · source§

fn min(self) -> Option<Self::Item>
where Self: Sized, - Self::Item: Ord,

Returns the minimum element of an iterator. Read more
1.6.0 · source§

fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
where + Self::Item: Ord,

Returns the minimum element of an iterator. Read more
1.6.0 · source§

fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
where B: Ord, Self: Sized, F: FnMut(&Self::Item) -> B,

Returns the element that gives the maximum value from the -specified function. Read more
1.15.0 · source§

fn max_by<F>(self, compare: F) -> Option<Self::Item>
where +specified function. Read more

1.15.0 · source§

fn max_by<F>(self, compare: F) -> Option<Self::Item>
where Self: Sized, F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Returns the element that gives the maximum value with respect to the -specified comparison function. Read more
1.6.0 · source§

fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
where +specified comparison function. Read more

1.6.0 · source§

fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
where B: Ord, Self: Sized, F: FnMut(&Self::Item) -> B,

Returns the element that gives the minimum value from the -specified function. Read more
1.15.0 · source§

fn min_by<F>(self, compare: F) -> Option<Self::Item>
where +specified function. Read more

1.15.0 · source§

fn min_by<F>(self, compare: F) -> Option<Self::Item>
where Self: Sized, F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Returns the element that gives the minimum value with respect to the -specified comparison function. Read more
1.0.0 · source§

fn rev(self) -> Rev<Self>
where - Self: Sized + DoubleEndedIterator,

Reverses an iterator’s direction. Read more
1.0.0 · source§

fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
where +specified comparison function. Read more

1.0.0 · source§

fn rev(self) -> Rev<Self>
where + Self: Sized + DoubleEndedIterator,

Reverses an iterator’s direction. Read more
1.0.0 · source§

fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
where FromA: Default + Extend<A>, FromB: Default + Extend<B>, - Self: Sized + Iterator<Item = (A, B)>,

Converts an iterator of pairs into a pair of containers. Read more
1.36.0 · source§

fn copied<'a, T>(self) -> Copied<Self>
where + Self: Sized + Iterator<Item = (A, B)>,

Converts an iterator of pairs into a pair of containers. Read more
1.36.0 · source§

fn copied<'a, T>(self) -> Copied<Self>
where T: 'a + Copy, - Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which copies all of its elements. Read more
1.0.0 · source§

fn cloned<'a, T>(self) -> Cloned<Self>
where + Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which copies all of its elements. Read more
1.0.0 · source§

fn cloned<'a, T>(self) -> Cloned<Self>
where T: 'a + Clone, - Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which clones all of its elements. Read more
1.0.0 · source§

fn cycle(self) -> Cycle<Self>
where - Self: Sized + Clone,

Repeats an iterator endlessly. Read more
source§

fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
where - Self: Sized,

🔬This is a nightly-only experimental API. (iter_array_chunks)
Returns an iterator over N elements of the iterator at a time. Read more
1.11.0 · source§

fn sum<S>(self) -> S
where + Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which clones all of its elements. Read more
1.0.0 · source§

fn cycle(self) -> Cycle<Self>
where + Self: Sized + Clone,

Repeats an iterator endlessly. Read more
source§

fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
where + Self: Sized,

🔬This is a nightly-only experimental API. (iter_array_chunks)
Returns an iterator over N elements of the iterator at a time. Read more
1.11.0 · source§

fn sum<S>(self) -> S
where Self: Sized, - S: Sum<Self::Item>,

Sums the elements of an iterator. Read more
1.11.0 · source§

fn product<P>(self) -> P
where + S: Sum<Self::Item>,

Sums the elements of an iterator. Read more
1.11.0 · source§

fn product<P>(self) -> P
where Self: Sized, - P: Product<Self::Item>,

Iterates over the entire iterator, multiplying all the elements Read more
1.5.0 · source§

fn cmp<I>(self, other: I) -> Ordering
where + P: Product<Self::Item>,

Iterates over the entire iterator, multiplying all the elements Read more
1.5.0 · source§

fn cmp<I>(self, other: I) -> Ordering
where I: IntoIterator<Item = Self::Item>, Self::Item: Ord, Self: Sized,

Lexicographically compares the elements of this Iterator with those -of another. Read more
source§

fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
where +of another. Read more

source§

fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
where Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

🔬This is a nightly-only experimental API. (iter_order_by)
Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
1.5.0 · source§

fn partial_cmp<I>(self, other: I) -> Option<Ordering>
where +of another with respect to the specified comparison function. Read more

1.5.0 · source§

fn partial_cmp<I>(self, other: I) -> Option<Ordering>
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Lexicographically compares the PartialOrd elements of this Iterator with those of another. The comparison works like short-circuit evaluation, returning a result without comparing the remaining elements. -As soon as an order can be determined, the evaluation stops and a result is returned. Read more
source§

fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
where +As soon as an order can be determined, the evaluation stops and a result is returned. Read more

source§

fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
where Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

🔬This is a nightly-only experimental API. (iter_order_by)
Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
1.5.0 · source§

fn eq<I>(self, other: I) -> bool
where +of another with respect to the specified comparison function. Read more

1.5.0 · source§

fn eq<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialEq<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are equal to those of -another. Read more
source§

fn eq_by<I, F>(self, other: I, eq: F) -> bool
where +another. Read more

source§

fn eq_by<I, F>(self, other: I, eq: F) -> bool
where Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

🔬This is a nightly-only experimental API. (iter_order_by)
Determines if the elements of this Iterator are equal to those of -another with respect to the specified equality function. Read more
1.5.0 · source§

fn ne<I>(self, other: I) -> bool
where +another with respect to the specified equality function. Read more

1.5.0 · source§

fn ne<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialEq<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are not equal to those of -another. Read more
1.5.0 · source§

fn lt<I>(self, other: I) -> bool
where +another. Read more

1.5.0 · source§

fn lt<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -less than those of another. Read more
1.5.0 · source§

fn le<I>(self, other: I) -> bool
where +less than those of another. Read more

1.5.0 · source§

fn le<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -less or equal to those of another. Read more
1.5.0 · source§

fn gt<I>(self, other: I) -> bool
where +less or equal to those of another. Read more

1.5.0 · source§

fn gt<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -greater than those of another. Read more
1.5.0 · source§

fn ge<I>(self, other: I) -> bool
where +greater than those of another. Read more

1.5.0 · source§

fn ge<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -greater than or equal to those of another. Read more
source§

fn is_sorted(self) -> bool
where +greater than or equal to those of another. Read more

source§

fn is_sorted(self) -> bool
where Self: Sized, - Self::Item: PartialOrd,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted. Read more
source§

fn is_sorted_by<F>(self, compare: F) -> bool
where + Self::Item: PartialOrd,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted. Read more
source§

fn is_sorted_by<F>(self, compare: F) -> bool
where Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> bool,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given comparator function. Read more
source§

fn is_sorted_by_key<F, K>(self, f: F) -> bool
where + F: FnMut(&Self::Item, &Self::Item) -> bool,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given comparator function. Read more
source§

fn is_sorted_by_key<F, K>(self, f: F) -> bool
where Self: Sized, F: FnMut(Self::Item) -> K, K: PartialOrd,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given key extraction @@ -230,8 +230,8 @@ T: Iterator + Send, <T as Iterator>::Item: Send,
§

fn par_bridge(self) -> IterBridge<T>

Creates a bridge from this type to a ParallelIterator.
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/enums/struct.LogLevelIter.html b/nightly/core/nautilus_common/enums/struct.LogLevelIter.html index cd89d84708ea..8856f3fa7a79 100644 --- a/nightly/core/nautilus_common/enums/struct.LogLevelIter.html +++ b/nightly/core/nautilus_common/enums/struct.LogLevelIter.html @@ -1,4 +1,4 @@ -LogLevelIter in nautilus_common::enums - Rust +LogLevelIter in nautilus_common::enums - Rust
pub struct LogLevelIter { /* private fields */ }
Expand description

An iterator over the variants of LogLevel

Trait Implementations§

source§

impl Clone for LogLevelIter

source§

fn clone(&self) -> LogLevelIter

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LogLevelIter

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl DoubleEndedIterator for LogLevelIter

source§

fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

Removes and returns an element from the end of the iterator. Read more
source§

fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator from the back by n elements. Read more
1.37.0 · source§

fn nth_back(&mut self, n: usize) -> Option<Self::Item>

Returns the nth element from the end of the iterator. Read more
1.27.0 · source§

fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
where Self: Sized, @@ -9,91 +9,91 @@ F: FnMut(B, Self::Item) -> B,

An iterator method that reduces the iterator’s elements to a single, final value, starting from the back. Read more
1.27.0 · source§

fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator from the back that satisfies a predicate. Read more
source§

impl ExactSizeIterator for LogLevelIter

source§

fn len(&self) -> usize

Returns the exact remaining length of the iterator. Read more
source§

fn is_empty(&self) -> bool

🔬This is a nightly-only experimental API. (exact_size_is_empty)
Returns true if the iterator is empty. Read more
source§

impl Iterator for LogLevelIter

§

type Item = LogLevel

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<<Self as Iterator>::Item>

Advances the iterator and returns the next value. Read more
source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
source§

fn nth(&mut self, n: usize) -> Option<<Self as Iterator>::Item>

Returns the nth element of the iterator. Read more
source§

fn next_chunk<const N: usize>( + P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator from the back that satisfies a predicate. Read more
source§

impl ExactSizeIterator for LogLevelIter

source§

fn len(&self) -> usize

Returns the exact remaining length of the iterator. Read more
source§

fn is_empty(&self) -> bool

🔬This is a nightly-only experimental API. (exact_size_is_empty)
Returns true if the iterator is empty. Read more
source§

impl Iterator for LogLevelIter

§

type Item = LogLevel

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<<Self as Iterator>::Item>

Advances the iterator and returns the next value. Read more
source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
source§

fn nth(&mut self, n: usize) -> Option<<Self as Iterator>::Item>

Returns the nth element of the iterator. Read more
source§

fn next_chunk<const N: usize>( &mut self ) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
where - Self: Sized,

🔬This is a nightly-only experimental API. (iter_next_chunk)
Advances the iterator and returns an array containing the next N values. Read more
1.0.0 · source§

fn count(self) -> usize
where - Self: Sized,

Consumes the iterator, counting the number of iterations and returning it. Read more
1.0.0 · source§

fn last(self) -> Option<Self::Item>
where - Self: Sized,

Consumes the iterator, returning the last element. Read more
source§

fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator by n elements. Read more
1.28.0 · source§

fn step_by(self, step: usize) -> StepBy<Self>
where + Self: Sized,

🔬This is a nightly-only experimental API. (iter_next_chunk)
Advances the iterator and returns an array containing the next N values. Read more
1.0.0 · source§

fn count(self) -> usize
where + Self: Sized,

Consumes the iterator, counting the number of iterations and returning it. Read more
1.0.0 · source§

fn last(self) -> Option<Self::Item>
where + Self: Sized,

Consumes the iterator, returning the last element. Read more
source§

fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator by n elements. Read more
1.28.0 · source§

fn step_by(self, step: usize) -> StepBy<Self>
where Self: Sized,

Creates an iterator starting at the same point, but stepping by -the given amount at each iteration. Read more
1.0.0 · source§

fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
where +the given amount at each iteration. Read more

1.0.0 · source§

fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
where Self: Sized, - U: IntoIterator<Item = Self::Item>,

Takes two iterators and creates a new iterator over both in sequence. Read more
1.0.0 · source§

fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
where + U: IntoIterator<Item = Self::Item>,

Takes two iterators and creates a new iterator over both in sequence. Read more
1.0.0 · source§

fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
where Self: Sized, - U: IntoIterator,

‘Zips up’ two iterators into a single iterator of pairs. Read more
source§

fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
where + U: IntoIterator,

‘Zips up’ two iterators into a single iterator of pairs. Read more
source§

fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
where Self: Sized, Self::Item: Clone,

🔬This is a nightly-only experimental API. (iter_intersperse)
Creates a new iterator which places a copy of separator between adjacent -items of the original iterator. Read more
source§

fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
where +items of the original iterator. Read more

source§

fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
where Self: Sized, G: FnMut() -> Self::Item,

🔬This is a nightly-only experimental API. (iter_intersperse)
Creates a new iterator which places an item generated by separator -between adjacent items of the original iterator. Read more
1.0.0 · source§

fn map<B, F>(self, f: F) -> Map<Self, F>
where +between adjacent items of the original iterator. Read more

1.0.0 · source§

fn map<B, F>(self, f: F) -> Map<Self, F>
where Self: Sized, F: FnMut(Self::Item) -> B,

Takes a closure and creates an iterator which calls that closure on each -element. Read more
1.21.0 · source§

fn for_each<F>(self, f: F)
where +element. Read more

1.21.0 · source§

fn for_each<F>(self, f: F)
where Self: Sized, - F: FnMut(Self::Item),

Calls a closure on each element of an iterator. Read more
1.0.0 · source§

fn filter<P>(self, predicate: P) -> Filter<Self, P>
where + F: FnMut(Self::Item),

Calls a closure on each element of an iterator. Read more
1.0.0 · source§

fn filter<P>(self, predicate: P) -> Filter<Self, P>
where Self: Sized, P: FnMut(&Self::Item) -> bool,

Creates an iterator which uses a closure to determine if an element -should be yielded. Read more
1.0.0 · source§

fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
where +should be yielded. Read more

1.0.0 · source§

fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
where Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both filters and maps. Read more
1.0.0 · source§

fn enumerate(self) -> Enumerate<Self>
where + F: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both filters and maps. Read more
1.0.0 · source§

fn enumerate(self) -> Enumerate<Self>
where Self: Sized,

Creates an iterator which gives the current iteration count as well as -the next value. Read more
1.0.0 · source§

fn peekable(self) -> Peekable<Self>
where +the next value. Read more

1.0.0 · source§

fn peekable(self) -> Peekable<Self>
where Self: Sized,

Creates an iterator which can use the peek and peek_mut methods to look at the next element of the iterator without consuming it. See -their documentation for more information. Read more
1.0.0 · source§

fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
where +their documentation for more information. Read more

1.0.0 · source§

fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Creates an iterator that skips elements based on a predicate. Read more
1.0.0 · source§

fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
where + P: FnMut(&Self::Item) -> bool,

Creates an iterator that skips elements based on a predicate. Read more
1.0.0 · source§

fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Creates an iterator that yields elements based on a predicate. Read more
1.57.0 · source§

fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
where + P: FnMut(&Self::Item) -> bool,

Creates an iterator that yields elements based on a predicate. Read more
1.57.0 · source§

fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
where Self: Sized, - P: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both yields elements based on a predicate and maps. Read more
1.0.0 · source§

fn skip(self, n: usize) -> Skip<Self>
where - Self: Sized,

Creates an iterator that skips the first n elements. Read more
1.0.0 · source§

fn take(self, n: usize) -> Take<Self>
where + P: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both yields elements based on a predicate and maps. Read more
1.0.0 · source§

fn skip(self, n: usize) -> Skip<Self>
where + Self: Sized,

Creates an iterator that skips the first n elements. Read more
1.0.0 · source§

fn take(self, n: usize) -> Take<Self>
where Self: Sized,

Creates an iterator that yields the first n elements, or fewer -if the underlying iterator ends sooner. Read more
1.0.0 · source§

fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
where +if the underlying iterator ends sooner. Read more

1.0.0 · source§

fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
where Self: Sized, F: FnMut(&mut St, Self::Item) -> Option<B>,

An iterator adapter which, like fold, holds internal state, but -unlike fold, produces a new iterator. Read more
1.0.0 · source§

fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
where +unlike fold, produces a new iterator. Read more

1.0.0 · source§

fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
where Self: Sized, U: IntoIterator, - F: FnMut(Self::Item) -> U,

Creates an iterator that works like map, but flattens nested structure. Read more
source§

fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
where + F: FnMut(Self::Item) -> U,

Creates an iterator that works like map, but flattens nested structure. Read more
source§

fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
where Self: Sized, F: FnMut(&[Self::Item; N]) -> R,

🔬This is a nightly-only experimental API. (iter_map_windows)
Calls the given function f for each contiguous window of size N over self and returns an iterator over the outputs of f. Like slice::windows(), -the windows during mapping overlap as well. Read more
1.0.0 · source§

fn fuse(self) -> Fuse<Self>
where - Self: Sized,

Creates an iterator which ends after the first None. Read more
1.0.0 · source§

fn inspect<F>(self, f: F) -> Inspect<Self, F>
where +the windows during mapping overlap as well. Read more

1.0.0 · source§

fn fuse(self) -> Fuse<Self>
where + Self: Sized,

Creates an iterator which ends after the first None. Read more
1.0.0 · source§

fn inspect<F>(self, f: F) -> Inspect<Self, F>
where Self: Sized, - F: FnMut(&Self::Item),

Does something with each element of an iterator, passing the value on. Read more
1.0.0 · source§

fn by_ref(&mut self) -> &mut Self
where - Self: Sized,

Borrows an iterator, rather than consuming it. Read more
1.0.0 · source§

fn collect<B>(self) -> B
where + F: FnMut(&Self::Item),

Does something with each element of an iterator, passing the value on. Read more
1.0.0 · source§

fn by_ref(&mut self) -> &mut Self
where + Self: Sized,

Borrows an iterator, rather than consuming it. Read more
1.0.0 · source§

fn collect<B>(self) -> B
where B: FromIterator<Self::Item>, - Self: Sized,

Transforms an iterator into a collection. Read more
source§

fn collect_into<E>(self, collection: &mut E) -> &mut E
where + Self: Sized,

Transforms an iterator into a collection. Read more
source§

fn collect_into<E>(self, collection: &mut E) -> &mut E
where E: Extend<Self::Item>, - Self: Sized,

🔬This is a nightly-only experimental API. (iter_collect_into)
Collects all the items from an iterator into a collection. Read more
1.0.0 · source§

fn partition<B, F>(self, f: F) -> (B, B)
where + Self: Sized,

🔬This is a nightly-only experimental API. (iter_collect_into)
Collects all the items from an iterator into a collection. Read more
1.0.0 · source§

fn partition<B, F>(self, f: F) -> (B, B)
where Self: Sized, B: Default + Extend<Self::Item>, - F: FnMut(&Self::Item) -> bool,

Consumes an iterator, creating two collections from it. Read more
source§

fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
where + F: FnMut(&Self::Item) -> bool,

Consumes an iterator, creating two collections from it. Read more
source§

fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
where T: 'a, Self: Sized + DoubleEndedIterator<Item = &'a mut T>, P: FnMut(&T) -> bool,

🔬This is a nightly-only experimental API. (iter_partition_in_place)
Reorders the elements of this iterator in-place according to the given predicate, such that all those that return true precede all those that return false. -Returns the number of true elements found. Read more
source§

fn is_partitioned<P>(self, predicate: P) -> bool
where +Returns the number of true elements found. Read more

source§

fn is_partitioned<P>(self, predicate: P) -> bool
where Self: Sized, P: FnMut(Self::Item) -> bool,

🔬This is a nightly-only experimental API. (iter_is_partitioned)
Checks if the elements of this iterator are partitioned according to the given predicate, -such that all those that return true precede all those that return false. Read more
1.27.0 · source§

fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
where +such that all those that return true precede all those that return false. Read more

1.27.0 · source§

fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
where Self: Sized, F: FnMut(B, Self::Item) -> R, R: Try<Output = B>,

An iterator method that applies a function as long as it returns -successfully, producing a single, final value. Read more
1.27.0 · source§

fn try_for_each<F, R>(&mut self, f: F) -> R
where +successfully, producing a single, final value. Read more

1.27.0 · source§

fn try_for_each<F, R>(&mut self, f: F) -> R
where Self: Sized, F: FnMut(Self::Item) -> R, R: Try<Output = ()>,

An iterator method that applies a fallible function to each item in the -iterator, stopping at the first error and returning that error. Read more
1.0.0 · source§

fn fold<B, F>(self, init: B, f: F) -> B
where +iterator, stopping at the first error and returning that error. Read more

1.0.0 · source§

fn fold<B, F>(self, init: B, f: F) -> B
where Self: Sized, F: FnMut(B, Self::Item) -> B,

Folds every element into an accumulator by applying an operation, -returning the final result. Read more
1.51.0 · source§

fn reduce<F>(self, f: F) -> Option<Self::Item>
where +returning the final result. Read more

1.51.0 · source§

fn reduce<F>(self, f: F) -> Option<Self::Item>
where Self: Sized, F: FnMut(Self::Item, Self::Item) -> Self::Item,

Reduces the elements to a single one, by repeatedly applying a reducing -operation. Read more
source§

fn try_reduce<F, R>( +operation. Read more

source§

fn try_reduce<F, R>( &mut self, f: F ) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
where @@ -101,16 +101,16 @@ F: FnMut(Self::Item, Self::Item) -> R, R: Try<Output = Self::Item>, <R as Try>::Residual: Residual<Option<Self::Item>>,

🔬This is a nightly-only experimental API. (iterator_try_reduce)
Reduces the elements to a single one by repeatedly applying a reducing operation. If the -closure returns a failure, the failure is propagated back to the caller immediately. Read more
1.0.0 · source§

fn all<F>(&mut self, f: F) -> bool
where +closure returns a failure, the failure is propagated back to the caller immediately. Read more

1.0.0 · source§

fn all<F>(&mut self, f: F) -> bool
where Self: Sized, - F: FnMut(Self::Item) -> bool,

Tests if every element of the iterator matches a predicate. Read more
1.0.0 · source§

fn any<F>(&mut self, f: F) -> bool
where + F: FnMut(Self::Item) -> bool,

Tests if every element of the iterator matches a predicate. Read more
1.0.0 · source§

fn any<F>(&mut self, f: F) -> bool
where Self: Sized, - F: FnMut(Self::Item) -> bool,

Tests if any element of the iterator matches a predicate. Read more
1.0.0 · source§

fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
where + F: FnMut(Self::Item) -> bool,

Tests if any element of the iterator matches a predicate. Read more
1.0.0 · source§

fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator that satisfies a predicate. Read more
1.30.0 · source§

fn find_map<B, F>(&mut self, f: F) -> Option<B>
where + P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator that satisfies a predicate. Read more
1.30.0 · source§

fn find_map<B, F>(&mut self, f: F) -> Option<B>
where Self: Sized, F: FnMut(Self::Item) -> Option<B>,

Applies function to the elements of iterator and returns -the first non-none result. Read more
source§

fn try_find<F, R>( +the first non-none result. Read more

source§

fn try_find<F, R>( &mut self, f: F ) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
where @@ -118,94 +118,94 @@ F: FnMut(&Self::Item) -> R, R: Try<Output = bool>, <R as Try>::Residual: Residual<Option<Self::Item>>,

🔬This is a nightly-only experimental API. (try_find)
Applies function to the elements of iterator and returns -the first true result or the first error. Read more
1.0.0 · source§

fn position<P>(&mut self, predicate: P) -> Option<usize>
where +the first true result or the first error. Read more

1.0.0 · source§

fn position<P>(&mut self, predicate: P) -> Option<usize>
where Self: Sized, - P: FnMut(Self::Item) -> bool,

Searches for an element in an iterator, returning its index. Read more
1.0.0 · source§

fn rposition<P>(&mut self, predicate: P) -> Option<usize>
where + P: FnMut(Self::Item) -> bool,

Searches for an element in an iterator, returning its index. Read more
1.0.0 · source§

fn rposition<P>(&mut self, predicate: P) -> Option<usize>
where P: FnMut(Self::Item) -> bool, Self: Sized + ExactSizeIterator + DoubleEndedIterator,

Searches for an element in an iterator from the right, returning its -index. Read more
1.0.0 · source§

fn max(self) -> Option<Self::Item>
where +index. Read more

1.0.0 · source§

fn max(self) -> Option<Self::Item>
where Self: Sized, - Self::Item: Ord,

Returns the maximum element of an iterator. Read more
1.0.0 · source§

fn min(self) -> Option<Self::Item>
where + Self::Item: Ord,

Returns the maximum element of an iterator. Read more
1.0.0 · source§

fn min(self) -> Option<Self::Item>
where Self: Sized, - Self::Item: Ord,

Returns the minimum element of an iterator. Read more
1.6.0 · source§

fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
where + Self::Item: Ord,

Returns the minimum element of an iterator. Read more
1.6.0 · source§

fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
where B: Ord, Self: Sized, F: FnMut(&Self::Item) -> B,

Returns the element that gives the maximum value from the -specified function. Read more
1.15.0 · source§

fn max_by<F>(self, compare: F) -> Option<Self::Item>
where +specified function. Read more

1.15.0 · source§

fn max_by<F>(self, compare: F) -> Option<Self::Item>
where Self: Sized, F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Returns the element that gives the maximum value with respect to the -specified comparison function. Read more
1.6.0 · source§

fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
where +specified comparison function. Read more

1.6.0 · source§

fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
where B: Ord, Self: Sized, F: FnMut(&Self::Item) -> B,

Returns the element that gives the minimum value from the -specified function. Read more
1.15.0 · source§

fn min_by<F>(self, compare: F) -> Option<Self::Item>
where +specified function. Read more

1.15.0 · source§

fn min_by<F>(self, compare: F) -> Option<Self::Item>
where Self: Sized, F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Returns the element that gives the minimum value with respect to the -specified comparison function. Read more
1.0.0 · source§

fn rev(self) -> Rev<Self>
where - Self: Sized + DoubleEndedIterator,

Reverses an iterator’s direction. Read more
1.0.0 · source§

fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
where +specified comparison function. Read more

1.0.0 · source§

fn rev(self) -> Rev<Self>
where + Self: Sized + DoubleEndedIterator,

Reverses an iterator’s direction. Read more
1.0.0 · source§

fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
where FromA: Default + Extend<A>, FromB: Default + Extend<B>, - Self: Sized + Iterator<Item = (A, B)>,

Converts an iterator of pairs into a pair of containers. Read more
1.36.0 · source§

fn copied<'a, T>(self) -> Copied<Self>
where + Self: Sized + Iterator<Item = (A, B)>,

Converts an iterator of pairs into a pair of containers. Read more
1.36.0 · source§

fn copied<'a, T>(self) -> Copied<Self>
where T: 'a + Copy, - Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which copies all of its elements. Read more
1.0.0 · source§

fn cloned<'a, T>(self) -> Cloned<Self>
where + Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which copies all of its elements. Read more
1.0.0 · source§

fn cloned<'a, T>(self) -> Cloned<Self>
where T: 'a + Clone, - Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which clones all of its elements. Read more
1.0.0 · source§

fn cycle(self) -> Cycle<Self>
where - Self: Sized + Clone,

Repeats an iterator endlessly. Read more
source§

fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
where - Self: Sized,

🔬This is a nightly-only experimental API. (iter_array_chunks)
Returns an iterator over N elements of the iterator at a time. Read more
1.11.0 · source§

fn sum<S>(self) -> S
where + Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which clones all of its elements. Read more
1.0.0 · source§

fn cycle(self) -> Cycle<Self>
where + Self: Sized + Clone,

Repeats an iterator endlessly. Read more
source§

fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
where + Self: Sized,

🔬This is a nightly-only experimental API. (iter_array_chunks)
Returns an iterator over N elements of the iterator at a time. Read more
1.11.0 · source§

fn sum<S>(self) -> S
where Self: Sized, - S: Sum<Self::Item>,

Sums the elements of an iterator. Read more
1.11.0 · source§

fn product<P>(self) -> P
where + S: Sum<Self::Item>,

Sums the elements of an iterator. Read more
1.11.0 · source§

fn product<P>(self) -> P
where Self: Sized, - P: Product<Self::Item>,

Iterates over the entire iterator, multiplying all the elements Read more
1.5.0 · source§

fn cmp<I>(self, other: I) -> Ordering
where + P: Product<Self::Item>,

Iterates over the entire iterator, multiplying all the elements Read more
1.5.0 · source§

fn cmp<I>(self, other: I) -> Ordering
where I: IntoIterator<Item = Self::Item>, Self::Item: Ord, Self: Sized,

Lexicographically compares the elements of this Iterator with those -of another. Read more
source§

fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
where +of another. Read more

source§

fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
where Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

🔬This is a nightly-only experimental API. (iter_order_by)
Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
1.5.0 · source§

fn partial_cmp<I>(self, other: I) -> Option<Ordering>
where +of another with respect to the specified comparison function. Read more

1.5.0 · source§

fn partial_cmp<I>(self, other: I) -> Option<Ordering>
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Lexicographically compares the PartialOrd elements of this Iterator with those of another. The comparison works like short-circuit evaluation, returning a result without comparing the remaining elements. -As soon as an order can be determined, the evaluation stops and a result is returned. Read more
source§

fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
where +As soon as an order can be determined, the evaluation stops and a result is returned. Read more

source§

fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
where Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

🔬This is a nightly-only experimental API. (iter_order_by)
Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
1.5.0 · source§

fn eq<I>(self, other: I) -> bool
where +of another with respect to the specified comparison function. Read more

1.5.0 · source§

fn eq<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialEq<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are equal to those of -another. Read more
source§

fn eq_by<I, F>(self, other: I, eq: F) -> bool
where +another. Read more

source§

fn eq_by<I, F>(self, other: I, eq: F) -> bool
where Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

🔬This is a nightly-only experimental API. (iter_order_by)
Determines if the elements of this Iterator are equal to those of -another with respect to the specified equality function. Read more
1.5.0 · source§

fn ne<I>(self, other: I) -> bool
where +another with respect to the specified equality function. Read more

1.5.0 · source§

fn ne<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialEq<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are not equal to those of -another. Read more
1.5.0 · source§

fn lt<I>(self, other: I) -> bool
where +another. Read more

1.5.0 · source§

fn lt<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -less than those of another. Read more
1.5.0 · source§

fn le<I>(self, other: I) -> bool
where +less than those of another. Read more

1.5.0 · source§

fn le<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -less or equal to those of another. Read more
1.5.0 · source§

fn gt<I>(self, other: I) -> bool
where +less or equal to those of another. Read more

1.5.0 · source§

fn gt<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -greater than those of another. Read more
1.5.0 · source§

fn ge<I>(self, other: I) -> bool
where +greater than those of another. Read more

1.5.0 · source§

fn ge<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -greater than or equal to those of another. Read more
source§

fn is_sorted(self) -> bool
where +greater than or equal to those of another. Read more

source§

fn is_sorted(self) -> bool
where Self: Sized, - Self::Item: PartialOrd,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted. Read more
source§

fn is_sorted_by<F>(self, compare: F) -> bool
where + Self::Item: PartialOrd,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted. Read more
source§

fn is_sorted_by<F>(self, compare: F) -> bool
where Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> bool,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given comparator function. Read more
source§

fn is_sorted_by_key<F, K>(self, f: F) -> bool
where + F: FnMut(&Self::Item, &Self::Item) -> bool,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given comparator function. Read more
source§

fn is_sorted_by_key<F, K>(self, f: F) -> bool
where Self: Sized, F: FnMut(Self::Item) -> K, K: PartialOrd,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given key extraction @@ -230,8 +230,8 @@ T: Iterator + Send, <T as Iterator>::Item: Send,
§

fn par_bridge(self) -> IterBridge<T>

Creates a bridge from this type to a ParallelIterator.
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/factories/index.html b/nightly/core/nautilus_common/factories/index.html index 01a90c615654..8b32c0ca43fb 100644 --- a/nightly/core/nautilus_common/factories/index.html +++ b/nightly/core/nautilus_common/factories/index.html @@ -1,2 +1,2 @@ -nautilus_common::factories - Rust +nautilus_common::factories - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_common/factories/struct.OrderFactory.html b/nightly/core/nautilus_common/factories/struct.OrderFactory.html index 51acbebf5eb3..32e3ada75e55 100644 --- a/nightly/core/nautilus_common/factories/struct.OrderFactory.html +++ b/nightly/core/nautilus_common/factories/struct.OrderFactory.html @@ -1,4 +1,4 @@ -OrderFactory in nautilus_common::factories - Rust +OrderFactory in nautilus_common::factories - Rust
#[repr(C)]
pub struct OrderFactory { /* private fields */ }

Implementations§

source§

impl OrderFactory

source

pub fn new( trader_id: TraderId, strategy_id: StrategyId, @@ -27,8 +27,8 @@

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_drop.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_drop.html index 7fd88346e92b..beebb06772d0 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_drop.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_drop.html @@ -1,3 +1,3 @@ -live_clock_drop in nautilus_common::ffi::clock - Rust +live_clock_drop in nautilus_common::ffi::clock - Rust
#[no_mangle]
 pub extern "C" fn live_clock_drop(clock: LiveClock_API)
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_new.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_new.html index de60c4db82d2..cb81620fa6f4 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_new.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_new.html @@ -1,3 +1,3 @@ -live_clock_new in nautilus_common::ffi::clock - Rust +live_clock_new in nautilus_common::ffi::clock - Rust
#[no_mangle]
 pub extern "C" fn live_clock_new() -> LiveClock_API
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp.html index 13fdd436137f..653ff43e345f 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp.html @@ -1,4 +1,4 @@ -live_clock_timestamp in nautilus_common::ffi::clock - Rust +live_clock_timestamp in nautilus_common::ffi::clock - Rust
#[no_mangle]
 pub extern "C" fn live_clock_timestamp(
     clock: &mut LiveClock_API
diff --git a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_ms.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_ms.html
index f50627d14b35..cc70a558bb1e 100644
--- a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_ms.html
+++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_ms.html
@@ -1,4 +1,4 @@
-live_clock_timestamp_ms in nautilus_common::ffi::clock - Rust
+live_clock_timestamp_ms in nautilus_common::ffi::clock - Rust
     
#[no_mangle]
 pub extern "C" fn live_clock_timestamp_ms(
     clock: &mut LiveClock_API
diff --git a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_ns.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_ns.html
index 44e63d699458..501dd2ead15f 100644
--- a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_ns.html
+++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_ns.html
@@ -1,4 +1,4 @@
-live_clock_timestamp_ns in nautilus_common::ffi::clock - Rust
+live_clock_timestamp_ns in nautilus_common::ffi::clock - Rust
     
#[no_mangle]
 pub extern "C" fn live_clock_timestamp_ns(
     clock: &mut LiveClock_API
diff --git a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_us.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_us.html
index 3b9a2d2a2134..2b7ee86d471f 100644
--- a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_us.html
+++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_us.html
@@ -1,4 +1,4 @@
-live_clock_timestamp_us in nautilus_common::ffi::clock - Rust
+live_clock_timestamp_us in nautilus_common::ffi::clock - Rust
     
#[no_mangle]
 pub extern "C" fn live_clock_timestamp_us(
     clock: &mut LiveClock_API
diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_advance_time.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_advance_time.html
index 06b448157ce4..808a61ba67a2 100644
--- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_advance_time.html
+++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_advance_time.html
@@ -1,4 +1,4 @@
-test_clock_advance_time in nautilus_common::ffi::clock - Rust
+test_clock_advance_time in nautilus_common::ffi::clock - Rust
     
#[no_mangle]
 pub unsafe extern "C" fn test_clock_advance_time(
     clock: &mut TestClock_API,
diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_cancel_timer.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_cancel_timer.html
index 2fa38ce8127a..a74ec28fd1aa 100644
--- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_cancel_timer.html
+++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_cancel_timer.html
@@ -1,4 +1,4 @@
-test_clock_cancel_timer in nautilus_common::ffi::clock - Rust
+test_clock_cancel_timer in nautilus_common::ffi::clock - Rust
     
#[no_mangle]
 pub unsafe extern "C" fn test_clock_cancel_timer(
     clock: &mut TestClock_API,
diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_cancel_timers.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_cancel_timers.html
index 6f287bf36126..8a0691b69b8c 100644
--- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_cancel_timers.html
+++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_cancel_timers.html
@@ -1,3 +1,3 @@
-test_clock_cancel_timers in nautilus_common::ffi::clock - Rust
+test_clock_cancel_timers in nautilus_common::ffi::clock - Rust
     
#[no_mangle]
 pub extern "C" fn test_clock_cancel_timers(clock: &mut TestClock_API)
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_drop.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_drop.html index 218eb19232fc..cc7eb357e2c8 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_drop.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_drop.html @@ -1,3 +1,3 @@ -test_clock_drop in nautilus_common::ffi::clock - Rust +test_clock_drop in nautilus_common::ffi::clock - Rust
#[no_mangle]
 pub extern "C" fn test_clock_drop(clock: TestClock_API)
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_new.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_new.html index e2c882317958..a2f1304cb4b6 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_new.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_new.html @@ -1,3 +1,3 @@ -test_clock_new in nautilus_common::ffi::clock - Rust +test_clock_new in nautilus_common::ffi::clock - Rust
#[no_mangle]
 pub extern "C" fn test_clock_new() -> TestClock_API
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_next_time_ns.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_next_time_ns.html index bb428dc6ca32..8624f1451b9c 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_next_time_ns.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_next_time_ns.html @@ -1,4 +1,4 @@ -test_clock_next_time_ns in nautilus_common::ffi::clock - Rust +test_clock_next_time_ns in nautilus_common::ffi::clock - Rust
#[no_mangle]
 pub unsafe extern "C" fn test_clock_next_time_ns(
     clock: &mut TestClock_API,
diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_register_default_handler.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_register_default_handler.html
index aca33123d6e9..16127da6f465 100644
--- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_register_default_handler.html
+++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_register_default_handler.html
@@ -1,4 +1,4 @@
-test_clock_register_default_handler in nautilus_common::ffi::clock - Rust
+test_clock_register_default_handler in nautilus_common::ffi::clock - Rust
     
#[no_mangle]
 pub unsafe extern "C" fn test_clock_register_default_handler(
     clock: &mut TestClock_API,
diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_time.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_time.html
index dec37757f616..eb134cf412bf 100644
--- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_time.html
+++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_time.html
@@ -1,4 +1,4 @@
-test_clock_set_time in nautilus_common::ffi::clock - Rust
+test_clock_set_time in nautilus_common::ffi::clock - Rust
     
#[no_mangle]
 pub extern "C" fn test_clock_set_time(
     clock: &TestClock_API,
diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_time_alert_ns.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_time_alert_ns.html
index d62ab65bc6ef..77d540d31383 100644
--- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_time_alert_ns.html
+++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_time_alert_ns.html
@@ -1,4 +1,4 @@
-test_clock_set_time_alert_ns in nautilus_common::ffi::clock - Rust
+test_clock_set_time_alert_ns in nautilus_common::ffi::clock - Rust
     
#[no_mangle]
 pub unsafe extern "C" fn test_clock_set_time_alert_ns(
     clock: &mut TestClock_API,
diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_timer_ns.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_timer_ns.html
index aa73e081e346..bec8f9c6c0ab 100644
--- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_timer_ns.html
+++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_timer_ns.html
@@ -1,4 +1,4 @@
-test_clock_set_timer_ns in nautilus_common::ffi::clock - Rust
+test_clock_set_timer_ns in nautilus_common::ffi::clock - Rust
     
#[no_mangle]
 pub unsafe extern "C" fn test_clock_set_timer_ns(
     clock: &mut TestClock_API,
diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timer_count.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timer_count.html
index 96dabcf32979..3f724216e893 100644
--- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timer_count.html
+++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timer_count.html
@@ -1,4 +1,4 @@
-test_clock_timer_count in nautilus_common::ffi::clock - Rust
+test_clock_timer_count in nautilus_common::ffi::clock - Rust
     
#[no_mangle]
 pub extern "C" fn test_clock_timer_count(
     clock: &mut TestClock_API
diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timer_names.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timer_names.html
index 00e48810843e..af9d3b780af4 100644
--- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timer_names.html
+++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timer_names.html
@@ -1,4 +1,4 @@
-test_clock_timer_names in nautilus_common::ffi::clock - Rust
+test_clock_timer_names in nautilus_common::ffi::clock - Rust
     
#[no_mangle]
 pub extern "C" fn test_clock_timer_names(
     clock: &TestClock_API
diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp.html
index d450c475dbb7..6bd8b5a7c5d0 100644
--- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp.html
+++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp.html
@@ -1,3 +1,3 @@
-test_clock_timestamp in nautilus_common::ffi::clock - Rust
+test_clock_timestamp in nautilus_common::ffi::clock - Rust
     
#[no_mangle]
 pub extern "C" fn test_clock_timestamp(clock: &TestClock_API) -> f64
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_ms.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_ms.html index be71511fb293..c70f0e855d9f 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_ms.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_ms.html @@ -1,4 +1,4 @@ -test_clock_timestamp_ms in nautilus_common::ffi::clock - Rust +test_clock_timestamp_ms in nautilus_common::ffi::clock - Rust
#[no_mangle]
 pub extern "C" fn test_clock_timestamp_ms(
     clock: &TestClock_API
diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_ns.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_ns.html
index 9af6cc3a63a3..cbe30c57bf73 100644
--- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_ns.html
+++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_ns.html
@@ -1,4 +1,4 @@
-test_clock_timestamp_ns in nautilus_common::ffi::clock - Rust
+test_clock_timestamp_ns in nautilus_common::ffi::clock - Rust
     
#[no_mangle]
 pub extern "C" fn test_clock_timestamp_ns(
     clock: &TestClock_API
diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_us.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_us.html
index af5748877623..46e708c59e7a 100644
--- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_us.html
+++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_us.html
@@ -1,4 +1,4 @@
-test_clock_timestamp_us in nautilus_common::ffi::clock - Rust
+test_clock_timestamp_us in nautilus_common::ffi::clock - Rust
     
#[no_mangle]
 pub extern "C" fn test_clock_timestamp_us(
     clock: &TestClock_API
diff --git a/nightly/core/nautilus_common/ffi/clock/fn.vec_time_event_handlers_drop.html b/nightly/core/nautilus_common/ffi/clock/fn.vec_time_event_handlers_drop.html
index b2a2b2ce6183..743d2155bb12 100644
--- a/nightly/core/nautilus_common/ffi/clock/fn.vec_time_event_handlers_drop.html
+++ b/nightly/core/nautilus_common/ffi/clock/fn.vec_time_event_handlers_drop.html
@@ -1,3 +1,3 @@
-vec_time_event_handlers_drop in nautilus_common::ffi::clock - Rust
+vec_time_event_handlers_drop in nautilus_common::ffi::clock - Rust
     
#[no_mangle]
 pub extern "C" fn vec_time_event_handlers_drop(v: CVec)
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/index.html b/nightly/core/nautilus_common/ffi/clock/index.html index 85a6296b0c41..2ec4942b647c 100644 --- a/nightly/core/nautilus_common/ffi/clock/index.html +++ b/nightly/core/nautilus_common/ffi/clock/index.html @@ -1,2 +1,2 @@ -nautilus_common::ffi::clock - Rust +nautilus_common::ffi::clock - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/struct.LiveClock_API.html b/nightly/core/nautilus_common/ffi/clock/struct.LiveClock_API.html index b2a8d3ee4bff..776579142461 100644 --- a/nightly/core/nautilus_common/ffi/clock/struct.LiveClock_API.html +++ b/nightly/core/nautilus_common/ffi/clock/struct.LiveClock_API.html @@ -1,4 +1,4 @@ -LiveClock_API in nautilus_common::ffi::clock - Rust +LiveClock_API in nautilus_common::ffi::clock - Rust
#[repr(C)]
pub struct LiveClock_API(/* private fields */);
Expand description

Provides a C compatible Foreign Function Interface (FFI) for an underlying LiveClock.

This struct wraps LiveClock in a way that makes it compatible with C function calls, enabling interaction with LiveClock in a C environment.

@@ -370,8 +370,8 @@
§ExamplesThat is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/ffi/clock/struct.TestClock_API.html b/nightly/core/nautilus_common/ffi/clock/struct.TestClock_API.html index edfe8e729f6a..efd72b0ad590 100644 --- a/nightly/core/nautilus_common/ffi/clock/struct.TestClock_API.html +++ b/nightly/core/nautilus_common/ffi/clock/struct.TestClock_API.html @@ -1,4 +1,4 @@ -TestClock_API in nautilus_common::ffi::clock - Rust +TestClock_API in nautilus_common::ffi::clock - Rust
#[repr(C)]
pub struct TestClock_API(/* private fields */);
Expand description

Provides a C compatible Foreign Function Interface (FFI) for an underlying TestClock.

This struct wraps TestClock in a way that makes it compatible with C function calls, enabling interaction with TestClock in a C environment.

@@ -374,8 +374,8 @@
§ExamplesThat is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/ffi/enums/fn.component_state_from_cstr.html b/nightly/core/nautilus_common/ffi/enums/fn.component_state_from_cstr.html index d09302442ede..93636b8b560e 100644 --- a/nightly/core/nautilus_common/ffi/enums/fn.component_state_from_cstr.html +++ b/nightly/core/nautilus_common/ffi/enums/fn.component_state_from_cstr.html @@ -1,4 +1,4 @@ -component_state_from_cstr in nautilus_common::ffi::enums - Rust +component_state_from_cstr in nautilus_common::ffi::enums - Rust
#[no_mangle]
 pub unsafe extern "C" fn component_state_from_cstr(
     ptr: *const c_char
diff --git a/nightly/core/nautilus_common/ffi/enums/fn.component_state_to_cstr.html b/nightly/core/nautilus_common/ffi/enums/fn.component_state_to_cstr.html
index b66b3e889d78..db1ce3936027 100644
--- a/nightly/core/nautilus_common/ffi/enums/fn.component_state_to_cstr.html
+++ b/nightly/core/nautilus_common/ffi/enums/fn.component_state_to_cstr.html
@@ -1,4 +1,4 @@
-component_state_to_cstr in nautilus_common::ffi::enums - Rust
+component_state_to_cstr in nautilus_common::ffi::enums - Rust
     
#[no_mangle]
 pub extern "C" fn component_state_to_cstr(
     value: ComponentState
diff --git a/nightly/core/nautilus_common/ffi/enums/fn.component_trigger_from_cstr.html b/nightly/core/nautilus_common/ffi/enums/fn.component_trigger_from_cstr.html
index f20791600903..4a52aebdcf6e 100644
--- a/nightly/core/nautilus_common/ffi/enums/fn.component_trigger_from_cstr.html
+++ b/nightly/core/nautilus_common/ffi/enums/fn.component_trigger_from_cstr.html
@@ -1,4 +1,4 @@
-component_trigger_from_cstr in nautilus_common::ffi::enums - Rust
+component_trigger_from_cstr in nautilus_common::ffi::enums - Rust
     
#[no_mangle]
 pub unsafe extern "C" fn component_trigger_from_cstr(
     ptr: *const c_char
diff --git a/nightly/core/nautilus_common/ffi/enums/fn.component_trigger_to_cstr.html b/nightly/core/nautilus_common/ffi/enums/fn.component_trigger_to_cstr.html
index 4172e5cb6efc..279cc07f1e77 100644
--- a/nightly/core/nautilus_common/ffi/enums/fn.component_trigger_to_cstr.html
+++ b/nightly/core/nautilus_common/ffi/enums/fn.component_trigger_to_cstr.html
@@ -1,4 +1,4 @@
-component_trigger_to_cstr in nautilus_common::ffi::enums - Rust
+component_trigger_to_cstr in nautilus_common::ffi::enums - Rust
     
#[no_mangle]
 pub extern "C" fn component_trigger_to_cstr(
     value: ComponentTrigger
diff --git a/nightly/core/nautilus_common/ffi/enums/fn.log_color_from_cstr.html b/nightly/core/nautilus_common/ffi/enums/fn.log_color_from_cstr.html
index 4e654cbaf614..95a8ae1726c9 100644
--- a/nightly/core/nautilus_common/ffi/enums/fn.log_color_from_cstr.html
+++ b/nightly/core/nautilus_common/ffi/enums/fn.log_color_from_cstr.html
@@ -1,4 +1,4 @@
-log_color_from_cstr in nautilus_common::ffi::enums - Rust
+log_color_from_cstr in nautilus_common::ffi::enums - Rust
     
#[no_mangle]
 pub unsafe extern "C" fn log_color_from_cstr(
     ptr: *const c_char
diff --git a/nightly/core/nautilus_common/ffi/enums/fn.log_color_to_cstr.html b/nightly/core/nautilus_common/ffi/enums/fn.log_color_to_cstr.html
index a654ca6d0d47..47b6df92aa6f 100644
--- a/nightly/core/nautilus_common/ffi/enums/fn.log_color_to_cstr.html
+++ b/nightly/core/nautilus_common/ffi/enums/fn.log_color_to_cstr.html
@@ -1,3 +1,3 @@
-log_color_to_cstr in nautilus_common::ffi::enums - Rust
+log_color_to_cstr in nautilus_common::ffi::enums - Rust
     
#[no_mangle]
 pub extern "C" fn log_color_to_cstr(value: LogColor) -> *const c_char
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/enums/fn.log_level_from_cstr.html b/nightly/core/nautilus_common/ffi/enums/fn.log_level_from_cstr.html index d2a30b5bcc7e..6f0d52f6af03 100644 --- a/nightly/core/nautilus_common/ffi/enums/fn.log_level_from_cstr.html +++ b/nightly/core/nautilus_common/ffi/enums/fn.log_level_from_cstr.html @@ -1,4 +1,4 @@ -log_level_from_cstr in nautilus_common::ffi::enums - Rust +log_level_from_cstr in nautilus_common::ffi::enums - Rust
#[no_mangle]
 pub unsafe extern "C" fn log_level_from_cstr(
     ptr: *const c_char
diff --git a/nightly/core/nautilus_common/ffi/enums/fn.log_level_to_cstr.html b/nightly/core/nautilus_common/ffi/enums/fn.log_level_to_cstr.html
index 82219ca52161..18651ea82d23 100644
--- a/nightly/core/nautilus_common/ffi/enums/fn.log_level_to_cstr.html
+++ b/nightly/core/nautilus_common/ffi/enums/fn.log_level_to_cstr.html
@@ -1,3 +1,3 @@
-log_level_to_cstr in nautilus_common::ffi::enums - Rust
+log_level_to_cstr in nautilus_common::ffi::enums - Rust
     
#[no_mangle]
 pub extern "C" fn log_level_to_cstr(value: LogLevel) -> *const c_char
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/enums/index.html b/nightly/core/nautilus_common/ffi/enums/index.html index 9a6fe6b1cac7..ac12b15fcd1c 100644 --- a/nightly/core/nautilus_common/ffi/enums/index.html +++ b/nightly/core/nautilus_common/ffi/enums/index.html @@ -1,2 +1,2 @@ -nautilus_common::ffi::enums - Rust +nautilus_common::ffi::enums - Rust

Module nautilus_common::ffi::enums

source ·

Functions§

\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/index.html b/nightly/core/nautilus_common/ffi/index.html index f83afdbc4e6d..73bc43b82f60 100644 --- a/nightly/core/nautilus_common/ffi/index.html +++ b/nightly/core/nautilus_common/ffi/index.html @@ -1,2 +1,2 @@ -nautilus_common::ffi - Rust +nautilus_common::ffi - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/logging/fn.logger_flush.html b/nightly/core/nautilus_common/ffi/logging/fn.logger_flush.html index c414488aec1e..47b9da8abaf2 100644 --- a/nightly/core/nautilus_common/ffi/logging/fn.logger_flush.html +++ b/nightly/core/nautilus_common/ffi/logging/fn.logger_flush.html @@ -1,4 +1,4 @@ -logger_flush in nautilus_common::ffi::logging - Rust +logger_flush in nautilus_common::ffi::logging - Rust
#[no_mangle]
 pub extern "C" fn logger_flush()
Expand description

Flushes global logger buffers.

\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/logging/fn.logger_log.html b/nightly/core/nautilus_common/ffi/logging/fn.logger_log.html index cdb715cdf03f..fa2d6d09dc60 100644 --- a/nightly/core/nautilus_common/ffi/logging/fn.logger_log.html +++ b/nightly/core/nautilus_common/ffi/logging/fn.logger_log.html @@ -1,4 +1,4 @@ -logger_log in nautilus_common::ffi::logging - Rust +logger_log in nautilus_common::ffi::logging - Rust
#[no_mangle]
 pub unsafe extern "C" fn logger_log(
     level: LogLevel,
diff --git a/nightly/core/nautilus_common/ffi/logging/fn.logging_init.html b/nightly/core/nautilus_common/ffi/logging/fn.logging_init.html
index 6263154179dc..01d13d021f2d 100644
--- a/nightly/core/nautilus_common/ffi/logging/fn.logging_init.html
+++ b/nightly/core/nautilus_common/ffi/logging/fn.logging_init.html
@@ -1,4 +1,4 @@
-logging_init in nautilus_common::ffi::logging - Rust
+logging_init in nautilus_common::ffi::logging - Rust
     
#[no_mangle]
 pub unsafe extern "C" fn logging_init(
     trader_id: TraderId,
diff --git a/nightly/core/nautilus_common/ffi/logging/fn.logging_log_header.html b/nightly/core/nautilus_common/ffi/logging/fn.logging_log_header.html
index 8216cbafc325..2a5f22354a27 100644
--- a/nightly/core/nautilus_common/ffi/logging/fn.logging_log_header.html
+++ b/nightly/core/nautilus_common/ffi/logging/fn.logging_log_header.html
@@ -1,4 +1,4 @@
-logging_log_header in nautilus_common::ffi::logging - Rust
+logging_log_header in nautilus_common::ffi::logging - Rust
     
#[no_mangle]
 pub unsafe extern "C" fn logging_log_header(
     trader_id: TraderId,
diff --git a/nightly/core/nautilus_common/ffi/logging/fn.logging_log_sysinfo.html b/nightly/core/nautilus_common/ffi/logging/fn.logging_log_sysinfo.html
index bc88c0c9face..843f57999fc0 100644
--- a/nightly/core/nautilus_common/ffi/logging/fn.logging_log_sysinfo.html
+++ b/nightly/core/nautilus_common/ffi/logging/fn.logging_log_sysinfo.html
@@ -1,4 +1,4 @@
-logging_log_sysinfo in nautilus_common::ffi::logging - Rust
+logging_log_sysinfo in nautilus_common::ffi::logging - Rust
     
#[no_mangle]
 pub unsafe extern "C" fn logging_log_sysinfo(
     component_ptr: *const c_char
diff --git a/nightly/core/nautilus_common/ffi/logging/fn.tracing_init.html b/nightly/core/nautilus_common/ffi/logging/fn.tracing_init.html
index 12458a8239f0..65635704ddf9 100644
--- a/nightly/core/nautilus_common/ffi/logging/fn.tracing_init.html
+++ b/nightly/core/nautilus_common/ffi/logging/fn.tracing_init.html
@@ -1,4 +1,4 @@
-tracing_init in nautilus_common::ffi::logging - Rust
+tracing_init in nautilus_common::ffi::logging - Rust
     
#[no_mangle]
 pub extern "C" fn tracing_init()
Expand description

Initializes tracing.

Tracing is meant to be used to trace/debug async Rust code. It can be diff --git a/nightly/core/nautilus_common/ffi/logging/index.html b/nightly/core/nautilus_common/ffi/logging/index.html index cbfd2e29d471..452c11743d8b 100644 --- a/nightly/core/nautilus_common/ffi/logging/index.html +++ b/nightly/core/nautilus_common/ffi/logging/index.html @@ -1,2 +1,2 @@ -nautilus_common::ffi::logging - Rust

+nautilus_common::ffi::logging - Rust

Functions§

\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_correlation_id_handler.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_correlation_id_handler.html index 2e9fc060402e..01704f25f2cd 100644 --- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_correlation_id_handler.html +++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_correlation_id_handler.html @@ -1,4 +1,4 @@ -msgbus_correlation_id_handler in nautilus_common::ffi::msgbus - Rust +msgbus_correlation_id_handler in nautilus_common::ffi::msgbus - Rust
#[no_mangle]
 pub unsafe extern "C" fn msgbus_correlation_id_handler(
     bus: &mut MessageBus_API,
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_correlation_ids.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_correlation_ids.html
index 3fe6bed72a88..84d2ec0d26d3 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_correlation_ids.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_correlation_ids.html
@@ -1,4 +1,4 @@
-msgbus_correlation_ids in nautilus_common::ffi::msgbus - Rust
+msgbus_correlation_ids in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub extern "C" fn msgbus_correlation_ids(
     bus: &MessageBus_API
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_deregister.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_deregister.html
index df4759d98729..16218a263af1 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_deregister.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_deregister.html
@@ -1,4 +1,4 @@
-msgbus_deregister in nautilus_common::ffi::msgbus - Rust
+msgbus_deregister in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub unsafe extern "C" fn msgbus_deregister(
     bus: MessageBus_API,
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_drop.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_drop.html
index 4fc761be2d4c..c9dea6cfd844 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_drop.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_drop.html
@@ -1,3 +1,3 @@
-msgbus_drop in nautilus_common::ffi::msgbus - Rust
+msgbus_drop in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub extern "C" fn msgbus_drop(bus: MessageBus_API)
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_endpoint_callback.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_endpoint_callback.html index 2e876bc61b43..83cce59acbf2 100644 --- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_endpoint_callback.html +++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_endpoint_callback.html @@ -1,4 +1,4 @@ -msgbus_endpoint_callback in nautilus_common::ffi::msgbus - Rust +msgbus_endpoint_callback in nautilus_common::ffi::msgbus - Rust
#[no_mangle]
 pub unsafe extern "C" fn msgbus_endpoint_callback(
     bus: &MessageBus_API,
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_endpoints.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_endpoints.html
index fbb13ff0114c..7194335971a5 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_endpoints.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_endpoints.html
@@ -1,4 +1,4 @@
-msgbus_endpoints in nautilus_common::ffi::msgbus - Rust
+msgbus_endpoints in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub extern "C" fn msgbus_endpoints(
     bus: &MessageBus_API
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_has_subscribers.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_has_subscribers.html
index 30e5c8fb3e5c..86a82ea1729f 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_has_subscribers.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_has_subscribers.html
@@ -1,4 +1,4 @@
-msgbus_has_subscribers in nautilus_common::ffi::msgbus - Rust
+msgbus_has_subscribers in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub unsafe extern "C" fn msgbus_has_subscribers(
     bus: &MessageBus_API,
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_is_matching.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_is_matching.html
index 59b84674962f..0915785fdb4f 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_is_matching.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_is_matching.html
@@ -1,4 +1,4 @@
-msgbus_is_matching in nautilus_common::ffi::msgbus - Rust
+msgbus_is_matching in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub unsafe extern "C" fn msgbus_is_matching(
     topic_ptr: *const c_char,
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_is_pending_response.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_is_pending_response.html
index f741432f1cce..b5c6d30c345a 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_is_pending_response.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_is_pending_response.html
@@ -1,4 +1,4 @@
-msgbus_is_pending_response in nautilus_common::ffi::msgbus - Rust
+msgbus_is_pending_response in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub unsafe extern "C" fn msgbus_is_pending_response(
     bus: &MessageBus_API,
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_is_registered.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_is_registered.html
index 3658cc3fc821..e528fa0d9446 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_is_registered.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_is_registered.html
@@ -1,4 +1,4 @@
-msgbus_is_registered in nautilus_common::ffi::msgbus - Rust
+msgbus_is_registered in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub unsafe extern "C" fn msgbus_is_registered(
     bus: &MessageBus_API,
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_is_subscribed.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_is_subscribed.html
index 06366e1ca0c1..dc53f8776838 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_is_subscribed.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_is_subscribed.html
@@ -1,4 +1,4 @@
-msgbus_is_subscribed in nautilus_common::ffi::msgbus - Rust
+msgbus_is_subscribed in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub unsafe extern "C" fn msgbus_is_subscribed(
     bus: &MessageBus_API,
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_matching_callbacks.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_matching_callbacks.html
index 7498076bb0e3..81610c41dfe9 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_matching_callbacks.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_matching_callbacks.html
@@ -1,4 +1,4 @@
-msgbus_matching_callbacks in nautilus_common::ffi::msgbus - Rust
+msgbus_matching_callbacks in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub unsafe extern "C" fn msgbus_matching_callbacks(
     bus: &mut MessageBus_API,
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_new.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_new.html
index 5c52bfd4691f..07acfec17c5d 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_new.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_new.html
@@ -1,4 +1,4 @@
-msgbus_new in nautilus_common::ffi::msgbus - Rust
+msgbus_new in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub unsafe extern "C" fn msgbus_new(
     trader_id_ptr: *const c_char,
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_pub_count.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_pub_count.html
index 0cd8cb76beaf..2fb15514002b 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_pub_count.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_pub_count.html
@@ -1,3 +1,3 @@
-msgbus_pub_count in nautilus_common::ffi::msgbus - Rust
+msgbus_pub_count in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub extern "C" fn msgbus_pub_count(bus: &MessageBus_API) -> u64
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_publish_external.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_publish_external.html index 1ed264f0f5a7..fc24eb1d5560 100644 --- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_publish_external.html +++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_publish_external.html @@ -1,4 +1,4 @@ -msgbus_publish_external in nautilus_common::ffi::msgbus - Rust +msgbus_publish_external in nautilus_common::ffi::msgbus - Rust
#[no_mangle]
 pub unsafe extern "C" fn msgbus_publish_external(
     bus: &mut MessageBus_API,
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_register.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_register.html
index 2008e32d2bc0..385ffdf58b93 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_register.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_register.html
@@ -1,4 +1,4 @@
-msgbus_register in nautilus_common::ffi::msgbus - Rust
+msgbus_register in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub unsafe extern "C" fn msgbus_register(
     bus: &mut MessageBus_API,
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_req_count.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_req_count.html
index 96b809f30856..21ab9abefced 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_req_count.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_req_count.html
@@ -1,3 +1,3 @@
-msgbus_req_count in nautilus_common::ffi::msgbus - Rust
+msgbus_req_count in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub extern "C" fn msgbus_req_count(bus: &MessageBus_API) -> u64
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_request_callback.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_request_callback.html index 8cc0b6ece3ef..6c66c19ddf78 100644 --- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_request_callback.html +++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_request_callback.html @@ -1,4 +1,4 @@ -msgbus_request_callback in nautilus_common::ffi::msgbus - Rust +msgbus_request_callback in nautilus_common::ffi::msgbus - Rust
#[no_mangle]
 pub unsafe extern "C" fn msgbus_request_callback(
     bus: &mut MessageBus_API,
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_res_count.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_res_count.html
index 6788a0d771dd..95a153a4cd19 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_res_count.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_res_count.html
@@ -1,3 +1,3 @@
-msgbus_res_count in nautilus_common::ffi::msgbus - Rust
+msgbus_res_count in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub extern "C" fn msgbus_res_count(bus: &MessageBus_API) -> u64
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_response_callback.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_response_callback.html index 567864bd21d2..a1beb9d7b423 100644 --- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_response_callback.html +++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_response_callback.html @@ -1,4 +1,4 @@ -msgbus_response_callback in nautilus_common::ffi::msgbus - Rust +msgbus_response_callback in nautilus_common::ffi::msgbus - Rust
#[no_mangle]
 pub unsafe extern "C" fn msgbus_response_callback(
     bus: &mut MessageBus_API,
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_sent_count.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_sent_count.html
index a83f7e6acd4c..ba894194212d 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_sent_count.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_sent_count.html
@@ -1,3 +1,3 @@
-msgbus_sent_count in nautilus_common::ffi::msgbus - Rust
+msgbus_sent_count in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub extern "C" fn msgbus_sent_count(bus: &MessageBus_API) -> u64
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_subscribe.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_subscribe.html index 88999bd46a4e..7467638782a9 100644 --- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_subscribe.html +++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_subscribe.html @@ -1,4 +1,4 @@ -msgbus_subscribe in nautilus_common::ffi::msgbus - Rust +msgbus_subscribe in nautilus_common::ffi::msgbus - Rust
#[no_mangle]
 pub unsafe extern "C" fn msgbus_subscribe(
     bus: &mut MessageBus_API,
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_subscription_handler_ids.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_subscription_handler_ids.html
index 1045c5327bd6..53a043687b4d 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_subscription_handler_ids.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_subscription_handler_ids.html
@@ -1,4 +1,4 @@
-msgbus_subscription_handler_ids in nautilus_common::ffi::msgbus - Rust
+msgbus_subscription_handler_ids in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub extern "C" fn msgbus_subscription_handler_ids(
     bus: &MessageBus_API
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_subscriptions.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_subscriptions.html
index b9fa1fc7099b..c086ebde6783 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_subscriptions.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_subscriptions.html
@@ -1,4 +1,4 @@
-msgbus_subscriptions in nautilus_common::ffi::msgbus - Rust
+msgbus_subscriptions in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub extern "C" fn msgbus_subscriptions(
     bus: &MessageBus_API
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_topics.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_topics.html
index a0288f451028..05af09874c28 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_topics.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_topics.html
@@ -1,3 +1,3 @@
-msgbus_topics in nautilus_common::ffi::msgbus - Rust
+msgbus_topics in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub extern "C" fn msgbus_topics(bus: &MessageBus_API) -> *mut PyObject
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_trader_id.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_trader_id.html index af4974308f3b..137c7211b6d7 100644 --- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_trader_id.html +++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_trader_id.html @@ -1,3 +1,3 @@ -msgbus_trader_id in nautilus_common::ffi::msgbus - Rust +msgbus_trader_id in nautilus_common::ffi::msgbus - Rust
#[no_mangle]
 pub extern "C" fn msgbus_trader_id(bus: &MessageBus_API) -> TraderId
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_unsubscribe.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_unsubscribe.html index 32eed8349bdb..5a2ad5d37929 100644 --- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_unsubscribe.html +++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_unsubscribe.html @@ -1,4 +1,4 @@ -msgbus_unsubscribe in nautilus_common::ffi::msgbus - Rust +msgbus_unsubscribe in nautilus_common::ffi::msgbus - Rust
#[no_mangle]
 pub unsafe extern "C" fn msgbus_unsubscribe(
     bus: &mut MessageBus_API,
diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.vec_pycallable_drop.html b/nightly/core/nautilus_common/ffi/msgbus/fn.vec_pycallable_drop.html
index 4cf04208d0d4..97fe80ee129c 100644
--- a/nightly/core/nautilus_common/ffi/msgbus/fn.vec_pycallable_drop.html
+++ b/nightly/core/nautilus_common/ffi/msgbus/fn.vec_pycallable_drop.html
@@ -1,3 +1,3 @@
-vec_pycallable_drop in nautilus_common::ffi::msgbus - Rust
+vec_pycallable_drop in nautilus_common::ffi::msgbus - Rust
     
#[no_mangle]
 pub extern "C" fn vec_pycallable_drop(v: CVec)
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/msgbus/index.html b/nightly/core/nautilus_common/ffi/msgbus/index.html index 1055a6804b5a..e3dce2ef1c6c 100644 --- a/nightly/core/nautilus_common/ffi/msgbus/index.html +++ b/nightly/core/nautilus_common/ffi/msgbus/index.html @@ -1,2 +1,2 @@ -nautilus_common::ffi::msgbus - Rust +nautilus_common::ffi::msgbus - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/msgbus/struct.MessageBus_API.html b/nightly/core/nautilus_common/ffi/msgbus/struct.MessageBus_API.html index 26eea9043f47..b34e88f4d7f1 100644 --- a/nightly/core/nautilus_common/ffi/msgbus/struct.MessageBus_API.html +++ b/nightly/core/nautilus_common/ffi/msgbus/struct.MessageBus_API.html @@ -1,4 +1,4 @@ -MessageBus_API in nautilus_common::ffi::msgbus - Rust +MessageBus_API in nautilus_common::ffi::msgbus - Rust
#[repr(C)]
pub struct MessageBus_API(/* private fields */);
Expand description

Provides a C compatible Foreign Function Interface (FFI) for an underlying MessageBus.

This struct wraps MessageBus in a way that makes it compatible with C function calls, enabling interaction with MessageBus in a C environment.

@@ -54,8 +54,8 @@

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/ffi/timer/fn.dummy.html b/nightly/core/nautilus_common/ffi/timer/fn.dummy.html index 1ecbd203f15c..a6d912285987 100644 --- a/nightly/core/nautilus_common/ffi/timer/fn.dummy.html +++ b/nightly/core/nautilus_common/ffi/timer/fn.dummy.html @@ -1,3 +1,3 @@ -dummy in nautilus_common::ffi::timer - Rust +dummy in nautilus_common::ffi::timer - Rust

Function nautilus_common::ffi::timer::dummy

source ·
#[no_mangle]
 pub extern "C" fn dummy(v: TimeEventHandler) -> TimeEventHandler
\ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/timer/fn.time_event_new.html b/nightly/core/nautilus_common/ffi/timer/fn.time_event_new.html index 1e9fd4b13ad1..fd326df7164a 100644 --- a/nightly/core/nautilus_common/ffi/timer/fn.time_event_new.html +++ b/nightly/core/nautilus_common/ffi/timer/fn.time_event_new.html @@ -1,4 +1,4 @@ -time_event_new in nautilus_common::ffi::timer - Rust +time_event_new in nautilus_common::ffi::timer - Rust
#[no_mangle]
 pub unsafe extern "C" fn time_event_new(
     name_ptr: *const c_char,
diff --git a/nightly/core/nautilus_common/ffi/timer/fn.time_event_to_cstr.html b/nightly/core/nautilus_common/ffi/timer/fn.time_event_to_cstr.html
index b45cde068877..32699227aa95 100644
--- a/nightly/core/nautilus_common/ffi/timer/fn.time_event_to_cstr.html
+++ b/nightly/core/nautilus_common/ffi/timer/fn.time_event_to_cstr.html
@@ -1,4 +1,4 @@
-time_event_to_cstr in nautilus_common::ffi::timer - Rust
+time_event_to_cstr in nautilus_common::ffi::timer - Rust
     
#[no_mangle]
 pub extern "C" fn time_event_to_cstr(
     event: &TimeEvent
diff --git a/nightly/core/nautilus_common/ffi/timer/index.html b/nightly/core/nautilus_common/ffi/timer/index.html
index 15f6e188de14..25b8e944a3b1 100644
--- a/nightly/core/nautilus_common/ffi/timer/index.html
+++ b/nightly/core/nautilus_common/ffi/timer/index.html
@@ -1,2 +1,2 @@
-nautilus_common::ffi::timer - Rust
+nautilus_common::ffi::timer - Rust
     

Module nautilus_common::ffi::timer

source ·

Functions§

\ No newline at end of file diff --git a/nightly/core/nautilus_common/generators/client_order_id/index.html b/nightly/core/nautilus_common/generators/client_order_id/index.html index 451bc87b3ba3..d17861c4032c 100644 --- a/nightly/core/nautilus_common/generators/client_order_id/index.html +++ b/nightly/core/nautilus_common/generators/client_order_id/index.html @@ -1,2 +1,2 @@ -nautilus_common::generators::client_order_id - Rust +nautilus_common::generators::client_order_id - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_common/generators/client_order_id/struct.ClientOrderIdGenerator.html b/nightly/core/nautilus_common/generators/client_order_id/struct.ClientOrderIdGenerator.html index 487affe180a2..54aced1744e3 100644 --- a/nightly/core/nautilus_common/generators/client_order_id/struct.ClientOrderIdGenerator.html +++ b/nightly/core/nautilus_common/generators/client_order_id/struct.ClientOrderIdGenerator.html @@ -1,4 +1,4 @@ -ClientOrderIdGenerator in nautilus_common::generators::client_order_id - Rust +ClientOrderIdGenerator in nautilus_common::generators::client_order_id - Rust
#[repr(C)]
pub struct ClientOrderIdGenerator { /* private fields */ }

Implementations§

source§

impl ClientOrderIdGenerator

source

pub fn new( trader_id: TraderId, strategy_id: StrategyId, @@ -15,8 +15,8 @@

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/generators/index.html b/nightly/core/nautilus_common/generators/index.html index d7fc5ba6dbca..1de1007d85b0 100644 --- a/nightly/core/nautilus_common/generators/index.html +++ b/nightly/core/nautilus_common/generators/index.html @@ -1,2 +1,2 @@ -nautilus_common::generators - Rust +nautilus_common::generators - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_common/generators/order_list_id/index.html b/nightly/core/nautilus_common/generators/order_list_id/index.html index 1baa541e6303..30a87740dc57 100644 --- a/nightly/core/nautilus_common/generators/order_list_id/index.html +++ b/nightly/core/nautilus_common/generators/order_list_id/index.html @@ -1,2 +1,2 @@ -nautilus_common::generators::order_list_id - Rust +nautilus_common::generators::order_list_id - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_common/generators/order_list_id/struct.OrderListIdGenerator.html b/nightly/core/nautilus_common/generators/order_list_id/struct.OrderListIdGenerator.html index 7627da4fb1f2..f231484ae903 100644 --- a/nightly/core/nautilus_common/generators/order_list_id/struct.OrderListIdGenerator.html +++ b/nightly/core/nautilus_common/generators/order_list_id/struct.OrderListIdGenerator.html @@ -1,4 +1,4 @@ -OrderListIdGenerator in nautilus_common::generators::order_list_id - Rust +OrderListIdGenerator in nautilus_common::generators::order_list_id - Rust
#[repr(C)]
pub struct OrderListIdGenerator { /* private fields */ }

Implementations§

source§

impl OrderListIdGenerator

source

pub fn new( trader_id: TraderId, strategy_id: StrategyId, @@ -15,8 +15,8 @@

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/generators/position_id/index.html b/nightly/core/nautilus_common/generators/position_id/index.html index 29d5b12d356e..d5cc8724f175 100644 --- a/nightly/core/nautilus_common/generators/position_id/index.html +++ b/nightly/core/nautilus_common/generators/position_id/index.html @@ -1,2 +1,2 @@ -nautilus_common::generators::position_id - Rust +nautilus_common::generators::position_id - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_common/generators/position_id/struct.PositionIdGenerator.html b/nightly/core/nautilus_common/generators/position_id/struct.PositionIdGenerator.html index 02dafb1b317a..6ce87577c4a9 100644 --- a/nightly/core/nautilus_common/generators/position_id/struct.PositionIdGenerator.html +++ b/nightly/core/nautilus_common/generators/position_id/struct.PositionIdGenerator.html @@ -1,4 +1,4 @@ -PositionIdGenerator in nautilus_common::generators::position_id - Rust +PositionIdGenerator in nautilus_common::generators::position_id - Rust
#[repr(C)]
pub struct PositionIdGenerator { /* private fields */ }

Implementations§

source§

impl PositionIdGenerator

source

pub fn new(trader_id: TraderId, clock: &'static AtomicTime) -> Self

source

pub fn set_count(&mut self, count: usize, strategy_id: StrategyId)

source

pub fn reset(&mut self)

source

pub fn count(&self, strategy_id: StrategyId) -> usize

source

pub fn generate(&mut self, strategy_id: StrategyId, flipped: bool) -> PositionId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where @@ -10,8 +10,8 @@

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/handlers/fn.dummy_callable.html b/nightly/core/nautilus_common/handlers/fn.dummy_callable.html index e570ec9db7c0..4b97ad08d7d3 100644 --- a/nightly/core/nautilus_common/handlers/fn.dummy_callable.html +++ b/nightly/core/nautilus_common/handlers/fn.dummy_callable.html @@ -1,4 +1,4 @@ -dummy_callable in nautilus_common::handlers - Rust +dummy_callable in nautilus_common::handlers - Rust
#[no_mangle]
 pub extern "C" fn dummy_callable(
     c: PyCallableWrapper
diff --git a/nightly/core/nautilus_common/handlers/index.html b/nightly/core/nautilus_common/handlers/index.html
index 3e5129a5489d..ed8c201c1045 100644
--- a/nightly/core/nautilus_common/handlers/index.html
+++ b/nightly/core/nautilus_common/handlers/index.html
@@ -1,2 +1,2 @@
-nautilus_common::handlers - Rust
+nautilus_common::handlers - Rust
     
\ No newline at end of file diff --git a/nightly/core/nautilus_common/handlers/struct.EventHandler.html b/nightly/core/nautilus_common/handlers/struct.EventHandler.html index a13b35c1fabb..4ad460d3aedc 100644 --- a/nightly/core/nautilus_common/handlers/struct.EventHandler.html +++ b/nightly/core/nautilus_common/handlers/struct.EventHandler.html @@ -1,4 +1,4 @@ -EventHandler in nautilus_common::handlers - Rust +EventHandler in nautilus_common::handlers - Rust
pub struct EventHandler { /* private fields */ }

Implementations§

source§

impl EventHandler

source

pub fn new( py_callback: Option<PyObject>, callback: Option<SafeTimeEventCallback> @@ -17,8 +17,8 @@

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> PyErrArguments for T
where T: IntoPy<Py<PyAny>> + Send + Sync,

§

fn arguments(self, py: Python<'_>) -> Py<PyAny>

Arguments for exception
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/handlers/struct.MessageHandler.html b/nightly/core/nautilus_common/handlers/struct.MessageHandler.html index e86c6211c3d1..9860af4f6217 100644 --- a/nightly/core/nautilus_common/handlers/struct.MessageHandler.html +++ b/nightly/core/nautilus_common/handlers/struct.MessageHandler.html @@ -1,4 +1,4 @@ -MessageHandler in nautilus_common::handlers - Rust +MessageHandler in nautilus_common::handlers - Rust
pub struct MessageHandler {
     pub handler_id: Ustr,
     /* private fields */
@@ -19,8 +19,8 @@
 
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> PyErrArguments for T
where T: IntoPy<Py<PyAny>> + Send + Sync,

§

fn arguments(self, py: Python<'_>) -> Py<PyAny>

Arguments for exception
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/handlers/struct.PyCallableWrapper.html b/nightly/core/nautilus_common/handlers/struct.PyCallableWrapper.html index 1cd240bd721a..63a729e9ee6c 100644 --- a/nightly/core/nautilus_common/handlers/struct.PyCallableWrapper.html +++ b/nightly/core/nautilus_common/handlers/struct.PyCallableWrapper.html @@ -1,4 +1,4 @@ -PyCallableWrapper in nautilus_common::handlers - Rust +PyCallableWrapper in nautilus_common::handlers - Rust
#[repr(C)]
pub struct PyCallableWrapper { pub ptr: *mut PyObject, }

Fields§

§ptr: *mut PyObject

Trait Implementations§

source§

impl Clone for PyCallableWrapper

source§

fn clone(&self) -> PyCallableWrapper

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PyCallableWrapper

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for PyCallableWrapper

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where @@ -13,8 +13,8 @@ From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/handlers/struct.SafeMessageCallback.html b/nightly/core/nautilus_common/handlers/struct.SafeMessageCallback.html index d274ab236219..8e5f95d41408 100644 --- a/nightly/core/nautilus_common/handlers/struct.SafeMessageCallback.html +++ b/nightly/core/nautilus_common/handlers/struct.SafeMessageCallback.html @@ -1,4 +1,4 @@ -SafeMessageCallback in nautilus_common::handlers - Rust +SafeMessageCallback in nautilus_common::handlers - Rust
pub struct SafeMessageCallback {
     pub callback: Arc<dyn Fn(Message) + Send>,
 }

Fields§

§callback: Arc<dyn Fn(Message) + Send>

Trait Implementations§

source§

impl Clone for SafeMessageCallback

source§

fn clone(&self) -> SafeMessageCallback

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Send for SafeMessageCallback

source§

impl Sync for SafeMessageCallback

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where @@ -13,8 +13,8 @@ From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/handlers/struct.SafeTimeEventCallback.html b/nightly/core/nautilus_common/handlers/struct.SafeTimeEventCallback.html index 418b198dafda..a0276a148f36 100644 --- a/nightly/core/nautilus_common/handlers/struct.SafeTimeEventCallback.html +++ b/nightly/core/nautilus_common/handlers/struct.SafeTimeEventCallback.html @@ -1,4 +1,4 @@ -SafeTimeEventCallback in nautilus_common::handlers - Rust +SafeTimeEventCallback in nautilus_common::handlers - Rust
pub struct SafeTimeEventCallback {
     pub callback: Arc<dyn Fn(TimeEvent) + Send>,
 }

Fields§

§callback: Arc<dyn Fn(TimeEvent) + Send>

Trait Implementations§

source§

impl Clone for SafeTimeEventCallback

source§

fn clone(&self) -> SafeTimeEventCallback

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Send for SafeTimeEventCallback

source§

impl Sync for SafeTimeEventCallback

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where @@ -13,8 +13,8 @@ From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/index.html b/nightly/core/nautilus_common/index.html index ce018fff0377..e1236be14fd4 100644 --- a/nightly/core/nautilus_common/index.html +++ b/nightly/core/nautilus_common/index.html @@ -1,3 +1,3 @@ -nautilus_common - Rust
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/logging/fn.init_logging.html b/nightly/core/nautilus_common/logging/fn.init_logging.html index 2b4aec63f32d..876e987fa600 100644 --- a/nightly/core/nautilus_common/logging/fn.init_logging.html +++ b/nightly/core/nautilus_common/logging/fn.init_logging.html @@ -1,4 +1,4 @@ -init_logging in nautilus_common::logging - Rust +init_logging in nautilus_common::logging - Rust
pub fn init_logging(
     trader_id: TraderId,
     instance_id: UUID4,
diff --git a/nightly/core/nautilus_common/logging/fn.init_tracing.html b/nightly/core/nautilus_common/logging/fn.init_tracing.html
index ab421edd1564..2ece244a1fc0 100644
--- a/nightly/core/nautilus_common/logging/fn.init_tracing.html
+++ b/nightly/core/nautilus_common/logging/fn.init_tracing.html
@@ -1,4 +1,4 @@
-init_tracing in nautilus_common::logging - Rust
+init_tracing in nautilus_common::logging - Rust
     
pub fn init_tracing()
Expand description

Initialize tracing.

Tracing is meant to be used to trace/debug async Rust code. It can be configured to filter modules and write up to a specific level only using diff --git a/nightly/core/nautilus_common/logging/fn.log.html b/nightly/core/nautilus_common/logging/fn.log.html index 2f6a35a3cc51..5088a34311ff 100644 --- a/nightly/core/nautilus_common/logging/fn.log.html +++ b/nightly/core/nautilus_common/logging/fn.log.html @@ -1,2 +1,2 @@ -log in nautilus_common::logging - Rust

+log in nautilus_common::logging - Rust

Function nautilus_common::logging::log

source ·
pub fn log(level: LogLevel, color: LogColor, component: Ustr, message: &str)
\ No newline at end of file diff --git a/nightly/core/nautilus_common/logging/fn.logging_clock_set_realtime_mode.html b/nightly/core/nautilus_common/logging/fn.logging_clock_set_realtime_mode.html index ee94df405068..46e4bde38c15 100644 --- a/nightly/core/nautilus_common/logging/fn.logging_clock_set_realtime_mode.html +++ b/nightly/core/nautilus_common/logging/fn.logging_clock_set_realtime_mode.html @@ -1,4 +1,4 @@ -logging_clock_set_realtime_mode in nautilus_common::logging - Rust +logging_clock_set_realtime_mode in nautilus_common::logging - Rust
#[no_mangle]
 pub extern "C" fn logging_clock_set_realtime_mode()
Expand description

Sets the global logging clock to real-time mode.

\ No newline at end of file diff --git a/nightly/core/nautilus_common/logging/fn.logging_clock_set_static_mode.html b/nightly/core/nautilus_common/logging/fn.logging_clock_set_static_mode.html index b648166f3f7a..74b9636f5b61 100644 --- a/nightly/core/nautilus_common/logging/fn.logging_clock_set_static_mode.html +++ b/nightly/core/nautilus_common/logging/fn.logging_clock_set_static_mode.html @@ -1,4 +1,4 @@ -logging_clock_set_static_mode in nautilus_common::logging - Rust +logging_clock_set_static_mode in nautilus_common::logging - Rust
#[no_mangle]
 pub extern "C" fn logging_clock_set_static_mode()
Expand description

Sets the global logging clock to static mode.

\ No newline at end of file diff --git a/nightly/core/nautilus_common/logging/fn.logging_clock_set_static_time.html b/nightly/core/nautilus_common/logging/fn.logging_clock_set_static_time.html index aa53805dcf4f..fff7928f4ce6 100644 --- a/nightly/core/nautilus_common/logging/fn.logging_clock_set_static_time.html +++ b/nightly/core/nautilus_common/logging/fn.logging_clock_set_static_time.html @@ -1,4 +1,4 @@ -logging_clock_set_static_time in nautilus_common::logging - Rust +logging_clock_set_static_time in nautilus_common::logging - Rust
#[no_mangle]
 pub extern "C" fn logging_clock_set_static_time(time_ns: u64)
Expand description

Sets the global logging clock static time with the given UNIX time (nanoseconds).

\ No newline at end of file diff --git a/nightly/core/nautilus_common/logging/fn.logging_is_colored.html b/nightly/core/nautilus_common/logging/fn.logging_is_colored.html index f964c8d0c785..ec8a3590a28a 100644 --- a/nightly/core/nautilus_common/logging/fn.logging_is_colored.html +++ b/nightly/core/nautilus_common/logging/fn.logging_is_colored.html @@ -1,4 +1,4 @@ -logging_is_colored in nautilus_common::logging - Rust +logging_is_colored in nautilus_common::logging - Rust
#[no_mangle]
 pub extern "C" fn logging_is_colored() -> u8
Expand description

Returns whether the core logger is using ANSI colors.

\ No newline at end of file diff --git a/nightly/core/nautilus_common/logging/fn.logging_is_initialized.html b/nightly/core/nautilus_common/logging/fn.logging_is_initialized.html index 751f39c0e41b..4026be8e8d4d 100644 --- a/nightly/core/nautilus_common/logging/fn.logging_is_initialized.html +++ b/nightly/core/nautilus_common/logging/fn.logging_is_initialized.html @@ -1,4 +1,4 @@ -logging_is_initialized in nautilus_common::logging - Rust +logging_is_initialized in nautilus_common::logging - Rust
#[no_mangle]
 pub extern "C" fn logging_is_initialized() -> u8
Expand description

Returns whether the core logger is enabled.

\ No newline at end of file diff --git a/nightly/core/nautilus_common/logging/fn.logging_set_bypass.html b/nightly/core/nautilus_common/logging/fn.logging_set_bypass.html index 92ba2c5ca7f0..a324f5cbf08d 100644 --- a/nightly/core/nautilus_common/logging/fn.logging_set_bypass.html +++ b/nightly/core/nautilus_common/logging/fn.logging_set_bypass.html @@ -1,4 +1,4 @@ -logging_set_bypass in nautilus_common::logging - Rust +logging_set_bypass in nautilus_common::logging - Rust
#[no_mangle]
 pub extern "C" fn logging_set_bypass()
Expand description

Sets the logging system to bypass mode.

\ No newline at end of file diff --git a/nightly/core/nautilus_common/logging/fn.logging_shutdown.html b/nightly/core/nautilus_common/logging/fn.logging_shutdown.html index 58cc3e9727ed..7f6881eafe57 100644 --- a/nightly/core/nautilus_common/logging/fn.logging_shutdown.html +++ b/nightly/core/nautilus_common/logging/fn.logging_shutdown.html @@ -1,4 +1,4 @@ -logging_shutdown in nautilus_common::logging - Rust +logging_shutdown in nautilus_common::logging - Rust
#[no_mangle]
 pub extern "C" fn logging_shutdown()
Expand description

Shuts down the logging system.

\ No newline at end of file diff --git a/nightly/core/nautilus_common/logging/fn.map_log_level_to_filter.html b/nightly/core/nautilus_common/logging/fn.map_log_level_to_filter.html index 8ef32c9fd639..32ab734c0115 100644 --- a/nightly/core/nautilus_common/logging/fn.map_log_level_to_filter.html +++ b/nightly/core/nautilus_common/logging/fn.map_log_level_to_filter.html @@ -1,2 +1,2 @@ -map_log_level_to_filter in nautilus_common::logging - Rust +map_log_level_to_filter in nautilus_common::logging - Rust
pub fn map_log_level_to_filter(log_level: LogLevel) -> LevelFilter
\ No newline at end of file diff --git a/nightly/core/nautilus_common/logging/fn.parse_component_levels.html b/nightly/core/nautilus_common/logging/fn.parse_component_levels.html index 26c3fae97305..225cb804333a 100644 --- a/nightly/core/nautilus_common/logging/fn.parse_component_levels.html +++ b/nightly/core/nautilus_common/logging/fn.parse_component_levels.html @@ -1,4 +1,4 @@ -parse_component_levels in nautilus_common::logging - Rust +parse_component_levels in nautilus_common::logging - Rust
pub fn parse_component_levels(
     original_map: Option<HashMap<String, Value>>
 ) -> HashMap<Ustr, LevelFilter>
\ No newline at end of file diff --git a/nightly/core/nautilus_common/logging/fn.parse_level_filter_str.html b/nightly/core/nautilus_common/logging/fn.parse_level_filter_str.html index 4a0fcd15d721..dad5daef142a 100644 --- a/nightly/core/nautilus_common/logging/fn.parse_level_filter_str.html +++ b/nightly/core/nautilus_common/logging/fn.parse_level_filter_str.html @@ -1,2 +1,2 @@ -parse_level_filter_str in nautilus_common::logging - Rust +parse_level_filter_str in nautilus_common::logging - Rust
pub fn parse_level_filter_str(s: &str) -> LevelFilter
\ No newline at end of file diff --git a/nightly/core/nautilus_common/logging/headers/fn.log_header.html b/nightly/core/nautilus_common/logging/headers/fn.log_header.html index e0cec9219206..2ef115fa370d 100644 --- a/nightly/core/nautilus_common/logging/headers/fn.log_header.html +++ b/nightly/core/nautilus_common/logging/headers/fn.log_header.html @@ -1,4 +1,4 @@ -log_header in nautilus_common::logging::headers - Rust +log_header in nautilus_common::logging::headers - Rust
pub fn log_header(
     trader_id: TraderId,
     machine_id: &str,
diff --git a/nightly/core/nautilus_common/logging/headers/fn.log_sysinfo.html b/nightly/core/nautilus_common/logging/headers/fn.log_sysinfo.html
index 3c5b6c352145..440fe5a76bec 100644
--- a/nightly/core/nautilus_common/logging/headers/fn.log_sysinfo.html
+++ b/nightly/core/nautilus_common/logging/headers/fn.log_sysinfo.html
@@ -1,2 +1,2 @@
-log_sysinfo in nautilus_common::logging::headers - Rust
+log_sysinfo in nautilus_common::logging::headers - Rust
     
pub fn log_sysinfo(component: Ustr)
\ No newline at end of file diff --git a/nightly/core/nautilus_common/logging/headers/index.html b/nightly/core/nautilus_common/logging/headers/index.html index 83520cff6825..0be30e4ccf34 100644 --- a/nightly/core/nautilus_common/logging/headers/index.html +++ b/nightly/core/nautilus_common/logging/headers/index.html @@ -1,2 +1,2 @@ -nautilus_common::logging::headers - Rust +nautilus_common::logging::headers - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_common/logging/index.html b/nightly/core/nautilus_common/logging/index.html index a8ce1e44a811..0072a60bda8c 100644 --- a/nightly/core/nautilus_common/logging/index.html +++ b/nightly/core/nautilus_common/logging/index.html @@ -1,2 +1,2 @@ -nautilus_common::logging - Rust +nautilus_common::logging - Rust

Modules§

Structs§

Enums§

Functions§

\ No newline at end of file diff --git a/nightly/core/nautilus_common/logging/struct.LogLine.html b/nightly/core/nautilus_common/logging/struct.LogLine.html index d7b655468ff3..a81aa9248ceb 100644 --- a/nightly/core/nautilus_common/logging/struct.LogLine.html +++ b/nightly/core/nautilus_common/logging/struct.LogLine.html @@ -1,4 +1,4 @@ -LogLine in nautilus_common::logging - Rust +LogLine in nautilus_common::logging - Rust
pub struct LogLine {
     pub level: Level,
     pub color: LogColor,
@@ -25,8 +25,8 @@
     T: Display,
source§

fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

Adds separators according to the given SeparatorPolicy. Read more
source§

fn separate_with_commas(&self) -> String

Inserts a comma every three digits from the right. Read more
source§

fn separate_with_spaces(&self) -> String

Inserts a space every three digits from the right. Read more
source§

fn separate_with_dots(&self) -> String

Inserts a period every three digits from the right. Read more
source§

fn separate_with_underscores(&self) -> String

Inserts an underscore every three digits from the right. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/logging/struct.LogLineWrapper.html b/nightly/core/nautilus_common/logging/struct.LogLineWrapper.html index 47aa519ecb95..1cfa6c2ffd4d 100644 --- a/nightly/core/nautilus_common/logging/struct.LogLineWrapper.html +++ b/nightly/core/nautilus_common/logging/struct.LogLineWrapper.html @@ -1,4 +1,4 @@ -LogLineWrapper in nautilus_common::logging - Rust +LogLineWrapper in nautilus_common::logging - Rust
pub struct LogLineWrapper { /* private fields */ }

Implementations§

source§

impl LogLineWrapper

source

pub fn new(line: LogLine, trader_id: Ustr, timestamp: UnixNanos) -> Self

source

pub fn get_string(&mut self) -> &str

source

pub fn get_colored(&mut self) -> &str

source

pub fn get_json(&self) -> String

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where @@ -10,8 +10,8 @@

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/logging/struct.Logger.html b/nightly/core/nautilus_common/logging/struct.Logger.html index 287ee8f3bc0c..9ff4b1a78727 100644 --- a/nightly/core/nautilus_common/logging/struct.Logger.html +++ b/nightly/core/nautilus_common/logging/struct.Logger.html @@ -1,4 +1,4 @@ -Logger in nautilus_common::logging - Rust +Logger in nautilus_common::logging - Rust
pub struct Logger {
     pub config: LoggerConfig,
     /* private fields */
@@ -27,8 +27,8 @@
 

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/logging/struct.LoggerConfig.html b/nightly/core/nautilus_common/logging/struct.LoggerConfig.html index d9e96940af38..1aa1e1207f88 100644 --- a/nightly/core/nautilus_common/logging/struct.LoggerConfig.html +++ b/nightly/core/nautilus_common/logging/struct.LoggerConfig.html @@ -1,4 +1,4 @@ -LoggerConfig in nautilus_common::logging - Rust +LoggerConfig in nautilus_common::logging - Rust
pub struct LoggerConfig {
     pub stdout_level: LevelFilter,
     pub fileout_level: LevelFilter,
@@ -18,7 +18,7 @@
 ) -> Self
source

pub fn from_spec(spec: &str) -> Self

source

pub fn from_env() -> Self

source§

impl LoggerConfig

source

pub fn py_from_spec(spec: String) -> Self

Trait Implementations§

source§

impl Clone for LoggerConfig

source§

fn clone(&self) -> LoggerConfig

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LoggerConfig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for LoggerConfig

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl IntoPy<Py<PyAny>> for LoggerConfig

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl PartialEq for LoggerConfig

source§

fn eq(&self, other: &LoggerConfig) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PyClass for LoggerConfig

§

type Frozen = False

Whether the pyclass is frozen. Read more
source§

impl PyClassImpl for LoggerConfig

source§

const IS_BASETYPE: bool = false

#[pyclass(subclass)]
source§

const IS_SUBCLASS: bool = false

#[pyclass(extends=…)]
source§

const IS_MAPPING: bool = false

#[pyclass(mapping)]
source§

const IS_SEQUENCE: bool = false

#[pyclass(sequence)]
§

type BaseType = PyAny

Base class
§

type ThreadChecker = SendablePyClass<LoggerConfig>

This handles following two situations: Read more
§

type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

Immutable or mutable
§

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.
§

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.
§

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LoggerConfig

§

type Holder = Option<PyRef<'py, LoggerConfig>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LoggerConfig

§

type Holder = Option<PyRefMut<'py, LoggerConfig>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyMethods<LoggerConfig> for PyClassImplCollector<LoggerConfig>

source§

fn py_methods(self) -> &'static PyClassItems

source§

impl PyTypeInfo for LoggerConfig

§

type AsRefTarget = PyCell<LoggerConfig>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "LoggerConfig"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.
source§

impl Eq for LoggerConfig

source§

impl StructuralPartialEq for LoggerConfig

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +#[pyclass(extends=PyDict)], it’s PyDict.

source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LoggerConfig

§

type Holder = Option<PyRef<'py, LoggerConfig>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LoggerConfig

§

type Holder = Option<PyRefMut<'py, LoggerConfig>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyMethods<LoggerConfig> for PyClassImplCollector<LoggerConfig>

source§

fn py_methods(self) -> &'static PyClassItems

source§

impl PyTypeInfo for LoggerConfig

§

type AsRefTarget = PyCell<LoggerConfig>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "LoggerConfig"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.
source§

impl Eq for LoggerConfig

source§

impl StructuralPartialEq for LoggerConfig

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where @@ -36,8 +36,8 @@

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> PyErrArguments for T
where T: IntoPy<Py<PyAny>> + Send + Sync,

§

fn arguments(self, py: Python<'_>) -> Py<PyAny>

Arguments for exception
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/logging/writer/index.html b/nightly/core/nautilus_common/logging/writer/index.html index 31a6ef417812..302296c29479 100644 --- a/nightly/core/nautilus_common/logging/writer/index.html +++ b/nightly/core/nautilus_common/logging/writer/index.html @@ -1,2 +1,2 @@ -nautilus_common::logging::writer - Rust +nautilus_common::logging::writer - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_common/logging/writer/struct.FileWriter.html b/nightly/core/nautilus_common/logging/writer/struct.FileWriter.html index 09cb9b65e008..f2e9973028d7 100644 --- a/nightly/core/nautilus_common/logging/writer/struct.FileWriter.html +++ b/nightly/core/nautilus_common/logging/writer/struct.FileWriter.html @@ -1,4 +1,4 @@ -FileWriter in nautilus_common::logging::writer - Rust +FileWriter in nautilus_common::logging::writer - Rust
pub struct FileWriter {
     pub json_format: bool,
     /* private fields */
@@ -18,8 +18,8 @@
 

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/logging/writer/struct.FileWriterConfig.html b/nightly/core/nautilus_common/logging/writer/struct.FileWriterConfig.html index 06abd99f812d..8e36831e2b5d 100644 --- a/nightly/core/nautilus_common/logging/writer/struct.FileWriterConfig.html +++ b/nightly/core/nautilus_common/logging/writer/struct.FileWriterConfig.html @@ -1,4 +1,4 @@ -FileWriterConfig in nautilus_common::logging::writer - Rust +FileWriterConfig in nautilus_common::logging::writer - Rust
pub struct FileWriterConfig {
     pub directory: Option<String>,
     pub file_name: Option<String>,
@@ -26,8 +26,8 @@
 
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> PyErrArguments for T
where T: IntoPy<Py<PyAny>> + Send + Sync,

§

fn arguments(self, py: Python<'_>) -> Py<PyAny>

Arguments for exception
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/logging/writer/struct.StderrWriter.html b/nightly/core/nautilus_common/logging/writer/struct.StderrWriter.html index 57bfa575cd6a..e5485e3c426d 100644 --- a/nightly/core/nautilus_common/logging/writer/struct.StderrWriter.html +++ b/nightly/core/nautilus_common/logging/writer/struct.StderrWriter.html @@ -1,4 +1,4 @@ -StderrWriter in nautilus_common::logging::writer - Rust +StderrWriter in nautilus_common::logging::writer - Rust
pub struct StderrWriter {
     pub is_colored: bool,
     /* private fields */
@@ -13,8 +13,8 @@
 

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/logging/writer/struct.StdoutWriter.html b/nightly/core/nautilus_common/logging/writer/struct.StdoutWriter.html index 0c08d0705a39..6a194cb26f80 100644 --- a/nightly/core/nautilus_common/logging/writer/struct.StdoutWriter.html +++ b/nightly/core/nautilus_common/logging/writer/struct.StdoutWriter.html @@ -1,4 +1,4 @@ -StdoutWriter in nautilus_common::logging::writer - Rust +StdoutWriter in nautilus_common::logging::writer - Rust
pub struct StdoutWriter {
     pub is_colored: bool,
     /* private fields */
@@ -13,8 +13,8 @@
 

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/logging/writer/trait.LogWriter.html b/nightly/core/nautilus_common/logging/writer/trait.LogWriter.html index fb126df6f12e..043385c9a982 100644 --- a/nightly/core/nautilus_common/logging/writer/trait.LogWriter.html +++ b/nightly/core/nautilus_common/logging/writer/trait.LogWriter.html @@ -1,4 +1,4 @@ -LogWriter in nautilus_common::logging::writer - Rust +LogWriter in nautilus_common::logging::writer - Rust
pub trait LogWriter {
     // Required methods
     fn write(&mut self, line: &str);
diff --git a/nightly/core/nautilus_common/msgbus/fn.is_matching.html b/nightly/core/nautilus_common/msgbus/fn.is_matching.html
index 35fcf3dc8ea4..4d5209a3bfaa 100644
--- a/nightly/core/nautilus_common/msgbus/fn.is_matching.html
+++ b/nightly/core/nautilus_common/msgbus/fn.is_matching.html
@@ -1,4 +1,4 @@
-is_matching in nautilus_common::msgbus - Rust
+is_matching in nautilus_common::msgbus - Rust
     
pub fn is_matching(topic: &Ustr, pattern: &Ustr) -> bool
Expand description

Match a topic and a string pattern pattern can contains - ‘*’ - match 0 or more characters after this diff --git a/nightly/core/nautilus_common/msgbus/index.html b/nightly/core/nautilus_common/msgbus/index.html index 291ea51bdaa0..b23047ea0d80 100644 --- a/nightly/core/nautilus_common/msgbus/index.html +++ b/nightly/core/nautilus_common/msgbus/index.html @@ -1,4 +1,4 @@ -nautilus_common::msgbus - Rust

+nautilus_common::msgbus - Rust

Module nautilus_common::msgbus

source ·

Structs§

Functions§

source§

fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

Adds separators according to the given SeparatorPolicy. Read more
source§

fn separate_with_commas(&self) -> String

Inserts a comma every three digits from the right. Read more
source§

fn separate_with_spaces(&self) -> String

Inserts a space every three digits from the right. Read more
source§

fn separate_with_dots(&self) -> String

Inserts a period every three digits from the right. Read more
source§

fn separate_with_underscores(&self) -> String

Inserts an underscore every three digits from the right. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/msgbus/struct.MessageBus.html b/nightly/core/nautilus_common/msgbus/struct.MessageBus.html index d0b7219cdada..3053f04605e5 100644 --- a/nightly/core/nautilus_common/msgbus/struct.MessageBus.html +++ b/nightly/core/nautilus_common/msgbus/struct.MessageBus.html @@ -1,4 +1,4 @@ -MessageBus in nautilus_common::msgbus - Rust +MessageBus in nautilus_common::msgbus - Rust
pub struct MessageBus {
     pub trader_id: TraderId,
     pub instance_id: UUID4,
@@ -87,8 +87,8 @@
 From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/msgbus/struct.Subscription.html b/nightly/core/nautilus_common/msgbus/struct.Subscription.html index 8cca252a9891..6f181b647ace 100644 --- a/nightly/core/nautilus_common/msgbus/struct.Subscription.html +++ b/nightly/core/nautilus_common/msgbus/struct.Subscription.html @@ -1,4 +1,4 @@ -Subscription in nautilus_common::msgbus - Rust +Subscription in nautilus_common::msgbus - Rust
pub struct Subscription {
     pub handler: MessageHandler,
     pub topic: Ustr,
@@ -36,8 +36,8 @@
 From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/python/fn.common.html b/nightly/core/nautilus_common/python/fn.common.html index 8b34678b3d62..548efc7bf429 100644 --- a/nightly/core/nautilus_common/python/fn.common.html +++ b/nightly/core/nautilus_common/python/fn.common.html @@ -1,3 +1,3 @@ -common in nautilus_common::python - Rust +common in nautilus_common::python - Rust

Function nautilus_common::python::common

source ·
pub fn common(_: Python<'_>, m: &PyModule) -> PyResult<()>
Expand description

Loaded as nautilus_pyo3.common

\ No newline at end of file diff --git a/nightly/core/nautilus_common/python/index.html b/nightly/core/nautilus_common/python/index.html index 3cd45722637d..adb3b41488ce 100644 --- a/nightly/core/nautilus_common/python/index.html +++ b/nightly/core/nautilus_common/python/index.html @@ -1,2 +1,2 @@ -nautilus_common::python - Rust +nautilus_common::python - Rust

Module nautilus_common::python

source ·

Modules§

Functions§

  • Loaded as nautilus_pyo3.common
\ No newline at end of file diff --git a/nightly/core/nautilus_common/python/logging/fn.py_init_logging.html b/nightly/core/nautilus_common/python/logging/fn.py_init_logging.html index 5a67d7ffbfaa..5780e7e8aaf6 100644 --- a/nightly/core/nautilus_common/python/logging/fn.py_init_logging.html +++ b/nightly/core/nautilus_common/python/logging/fn.py_init_logging.html @@ -1,4 +1,4 @@ -py_init_logging in nautilus_common::python::logging - Rust +py_init_logging in nautilus_common::python::logging - Rust
pub fn py_init_logging(
     trader_id: TraderId,
     instance_id: UUID4,
diff --git a/nightly/core/nautilus_common/python/logging/fn.py_init_tracing.html b/nightly/core/nautilus_common/python/logging/fn.py_init_tracing.html
index da5c8b309165..b182643298b2 100644
--- a/nightly/core/nautilus_common/python/logging/fn.py_init_tracing.html
+++ b/nightly/core/nautilus_common/python/logging/fn.py_init_tracing.html
@@ -1,4 +1,4 @@
-py_init_tracing in nautilus_common::python::logging - Rust
+py_init_tracing in nautilus_common::python::logging - Rust
     
pub fn py_init_tracing()
Expand description

Initialize tracing.

Tracing is meant to be used to trace/debug async Rust code. It can be configured to filter modules and write up to a specific level only using diff --git a/nightly/core/nautilus_common/python/logging/fn.py_logger_log.html b/nightly/core/nautilus_common/python/logging/fn.py_logger_log.html index 99fee64914aa..b9175d3858ed 100644 --- a/nightly/core/nautilus_common/python/logging/fn.py_logger_log.html +++ b/nightly/core/nautilus_common/python/logging/fn.py_logger_log.html @@ -1,4 +1,4 @@ -py_logger_log in nautilus_common::python::logging - Rust

+py_logger_log in nautilus_common::python::logging - Rust
pub fn py_logger_log(
     level: LogLevel,
     color: LogColor,
diff --git a/nightly/core/nautilus_common/python/logging/index.html b/nightly/core/nautilus_common/python/logging/index.html
index 740653640e7d..c5c74b7735b1 100644
--- a/nightly/core/nautilus_common/python/logging/index.html
+++ b/nightly/core/nautilus_common/python/logging/index.html
@@ -1,2 +1,2 @@
-nautilus_common::python::logging - Rust
+nautilus_common::python::logging - Rust
     

Functions§

\ No newline at end of file diff --git a/nightly/core/nautilus_common/python/timer/index.html b/nightly/core/nautilus_common/python/timer/index.html index 33487f7dadc7..d816d063a774 100644 --- a/nightly/core/nautilus_common/python/timer/index.html +++ b/nightly/core/nautilus_common/python/timer/index.html @@ -1,2 +1,2 @@ -nautilus_common::python::timer - Rust +nautilus_common::python::timer - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_common/python/versioning/fn.get_python_package_version.html b/nightly/core/nautilus_common/python/versioning/fn.get_python_package_version.html index da09a0825a4c..221774fa162b 100644 --- a/nightly/core/nautilus_common/python/versioning/fn.get_python_package_version.html +++ b/nightly/core/nautilus_common/python/versioning/fn.get_python_package_version.html @@ -1,2 +1,2 @@ -get_python_package_version in nautilus_common::python::versioning - Rust +get_python_package_version in nautilus_common::python::versioning - Rust
pub fn get_python_package_version(package_name: &str) -> String
\ No newline at end of file diff --git a/nightly/core/nautilus_common/python/versioning/fn.get_python_version.html b/nightly/core/nautilus_common/python/versioning/fn.get_python_version.html index bccbc2477e5a..35d12131d3b0 100644 --- a/nightly/core/nautilus_common/python/versioning/fn.get_python_version.html +++ b/nightly/core/nautilus_common/python/versioning/fn.get_python_version.html @@ -1,2 +1,2 @@ -get_python_version in nautilus_common::python::versioning - Rust +get_python_version in nautilus_common::python::versioning - Rust
pub fn get_python_version() -> String
\ No newline at end of file diff --git a/nightly/core/nautilus_common/python/versioning/index.html b/nightly/core/nautilus_common/python/versioning/index.html index 0be1bd4644c0..7795e90e7bc6 100644 --- a/nightly/core/nautilus_common/python/versioning/index.html +++ b/nightly/core/nautilus_common/python/versioning/index.html @@ -1,2 +1,2 @@ -nautilus_common::python::versioning - Rust +nautilus_common::python::versioning - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_common/redis/fn.get_buffer_interval.html b/nightly/core/nautilus_common/redis/fn.get_buffer_interval.html index 0bf009318daa..c6b0ac5b3a1d 100644 --- a/nightly/core/nautilus_common/redis/fn.get_buffer_interval.html +++ b/nightly/core/nautilus_common/redis/fn.get_buffer_interval.html @@ -1,2 +1,2 @@ -get_buffer_interval in nautilus_common::redis - Rust +get_buffer_interval in nautilus_common::redis - Rust
pub fn get_buffer_interval(config: &HashMap<String, Value>) -> Duration
\ No newline at end of file diff --git a/nightly/core/nautilus_common/redis/fn.get_redis_url.html b/nightly/core/nautilus_common/redis/fn.get_redis_url.html index 6d664ac98999..2639d0ef32a8 100644 --- a/nightly/core/nautilus_common/redis/fn.get_redis_url.html +++ b/nightly/core/nautilus_common/redis/fn.get_redis_url.html @@ -1,2 +1,2 @@ -get_redis_url in nautilus_common::redis - Rust +get_redis_url in nautilus_common::redis - Rust
pub fn get_redis_url(config: &HashMap<String, Value>) -> String
\ No newline at end of file diff --git a/nightly/core/nautilus_common/redis/fn.handle_messages_with_redis.html b/nightly/core/nautilus_common/redis/fn.handle_messages_with_redis.html index 1c4be527603c..7704a6ac536f 100644 --- a/nightly/core/nautilus_common/redis/fn.handle_messages_with_redis.html +++ b/nightly/core/nautilus_common/redis/fn.handle_messages_with_redis.html @@ -1,4 +1,4 @@ -handle_messages_with_redis in nautilus_common::redis - Rust +handle_messages_with_redis in nautilus_common::redis - Rust
pub fn handle_messages_with_redis(
     rx: Receiver<BusMessage>,
     trader_id: TraderId,
diff --git a/nightly/core/nautilus_common/redis/index.html b/nightly/core/nautilus_common/redis/index.html
index 56fd5514d785..7965da581e0c 100644
--- a/nightly/core/nautilus_common/redis/index.html
+++ b/nightly/core/nautilus_common/redis/index.html
@@ -1,2 +1,2 @@
-nautilus_common::redis - Rust
+nautilus_common::redis - Rust
     
\ No newline at end of file diff --git a/nightly/core/nautilus_common/stubs/fn.order_factory.html b/nightly/core/nautilus_common/stubs/fn.order_factory.html index c8466abfdb7b..d76acdf0e0e5 100644 --- a/nightly/core/nautilus_common/stubs/fn.order_factory.html +++ b/nightly/core/nautilus_common/stubs/fn.order_factory.html @@ -1,2 +1,2 @@ -order_factory in nautilus_common::stubs - Rust +order_factory in nautilus_common::stubs - Rust
pub fn order_factory() -> OrderFactory
\ No newline at end of file diff --git a/nightly/core/nautilus_common/stubs/index.html b/nightly/core/nautilus_common/stubs/index.html index 2d7978638d22..dcd34538994f 100644 --- a/nightly/core/nautilus_common/stubs/index.html +++ b/nightly/core/nautilus_common/stubs/index.html @@ -1,2 +1,2 @@ -nautilus_common::stubs - Rust +nautilus_common::stubs - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_common/stubs/struct.order_factory.html b/nightly/core/nautilus_common/stubs/struct.order_factory.html index 535ae004307b..26092a0812ef 100644 --- a/nightly/core/nautilus_common/stubs/struct.order_factory.html +++ b/nightly/core/nautilus_common/stubs/struct.order_factory.html @@ -1,4 +1,4 @@ -order_factory in nautilus_common::stubs - Rust +order_factory in nautilus_common::stubs - Rust
pub struct order_factory {}

Implementations§

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where @@ -10,8 +10,8 @@

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/testing/fn.wait_until.html b/nightly/core/nautilus_common/testing/fn.wait_until.html index 6b77983c5377..5b976cf0f8c6 100644 --- a/nightly/core/nautilus_common/testing/fn.wait_until.html +++ b/nightly/core/nautilus_common/testing/fn.wait_until.html @@ -1,4 +1,4 @@ -wait_until in nautilus_common::testing - Rust +wait_until in nautilus_common::testing - Rust
pub fn wait_until<F>(condition: F, timeout: Duration)
where F: FnMut() -> bool,
Expand description

Repeatedly evaluates a condition with a delay until it becomes true or a timeout occurs.

§Arguments

diff --git a/nightly/core/nautilus_common/testing/index.html b/nightly/core/nautilus_common/testing/index.html index 652095de6776..bc404225d643 100644 --- a/nightly/core/nautilus_common/testing/index.html +++ b/nightly/core/nautilus_common/testing/index.html @@ -1,2 +1,2 @@ -nautilus_common::testing - Rust +nautilus_common::testing - Rust

Functions§

  • Repeatedly evaluates a condition with a delay until it becomes true or a timeout occurs.
\ No newline at end of file diff --git a/nightly/core/nautilus_common/timer/index.html b/nightly/core/nautilus_common/timer/index.html index 6b208f72b7b6..d5528c6d36ed 100644 --- a/nightly/core/nautilus_common/timer/index.html +++ b/nightly/core/nautilus_common/timer/index.html @@ -1,2 +1,2 @@ -nautilus_common::timer - Rust +nautilus_common::timer - Rust

Module nautilus_common::timer

source ·

Structs§

Traits§

\ No newline at end of file diff --git a/nightly/core/nautilus_common/timer/struct.TestTimer.html b/nightly/core/nautilus_common/timer/struct.TestTimer.html index 9f5771075cda..46e87e413275 100644 --- a/nightly/core/nautilus_common/timer/struct.TestTimer.html +++ b/nightly/core/nautilus_common/timer/struct.TestTimer.html @@ -1,4 +1,4 @@ -TestTimer in nautilus_common::timer - Rust +TestTimer in nautilus_common::timer - Rust
pub struct TestTimer {
     pub name: Ustr,
     pub interval_ns: u64,
@@ -18,86 +18,86 @@
 of events. A TimeEvent is appended for each time a next event is
 <= the given to_time_ns.

source

pub fn cancel(&mut self)

Cancels the timer (the timer will not generate an event).

-

Trait Implementations§

source§

impl Clone for TestTimer

source§

fn clone(&self) -> TestTimer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Iterator for TestTimer

§

type Item = (TimeEvent, u64)

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<Self::Item>

Advances the iterator and returns the next value. Read more
source§

fn next_chunk<const N: usize>( +

Trait Implementations§

source§

impl Clone for TestTimer

source§

fn clone(&self) -> TestTimer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Iterator for TestTimer

§

type Item = (TimeEvent, u64)

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<Self::Item>

Advances the iterator and returns the next value. Read more
source§

fn next_chunk<const N: usize>( &mut self ) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
where - Self: Sized,

🔬This is a nightly-only experimental API. (iter_next_chunk)
Advances the iterator and returns an array containing the next N values. Read more
1.0.0 · source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
1.0.0 · source§

fn count(self) -> usize
where - Self: Sized,

Consumes the iterator, counting the number of iterations and returning it. Read more
1.0.0 · source§

fn last(self) -> Option<Self::Item>
where - Self: Sized,

Consumes the iterator, returning the last element. Read more
source§

fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator by n elements. Read more
1.0.0 · source§

fn nth(&mut self, n: usize) -> Option<Self::Item>

Returns the nth element of the iterator. Read more
1.28.0 · source§

fn step_by(self, step: usize) -> StepBy<Self>
where + Self: Sized,

🔬This is a nightly-only experimental API. (iter_next_chunk)
Advances the iterator and returns an array containing the next N values. Read more
1.0.0 · source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
1.0.0 · source§

fn count(self) -> usize
where + Self: Sized,

Consumes the iterator, counting the number of iterations and returning it. Read more
1.0.0 · source§

fn last(self) -> Option<Self::Item>
where + Self: Sized,

Consumes the iterator, returning the last element. Read more
source§

fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator by n elements. Read more
1.0.0 · source§

fn nth(&mut self, n: usize) -> Option<Self::Item>

Returns the nth element of the iterator. Read more
1.28.0 · source§

fn step_by(self, step: usize) -> StepBy<Self>
where Self: Sized,

Creates an iterator starting at the same point, but stepping by -the given amount at each iteration. Read more
1.0.0 · source§

fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
where +the given amount at each iteration. Read more

1.0.0 · source§

fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
where Self: Sized, - U: IntoIterator<Item = Self::Item>,

Takes two iterators and creates a new iterator over both in sequence. Read more
1.0.0 · source§

fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
where + U: IntoIterator<Item = Self::Item>,

Takes two iterators and creates a new iterator over both in sequence. Read more
1.0.0 · source§

fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
where Self: Sized, - U: IntoIterator,

‘Zips up’ two iterators into a single iterator of pairs. Read more
source§

fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
where + U: IntoIterator,

‘Zips up’ two iterators into a single iterator of pairs. Read more
source§

fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
where Self: Sized, Self::Item: Clone,

🔬This is a nightly-only experimental API. (iter_intersperse)
Creates a new iterator which places a copy of separator between adjacent -items of the original iterator. Read more
source§

fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
where +items of the original iterator. Read more

source§

fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
where Self: Sized, G: FnMut() -> Self::Item,

🔬This is a nightly-only experimental API. (iter_intersperse)
Creates a new iterator which places an item generated by separator -between adjacent items of the original iterator. Read more
1.0.0 · source§

fn map<B, F>(self, f: F) -> Map<Self, F>
where +between adjacent items of the original iterator. Read more

1.0.0 · source§

fn map<B, F>(self, f: F) -> Map<Self, F>
where Self: Sized, F: FnMut(Self::Item) -> B,

Takes a closure and creates an iterator which calls that closure on each -element. Read more
1.21.0 · source§

fn for_each<F>(self, f: F)
where +element. Read more

1.21.0 · source§

fn for_each<F>(self, f: F)
where Self: Sized, - F: FnMut(Self::Item),

Calls a closure on each element of an iterator. Read more
1.0.0 · source§

fn filter<P>(self, predicate: P) -> Filter<Self, P>
where + F: FnMut(Self::Item),

Calls a closure on each element of an iterator. Read more
1.0.0 · source§

fn filter<P>(self, predicate: P) -> Filter<Self, P>
where Self: Sized, P: FnMut(&Self::Item) -> bool,

Creates an iterator which uses a closure to determine if an element -should be yielded. Read more
1.0.0 · source§

fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
where +should be yielded. Read more

1.0.0 · source§

fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
where Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both filters and maps. Read more
1.0.0 · source§

fn enumerate(self) -> Enumerate<Self>
where + F: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both filters and maps. Read more
1.0.0 · source§

fn enumerate(self) -> Enumerate<Self>
where Self: Sized,

Creates an iterator which gives the current iteration count as well as -the next value. Read more
1.0.0 · source§

fn peekable(self) -> Peekable<Self>
where +the next value. Read more

1.0.0 · source§

fn peekable(self) -> Peekable<Self>
where Self: Sized,

Creates an iterator which can use the peek and peek_mut methods to look at the next element of the iterator without consuming it. See -their documentation for more information. Read more
1.0.0 · source§

fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
where +their documentation for more information. Read more

1.0.0 · source§

fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Creates an iterator that skips elements based on a predicate. Read more
1.0.0 · source§

fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
where + P: FnMut(&Self::Item) -> bool,

Creates an iterator that skips elements based on a predicate. Read more
1.0.0 · source§

fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Creates an iterator that yields elements based on a predicate. Read more
1.57.0 · source§

fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
where + P: FnMut(&Self::Item) -> bool,

Creates an iterator that yields elements based on a predicate. Read more
1.57.0 · source§

fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
where Self: Sized, - P: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both yields elements based on a predicate and maps. Read more
1.0.0 · source§

fn skip(self, n: usize) -> Skip<Self>
where - Self: Sized,

Creates an iterator that skips the first n elements. Read more
1.0.0 · source§

fn take(self, n: usize) -> Take<Self>
where + P: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both yields elements based on a predicate and maps. Read more
1.0.0 · source§

fn skip(self, n: usize) -> Skip<Self>
where + Self: Sized,

Creates an iterator that skips the first n elements. Read more
1.0.0 · source§

fn take(self, n: usize) -> Take<Self>
where Self: Sized,

Creates an iterator that yields the first n elements, or fewer -if the underlying iterator ends sooner. Read more
1.0.0 · source§

fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
where +if the underlying iterator ends sooner. Read more

1.0.0 · source§

fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
where Self: Sized, F: FnMut(&mut St, Self::Item) -> Option<B>,

An iterator adapter which, like fold, holds internal state, but -unlike fold, produces a new iterator. Read more
1.0.0 · source§

fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
where +unlike fold, produces a new iterator. Read more

1.0.0 · source§

fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
where Self: Sized, U: IntoIterator, - F: FnMut(Self::Item) -> U,

Creates an iterator that works like map, but flattens nested structure. Read more
source§

fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
where + F: FnMut(Self::Item) -> U,

Creates an iterator that works like map, but flattens nested structure. Read more
source§

fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
where Self: Sized, F: FnMut(&[Self::Item; N]) -> R,

🔬This is a nightly-only experimental API. (iter_map_windows)
Calls the given function f for each contiguous window of size N over self and returns an iterator over the outputs of f. Like slice::windows(), -the windows during mapping overlap as well. Read more
1.0.0 · source§

fn fuse(self) -> Fuse<Self>
where - Self: Sized,

Creates an iterator which ends after the first None. Read more
1.0.0 · source§

fn inspect<F>(self, f: F) -> Inspect<Self, F>
where +the windows during mapping overlap as well. Read more

1.0.0 · source§

fn fuse(self) -> Fuse<Self>
where + Self: Sized,

Creates an iterator which ends after the first None. Read more
1.0.0 · source§

fn inspect<F>(self, f: F) -> Inspect<Self, F>
where Self: Sized, - F: FnMut(&Self::Item),

Does something with each element of an iterator, passing the value on. Read more
1.0.0 · source§

fn by_ref(&mut self) -> &mut Self
where - Self: Sized,

Borrows an iterator, rather than consuming it. Read more
1.0.0 · source§

fn collect<B>(self) -> B
where + F: FnMut(&Self::Item),

Does something with each element of an iterator, passing the value on. Read more
1.0.0 · source§

fn by_ref(&mut self) -> &mut Self
where + Self: Sized,

Borrows an iterator, rather than consuming it. Read more
1.0.0 · source§

fn collect<B>(self) -> B
where B: FromIterator<Self::Item>, - Self: Sized,

Transforms an iterator into a collection. Read more
source§

fn collect_into<E>(self, collection: &mut E) -> &mut E
where + Self: Sized,

Transforms an iterator into a collection. Read more
source§

fn collect_into<E>(self, collection: &mut E) -> &mut E
where E: Extend<Self::Item>, - Self: Sized,

🔬This is a nightly-only experimental API. (iter_collect_into)
Collects all the items from an iterator into a collection. Read more
1.0.0 · source§

fn partition<B, F>(self, f: F) -> (B, B)
where + Self: Sized,

🔬This is a nightly-only experimental API. (iter_collect_into)
Collects all the items from an iterator into a collection. Read more
1.0.0 · source§

fn partition<B, F>(self, f: F) -> (B, B)
where Self: Sized, B: Default + Extend<Self::Item>, - F: FnMut(&Self::Item) -> bool,

Consumes an iterator, creating two collections from it. Read more
source§

fn is_partitioned<P>(self, predicate: P) -> bool
where + F: FnMut(&Self::Item) -> bool,

Consumes an iterator, creating two collections from it. Read more
source§

fn is_partitioned<P>(self, predicate: P) -> bool
where Self: Sized, P: FnMut(Self::Item) -> bool,

🔬This is a nightly-only experimental API. (iter_is_partitioned)
Checks if the elements of this iterator are partitioned according to the given predicate, -such that all those that return true precede all those that return false. Read more
1.27.0 · source§

fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
where +such that all those that return true precede all those that return false. Read more

1.27.0 · source§

fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
where Self: Sized, F: FnMut(B, Self::Item) -> R, R: Try<Output = B>,

An iterator method that applies a function as long as it returns -successfully, producing a single, final value. Read more
1.27.0 · source§

fn try_for_each<F, R>(&mut self, f: F) -> R
where +successfully, producing a single, final value. Read more

1.27.0 · source§

fn try_for_each<F, R>(&mut self, f: F) -> R
where Self: Sized, F: FnMut(Self::Item) -> R, R: Try<Output = ()>,

An iterator method that applies a fallible function to each item in the -iterator, stopping at the first error and returning that error. Read more
1.0.0 · source§

fn fold<B, F>(self, init: B, f: F) -> B
where +iterator, stopping at the first error and returning that error. Read more

1.0.0 · source§

fn fold<B, F>(self, init: B, f: F) -> B
where Self: Sized, F: FnMut(B, Self::Item) -> B,

Folds every element into an accumulator by applying an operation, -returning the final result. Read more
1.51.0 · source§

fn reduce<F>(self, f: F) -> Option<Self::Item>
where +returning the final result. Read more

1.51.0 · source§

fn reduce<F>(self, f: F) -> Option<Self::Item>
where Self: Sized, F: FnMut(Self::Item, Self::Item) -> Self::Item,

Reduces the elements to a single one, by repeatedly applying a reducing -operation. Read more
source§

fn try_reduce<F, R>( +operation. Read more

source§

fn try_reduce<F, R>( &mut self, f: F ) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
where @@ -105,16 +105,16 @@ F: FnMut(Self::Item, Self::Item) -> R, R: Try<Output = Self::Item>, <R as Try>::Residual: Residual<Option<Self::Item>>,

🔬This is a nightly-only experimental API. (iterator_try_reduce)
Reduces the elements to a single one by repeatedly applying a reducing operation. If the -closure returns a failure, the failure is propagated back to the caller immediately. Read more
1.0.0 · source§

fn all<F>(&mut self, f: F) -> bool
where +closure returns a failure, the failure is propagated back to the caller immediately. Read more

1.0.0 · source§

fn all<F>(&mut self, f: F) -> bool
where Self: Sized, - F: FnMut(Self::Item) -> bool,

Tests if every element of the iterator matches a predicate. Read more
1.0.0 · source§

fn any<F>(&mut self, f: F) -> bool
where + F: FnMut(Self::Item) -> bool,

Tests if every element of the iterator matches a predicate. Read more
1.0.0 · source§

fn any<F>(&mut self, f: F) -> bool
where Self: Sized, - F: FnMut(Self::Item) -> bool,

Tests if any element of the iterator matches a predicate. Read more
1.0.0 · source§

fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
where + F: FnMut(Self::Item) -> bool,

Tests if any element of the iterator matches a predicate. Read more
1.0.0 · source§

fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator that satisfies a predicate. Read more
1.30.0 · source§

fn find_map<B, F>(&mut self, f: F) -> Option<B>
where + P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator that satisfies a predicate. Read more
1.30.0 · source§

fn find_map<B, F>(&mut self, f: F) -> Option<B>
where Self: Sized, F: FnMut(Self::Item) -> Option<B>,

Applies function to the elements of iterator and returns -the first non-none result. Read more
source§

fn try_find<F, R>( +the first non-none result. Read more

source§

fn try_find<F, R>( &mut self, f: F ) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
where @@ -122,80 +122,80 @@ F: FnMut(&Self::Item) -> R, R: Try<Output = bool>, <R as Try>::Residual: Residual<Option<Self::Item>>,

🔬This is a nightly-only experimental API. (try_find)
Applies function to the elements of iterator and returns -the first true result or the first error. Read more
1.0.0 · source§

fn position<P>(&mut self, predicate: P) -> Option<usize>
where +the first true result or the first error. Read more

1.0.0 · source§

fn position<P>(&mut self, predicate: P) -> Option<usize>
where Self: Sized, - P: FnMut(Self::Item) -> bool,

Searches for an element in an iterator, returning its index. Read more
1.6.0 · source§

fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
where + P: FnMut(Self::Item) -> bool,

Searches for an element in an iterator, returning its index. Read more
1.6.0 · source§

fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
where B: Ord, Self: Sized, F: FnMut(&Self::Item) -> B,

Returns the element that gives the maximum value from the -specified function. Read more
1.15.0 · source§

fn max_by<F>(self, compare: F) -> Option<Self::Item>
where +specified function. Read more

1.15.0 · source§

fn max_by<F>(self, compare: F) -> Option<Self::Item>
where Self: Sized, F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Returns the element that gives the maximum value with respect to the -specified comparison function. Read more
1.6.0 · source§

fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
where +specified comparison function. Read more

1.6.0 · source§

fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
where B: Ord, Self: Sized, F: FnMut(&Self::Item) -> B,

Returns the element that gives the minimum value from the -specified function. Read more
1.15.0 · source§

fn min_by<F>(self, compare: F) -> Option<Self::Item>
where +specified function. Read more

1.15.0 · source§

fn min_by<F>(self, compare: F) -> Option<Self::Item>
where Self: Sized, F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Returns the element that gives the minimum value with respect to the -specified comparison function. Read more
1.0.0 · source§

fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
where +specified comparison function. Read more

1.0.0 · source§

fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
where FromA: Default + Extend<A>, FromB: Default + Extend<B>, - Self: Sized + Iterator<Item = (A, B)>,

Converts an iterator of pairs into a pair of containers. Read more
1.36.0 · source§

fn copied<'a, T>(self) -> Copied<Self>
where + Self: Sized + Iterator<Item = (A, B)>,

Converts an iterator of pairs into a pair of containers. Read more
1.36.0 · source§

fn copied<'a, T>(self) -> Copied<Self>
where T: 'a + Copy, - Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which copies all of its elements. Read more
1.0.0 · source§

fn cloned<'a, T>(self) -> Cloned<Self>
where + Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which copies all of its elements. Read more
1.0.0 · source§

fn cloned<'a, T>(self) -> Cloned<Self>
where T: 'a + Clone, - Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which clones all of its elements. Read more
1.0.0 · source§

fn cycle(self) -> Cycle<Self>
where - Self: Sized + Clone,

Repeats an iterator endlessly. Read more
source§

fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
where - Self: Sized,

🔬This is a nightly-only experimental API. (iter_array_chunks)
Returns an iterator over N elements of the iterator at a time. Read more
1.11.0 · source§

fn sum<S>(self) -> S
where + Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which clones all of its elements. Read more
1.0.0 · source§

fn cycle(self) -> Cycle<Self>
where + Self: Sized + Clone,

Repeats an iterator endlessly. Read more
source§

fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
where + Self: Sized,

🔬This is a nightly-only experimental API. (iter_array_chunks)
Returns an iterator over N elements of the iterator at a time. Read more
1.11.0 · source§

fn sum<S>(self) -> S
where Self: Sized, - S: Sum<Self::Item>,

Sums the elements of an iterator. Read more
1.11.0 · source§

fn product<P>(self) -> P
where + S: Sum<Self::Item>,

Sums the elements of an iterator. Read more
1.11.0 · source§

fn product<P>(self) -> P
where Self: Sized, - P: Product<Self::Item>,

Iterates over the entire iterator, multiplying all the elements Read more
source§

fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
where + P: Product<Self::Item>,

Iterates over the entire iterator, multiplying all the elements Read more
source§

fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
where Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

🔬This is a nightly-only experimental API. (iter_order_by)
Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
1.5.0 · source§

fn partial_cmp<I>(self, other: I) -> Option<Ordering>
where +of another with respect to the specified comparison function. Read more

1.5.0 · source§

fn partial_cmp<I>(self, other: I) -> Option<Ordering>
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Lexicographically compares the PartialOrd elements of this Iterator with those of another. The comparison works like short-circuit evaluation, returning a result without comparing the remaining elements. -As soon as an order can be determined, the evaluation stops and a result is returned. Read more
source§

fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
where +As soon as an order can be determined, the evaluation stops and a result is returned. Read more

source§

fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
where Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

🔬This is a nightly-only experimental API. (iter_order_by)
Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
1.5.0 · source§

fn eq<I>(self, other: I) -> bool
where +of another with respect to the specified comparison function. Read more

1.5.0 · source§

fn eq<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialEq<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are equal to those of -another. Read more
source§

fn eq_by<I, F>(self, other: I, eq: F) -> bool
where +another. Read more

source§

fn eq_by<I, F>(self, other: I, eq: F) -> bool
where Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

🔬This is a nightly-only experimental API. (iter_order_by)
Determines if the elements of this Iterator are equal to those of -another with respect to the specified equality function. Read more
1.5.0 · source§

fn ne<I>(self, other: I) -> bool
where +another with respect to the specified equality function. Read more

1.5.0 · source§

fn ne<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialEq<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are not equal to those of -another. Read more
1.5.0 · source§

fn lt<I>(self, other: I) -> bool
where +another. Read more

1.5.0 · source§

fn lt<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -less than those of another. Read more
1.5.0 · source§

fn le<I>(self, other: I) -> bool
where +less than those of another. Read more

1.5.0 · source§

fn le<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -less or equal to those of another. Read more
1.5.0 · source§

fn gt<I>(self, other: I) -> bool
where +less or equal to those of another. Read more

1.5.0 · source§

fn gt<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -greater than those of another. Read more
1.5.0 · source§

fn ge<I>(self, other: I) -> bool
where +greater than those of another. Read more

1.5.0 · source§

fn ge<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -greater than or equal to those of another. Read more
source§

fn is_sorted_by<F>(self, compare: F) -> bool
where +greater than or equal to those of another. Read more

source§

fn is_sorted_by<F>(self, compare: F) -> bool
where Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> bool,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given comparator function. Read more
source§

fn is_sorted_by_key<F, K>(self, f: F) -> bool
where + F: FnMut(&Self::Item, &Self::Item) -> bool,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given comparator function. Read more
source§

fn is_sorted_by_key<F, K>(self, f: F) -> bool
where Self: Sized, F: FnMut(Self::Item) -> K, K: PartialOrd,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given key extraction @@ -220,8 +220,8 @@ T: Iterator + Send, <T as Iterator>::Item: Send,
§

fn par_bridge(self) -> IterBridge<T>

Creates a bridge from this type to a ParallelIterator.
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/timer/struct.TimeEvent.html b/nightly/core/nautilus_common/timer/struct.TimeEvent.html index c3fb5cb3a3d7..a11307194c76 100644 --- a/nightly/core/nautilus_common/timer/struct.TimeEvent.html +++ b/nightly/core/nautilus_common/timer/struct.TimeEvent.html @@ -1,4 +1,4 @@ -TimeEvent in nautilus_common::timer - Rust +TimeEvent in nautilus_common::timer - Rust
#[repr(C)]
pub struct TimeEvent { pub name: Ustr, pub event_id: UUID4, @@ -14,10 +14,10 @@ event_id: UUID4, ts_event: UnixNanos, ts_init: UnixNanos -) -> Result<Self>

Trait Implementations§

source§

impl Clone for TimeEvent

source§

fn clone(&self) -> TimeEvent

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TimeEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for TimeEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IntoPy<Py<PyAny>> for TimeEvent

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl PartialEq for TimeEvent

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used +) -> Result<Self>

Trait Implementations§

source§

impl Clone for TimeEvent

source§

fn clone(&self) -> TimeEvent

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TimeEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for TimeEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IntoPy<Py<PyAny>> for TimeEvent

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl PartialEq for TimeEvent

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PyClass for TimeEvent

§

type Frozen = False

Whether the pyclass is frozen. Read more
source§

impl PyClassImpl for TimeEvent

source§

const IS_BASETYPE: bool = false

#[pyclass(subclass)]
source§

const IS_SUBCLASS: bool = false

#[pyclass(extends=…)]
source§

const IS_MAPPING: bool = false

#[pyclass(mapping)]
source§

const IS_SEQUENCE: bool = false

#[pyclass(sequence)]
§

type BaseType = PyAny

Base class
§

type ThreadChecker = SendablePyClass<TimeEvent>

This handles following two situations: Read more
§

type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

Immutable or mutable
§

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.
§

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.
§

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl PyClassNewTextSignature<TimeEvent> for PyClassImplCollector<TimeEvent>

source§

fn new_text_signature(self) -> Option<&'static str>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TimeEvent

§

type Holder = Option<PyRef<'py, TimeEvent>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TimeEvent

§

type Holder = Option<PyRefMut<'py, TimeEvent>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyMethods<TimeEvent> for PyClassImplCollector<TimeEvent>

source§

fn py_methods(self) -> &'static PyClassItems

source§

impl PyTypeInfo for TimeEvent

§

type AsRefTarget = PyCell<TimeEvent>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "TimeEvent"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +#[pyclass(extends=PyDict)], it’s PyDict.

source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl PyClassNewTextSignature<TimeEvent> for PyClassImplCollector<TimeEvent>

source§

fn new_text_signature(self) -> Option<&'static str>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TimeEvent

§

type Holder = Option<PyRef<'py, TimeEvent>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TimeEvent

§

type Holder = Option<PyRefMut<'py, TimeEvent>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyMethods<TimeEvent> for PyClassImplCollector<TimeEvent>

source§

fn py_methods(self) -> &'static PyClassItems

source§

impl PyTypeInfo for TimeEvent

§

type AsRefTarget = PyCell<TimeEvent>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "TimeEvent"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

@@ -33,8 +33,8 @@ T: Display,
source§

fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

Adds separators according to the given SeparatorPolicy. Read more
source§

fn separate_with_commas(&self) -> String

Inserts a comma every three digits from the right. Read more
source§

fn separate_with_spaces(&self) -> String

Inserts a space every three digits from the right. Read more
source§

fn separate_with_dots(&self) -> String

Inserts a period every three digits from the right. Read more
source§

fn separate_with_underscores(&self) -> String

Inserts an underscore every three digits from the right. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/timer/struct.TimeEventHandler.html b/nightly/core/nautilus_common/timer/struct.TimeEventHandler.html index 030d669eadb1..6e85ba650f8b 100644 --- a/nightly/core/nautilus_common/timer/struct.TimeEventHandler.html +++ b/nightly/core/nautilus_common/timer/struct.TimeEventHandler.html @@ -1,4 +1,4 @@ -TimeEventHandler in nautilus_common::timer - Rust +TimeEventHandler in nautilus_common::timer - Rust
#[repr(C)]
pub struct TimeEventHandler { pub event: TimeEvent, pub callback_ptr: *mut PyObject, @@ -30,8 +30,8 @@ From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/nightly/core/nautilus_common/timer/trait.Timer.html b/nightly/core/nautilus_common/timer/trait.Timer.html index 607003098cce..21f89b4cc5b1 100644 --- a/nightly/core/nautilus_common/timer/trait.Timer.html +++ b/nightly/core/nautilus_common/timer/trait.Timer.html @@ -1,4 +1,4 @@ -Timer in nautilus_common::timer - Rust +Timer in nautilus_common::timer - Rust
pub trait Timer {
     // Required methods
     fn new(
diff --git a/nightly/core/nautilus_core/all.html b/nightly/core/nautilus_core/all.html
index 94a83b02743e..125f3d63d57d 100644
--- a/nightly/core/nautilus_core/all.html
+++ b/nightly/core/nautilus_core/all.html
@@ -1,2 +1,2 @@
-List of all items in this crate
+List of all items in this crate
     

List of all items

Structs

Enums

Traits

Functions

Type Aliases

Statics

Constants

\ No newline at end of file diff --git a/nightly/core/nautilus_core/correctness/fn.check_f64_in_range_inclusive.html b/nightly/core/nautilus_core/correctness/fn.check_f64_in_range_inclusive.html index e13d280c41ef..0692e1895a3d 100644 --- a/nightly/core/nautilus_core/correctness/fn.check_f64_in_range_inclusive.html +++ b/nightly/core/nautilus_core/correctness/fn.check_f64_in_range_inclusive.html @@ -1,4 +1,4 @@ -check_f64_in_range_inclusive in nautilus_core::correctness - Rust +check_f64_in_range_inclusive in nautilus_core::correctness - Rust
pub fn check_f64_in_range_inclusive(
     value: f64,
     l: f64,
diff --git a/nightly/core/nautilus_core/correctness/fn.check_f64_non_negative.html b/nightly/core/nautilus_core/correctness/fn.check_f64_non_negative.html
index 0884f8e8216e..e548655d7015 100644
--- a/nightly/core/nautilus_core/correctness/fn.check_f64_non_negative.html
+++ b/nightly/core/nautilus_core/correctness/fn.check_f64_non_negative.html
@@ -1,3 +1,3 @@
-check_f64_non_negative in nautilus_core::correctness - Rust
+check_f64_non_negative in nautilus_core::correctness - Rust
     
pub fn check_f64_non_negative(value: f64, desc: &str) -> Result<()>
Expand description

Validates that the f64 value is non-negative.

\ No newline at end of file diff --git a/nightly/core/nautilus_core/correctness/fn.check_i64_in_range_inclusive.html b/nightly/core/nautilus_core/correctness/fn.check_i64_in_range_inclusive.html index a62af0474991..c8e8779d6fd0 100644 --- a/nightly/core/nautilus_core/correctness/fn.check_i64_in_range_inclusive.html +++ b/nightly/core/nautilus_core/correctness/fn.check_i64_in_range_inclusive.html @@ -1,4 +1,4 @@ -check_i64_in_range_inclusive in nautilus_core::correctness - Rust +check_i64_in_range_inclusive in nautilus_core::correctness - Rust
pub fn check_i64_in_range_inclusive(
     value: i64,
     l: i64,
diff --git a/nightly/core/nautilus_core/correctness/fn.check_string_contains.html b/nightly/core/nautilus_core/correctness/fn.check_string_contains.html
index a8963f497268..57f49117cfbe 100644
--- a/nightly/core/nautilus_core/correctness/fn.check_string_contains.html
+++ b/nightly/core/nautilus_core/correctness/fn.check_string_contains.html
@@ -1,3 +1,3 @@
-check_string_contains in nautilus_core::correctness - Rust
+check_string_contains in nautilus_core::correctness - Rust
     
pub fn check_string_contains(s: &str, pat: &str, desc: &str) -> Result<()>
Expand description

Validates that the string s contains the pattern pat.

\ No newline at end of file diff --git a/nightly/core/nautilus_core/correctness/fn.check_u64_in_range_inclusive.html b/nightly/core/nautilus_core/correctness/fn.check_u64_in_range_inclusive.html index 26c2bd87d0d7..cf42a7935551 100644 --- a/nightly/core/nautilus_core/correctness/fn.check_u64_in_range_inclusive.html +++ b/nightly/core/nautilus_core/correctness/fn.check_u64_in_range_inclusive.html @@ -1,4 +1,4 @@ -check_u64_in_range_inclusive in nautilus_core::correctness - Rust +check_u64_in_range_inclusive in nautilus_core::correctness - Rust
pub fn check_u64_in_range_inclusive(
     value: u64,
     l: u64,
diff --git a/nightly/core/nautilus_core/correctness/fn.check_u8_equal.html b/nightly/core/nautilus_core/correctness/fn.check_u8_equal.html
index e3d69afac8cf..dc2c701c94b9 100644
--- a/nightly/core/nautilus_core/correctness/fn.check_u8_equal.html
+++ b/nightly/core/nautilus_core/correctness/fn.check_u8_equal.html
@@ -1,4 +1,4 @@
-check_u8_equal in nautilus_core::correctness - Rust
+check_u8_equal in nautilus_core::correctness - Rust
     
pub fn check_u8_equal(
     lhs: u8,
     rhs: u8,
diff --git a/nightly/core/nautilus_core/correctness/fn.check_u8_in_range_inclusive.html b/nightly/core/nautilus_core/correctness/fn.check_u8_in_range_inclusive.html
index 42fa830d6cbe..28214fdae49f 100644
--- a/nightly/core/nautilus_core/correctness/fn.check_u8_in_range_inclusive.html
+++ b/nightly/core/nautilus_core/correctness/fn.check_u8_in_range_inclusive.html
@@ -1,4 +1,4 @@
-check_u8_in_range_inclusive in nautilus_core::correctness - Rust
+check_u8_in_range_inclusive in nautilus_core::correctness - Rust
     
pub fn check_u8_in_range_inclusive(
     value: u8,
     l: u8,
diff --git a/nightly/core/nautilus_core/correctness/fn.check_valid_string.html b/nightly/core/nautilus_core/correctness/fn.check_valid_string.html
index 9c617d3359ce..d938be477a63 100644
--- a/nightly/core/nautilus_core/correctness/fn.check_valid_string.html
+++ b/nightly/core/nautilus_core/correctness/fn.check_valid_string.html
@@ -1,4 +1,4 @@
-check_valid_string in nautilus_core::correctness - Rust
+check_valid_string in nautilus_core::correctness - Rust
     
pub fn check_valid_string(s: &str, desc: &str) -> Result<()>
Expand description

Validates the content of a string s.

§Panics

source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where T: Send,

\ No newline at end of file diff --git a/nightly/core/nautilus_core/ffi/datetime/fn.unix_nanos_to_iso8601_cstr.html b/nightly/core/nautilus_core/ffi/datetime/fn.unix_nanos_to_iso8601_cstr.html index 12154f5feeca..69e0400de0dd 100644 --- a/nightly/core/nautilus_core/ffi/datetime/fn.unix_nanos_to_iso8601_cstr.html +++ b/nightly/core/nautilus_core/ffi/datetime/fn.unix_nanos_to_iso8601_cstr.html @@ -1,4 +1,4 @@ -unix_nanos_to_iso8601_cstr in nautilus_core::ffi::datetime - Rust +unix_nanos_to_iso8601_cstr in nautilus_core::ffi::datetime - Rust
#[no_mangle]
 pub extern "C" fn unix_nanos_to_iso8601_cstr(
     timestamp_ns: u64
diff --git a/nightly/core/nautilus_core/ffi/datetime/index.html b/nightly/core/nautilus_core/ffi/datetime/index.html
index 55d35d4c6321..5ce71eb61960 100644
--- a/nightly/core/nautilus_core/ffi/datetime/index.html
+++ b/nightly/core/nautilus_core/ffi/datetime/index.html
@@ -1,2 +1,2 @@
-nautilus_core::ffi::datetime - Rust
+nautilus_core::ffi::datetime - Rust
     

Module nautilus_core::ffi::datetime

source ·

Functions§

\ No newline at end of file diff --git a/nightly/core/nautilus_core/ffi/index.html b/nightly/core/nautilus_core/ffi/index.html index f573312ed4d8..0dd3ceac55ff 100644 --- a/nightly/core/nautilus_core/ffi/index.html +++ b/nightly/core/nautilus_core/ffi/index.html @@ -1,2 +1,2 @@ -nautilus_core::ffi - Rust +nautilus_core::ffi - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_core/ffi/parsing/fn.bytes_to_string_vec.html b/nightly/core/nautilus_core/ffi/parsing/fn.bytes_to_string_vec.html index e5bdef108396..189caed3c666 100644 --- a/nightly/core/nautilus_core/ffi/parsing/fn.bytes_to_string_vec.html +++ b/nightly/core/nautilus_core/ffi/parsing/fn.bytes_to_string_vec.html @@ -1,4 +1,4 @@ -bytes_to_string_vec in nautilus_core::ffi::parsing - Rust +bytes_to_string_vec in nautilus_core::ffi::parsing - Rust
pub unsafe fn bytes_to_string_vec(ptr: *const c_char) -> Vec<String>
Expand description

Convert a C bytes pointer into an owned Vec<String>.

§Safety

\ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/dema/index.html b/nightly/core/nautilus_indicators/average/dema/index.html index adf7c13f8cb9..4457779f3afb 100644 --- a/nightly/core/nautilus_indicators/average/dema/index.html +++ b/nightly/core/nautilus_indicators/average/dema/index.html @@ -1,3 +1,3 @@ -nautilus_indicators::average::dema - Rust +nautilus_indicators::average::dema - Rust

Structs§

  • The Double Exponential Moving Average attempts to a smoother average with less lag than the normal Exponential Moving Average (EMA)
\ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/dema/struct.DoubleExponentialMovingAverage.html b/nightly/core/nautilus_indicators/average/dema/struct.DoubleExponentialMovingAverage.html index 35af5fafd138..f0ea9bde9a6a 100644 --- a/nightly/core/nautilus_indicators/average/dema/struct.DoubleExponentialMovingAverage.html +++ b/nightly/core/nautilus_indicators/average/dema/struct.DoubleExponentialMovingAverage.html @@ -1,4 +1,4 @@ -DoubleExponentialMovingAverage in nautilus_indicators::average::dema - Rust +DoubleExponentialMovingAverage in nautilus_indicators::average::dema - Rust
#[repr(C)]
pub struct DoubleExponentialMovingAverage { pub period: usize, pub price_type: PriceType, @@ -12,8 +12,8 @@
§price_type: PriceType

The price type used for calculations.

§value: f64

The last indicator value.

§count: usize

The input count for the indicator.

-
§is_initialized: bool

Implementations§

source§

impl DoubleExponentialMovingAverage

source

pub fn new(period: usize, price_type: Option<PriceType>) -> Result<Self>

Trait Implementations§

source§

impl Debug for DoubleExponentialMovingAverage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for DoubleExponentialMovingAverage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Indicator for DoubleExponentialMovingAverage

source§

fn name(&self) -> String

source§

fn has_inputs(&self) -> bool

source§

fn is_initialized(&self) -> bool

source§

fn handle_quote_tick(&mut self, tick: &QuoteTick)

source§

fn handle_trade_tick(&mut self, tick: &TradeTick)

source§

fn handle_bar(&mut self, bar: &Bar)

source§

fn reset(&mut self)

source§

impl IntoPy<Py<PyAny>> for DoubleExponentialMovingAverage

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl MovingAverage for DoubleExponentialMovingAverage

source§

fn value(&self) -> f64

source§

fn count(&self) -> usize

source§

fn update_raw(&mut self, value: f64)

source§

impl PyClass for DoubleExponentialMovingAverage

§

type Frozen = False

Whether the pyclass is frozen. Read more
source§

impl PyClassImpl for DoubleExponentialMovingAverage

source§

const IS_BASETYPE: bool = false

#[pyclass(subclass)]
source§

const IS_SUBCLASS: bool = false

#[pyclass(extends=…)]
source§

const IS_MAPPING: bool = false

#[pyclass(mapping)]
source§

const IS_SEQUENCE: bool = false

#[pyclass(sequence)]
§

type BaseType = PyAny

Base class
§

type ThreadChecker = SendablePyClass<DoubleExponentialMovingAverage>

This handles following two situations: Read more
§

type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

Immutable or mutable
§

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.
§

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.
§

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl PyClassNewTextSignature<DoubleExponentialMovingAverage> for PyClassImplCollector<DoubleExponentialMovingAverage>

source§

fn new_text_signature(self) -> Option<&'static str>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a DoubleExponentialMovingAverage

§

type Holder = Option<PyRef<'py, DoubleExponentialMovingAverage>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut DoubleExponentialMovingAverage

§

type Holder = Option<PyRefMut<'py, DoubleExponentialMovingAverage>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyMethods<DoubleExponentialMovingAverage> for PyClassImplCollector<DoubleExponentialMovingAverage>

source§

fn py_methods(self) -> &'static PyClassItems

source§

impl PyTypeInfo for DoubleExponentialMovingAverage

§

type AsRefTarget = PyCell<DoubleExponentialMovingAverage>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "DoubleExponentialMovingAverage"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +
§is_initialized: bool

Implementations§

source§

impl DoubleExponentialMovingAverage

source

pub fn new(period: usize, price_type: Option<PriceType>) -> Result<Self>

Trait Implementations§

source§

impl Debug for DoubleExponentialMovingAverage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for DoubleExponentialMovingAverage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Indicator for DoubleExponentialMovingAverage

source§

fn name(&self) -> String

source§

fn has_inputs(&self) -> bool

source§

fn is_initialized(&self) -> bool

source§

fn handle_quote_tick(&mut self, tick: &QuoteTick)

source§

fn handle_trade_tick(&mut self, tick: &TradeTick)

source§

fn handle_bar(&mut self, bar: &Bar)

source§

fn reset(&mut self)

source§

impl IntoPy<Py<PyAny>> for DoubleExponentialMovingAverage

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl MovingAverage for DoubleExponentialMovingAverage

source§

fn value(&self) -> f64

source§

fn count(&self) -> usize

source§

fn update_raw(&mut self, value: f64)

source§

impl PyClass for DoubleExponentialMovingAverage

§

type Frozen = False

Whether the pyclass is frozen. Read more
source§

impl PyClassImpl for DoubleExponentialMovingAverage

source§

const IS_BASETYPE: bool = false

#[pyclass(subclass)]
source§

const IS_SUBCLASS: bool = false

#[pyclass(extends=…)]
source§

const IS_MAPPING: bool = false

#[pyclass(mapping)]
source§

const IS_SEQUENCE: bool = false

#[pyclass(sequence)]
§

type BaseType = PyAny

Base class
§

type ThreadChecker = SendablePyClass<DoubleExponentialMovingAverage>

This handles following two situations: Read more
§

type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

Immutable or mutable
§

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.
§

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.
§

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare +#[pyclass(extends=PyDict)], it’s PyDict.
source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl PyClassNewTextSignature<DoubleExponentialMovingAverage> for PyClassImplCollector<DoubleExponentialMovingAverage>

source§

fn new_text_signature(self) -> Option<&'static str>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a DoubleExponentialMovingAverage

§

type Holder = Option<PyRef<'py, DoubleExponentialMovingAverage>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut DoubleExponentialMovingAverage

§

type Holder = Option<PyRefMut<'py, DoubleExponentialMovingAverage>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyMethods<DoubleExponentialMovingAverage> for PyClassImplCollector<DoubleExponentialMovingAverage>

source§

fn py_methods(self) -> &'static PyClassItems

source§

impl PyTypeInfo for DoubleExponentialMovingAverage

§

type AsRefTarget = PyCell<DoubleExponentialMovingAverage>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "DoubleExponentialMovingAverage"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

@@ -25,6 +25,6 @@ T: IntoPy<Py<PyAny>> + Send + Sync,
§

fn arguments(self, py: Python<'_>) -> Py<PyAny>

Arguments for exception
source§

impl<T> Separable for T
where T: Display,

source§

fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

Adds separators according to the given SeparatorPolicy. Read more
source§

fn separate_with_commas(&self) -> String

Inserts a comma every three digits from the right. Read more
source§

fn separate_with_spaces(&self) -> String

Inserts a space every three digits from the right. Read more
source§

fn separate_with_dots(&self) -> String

Inserts a period every three digits from the right. Read more
source§

fn separate_with_underscores(&self) -> String

Inserts an underscore every three digits from the right. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where T: Send,

\ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/ema/index.html b/nightly/core/nautilus_indicators/average/ema/index.html index 3d180b9e44d8..a01074ad72a7 100644 --- a/nightly/core/nautilus_indicators/average/ema/index.html +++ b/nightly/core/nautilus_indicators/average/ema/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::average::ema - Rust +nautilus_indicators::average::ema - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/ema/struct.ExponentialMovingAverage.html b/nightly/core/nautilus_indicators/average/ema/struct.ExponentialMovingAverage.html index 5e86adf228a2..628bf813cdbc 100644 --- a/nightly/core/nautilus_indicators/average/ema/struct.ExponentialMovingAverage.html +++ b/nightly/core/nautilus_indicators/average/ema/struct.ExponentialMovingAverage.html @@ -1,4 +1,4 @@ -ExponentialMovingAverage in nautilus_indicators::average::ema - Rust +ExponentialMovingAverage in nautilus_indicators::average::ema - Rust
#[repr(C)]
pub struct ExponentialMovingAverage { pub period: usize, pub price_type: PriceType, @@ -7,7 +7,7 @@ pub count: usize, pub is_initialized: bool, /* private fields */ -}

Fields§

§period: usize§price_type: PriceType§alpha: f64§value: f64§count: usize§is_initialized: bool

Implementations§

source§

impl ExponentialMovingAverage

source

pub fn new(period: usize, price_type: Option<PriceType>) -> Result<Self>

Trait Implementations§

source§

impl Debug for ExponentialMovingAverage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ExponentialMovingAverage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Indicator for ExponentialMovingAverage

source§

fn name(&self) -> String

source§

fn has_inputs(&self) -> bool

source§

fn is_initialized(&self) -> bool

source§

fn handle_quote_tick(&mut self, tick: &QuoteTick)

source§

fn handle_trade_tick(&mut self, tick: &TradeTick)

source§

fn handle_bar(&mut self, bar: &Bar)

source§

fn reset(&mut self)

source§

impl IntoPy<Py<PyAny>> for ExponentialMovingAverage

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl MovingAverage for ExponentialMovingAverage

source§

fn value(&self) -> f64

source§

fn count(&self) -> usize

source§

fn update_raw(&mut self, value: f64)

source§

impl PyClass for ExponentialMovingAverage

§

type Frozen = False

Whether the pyclass is frozen. Read more
source§

impl PyClassImpl for ExponentialMovingAverage

source§

const IS_BASETYPE: bool = false

#[pyclass(subclass)]
source§

const IS_SUBCLASS: bool = false

#[pyclass(extends=…)]
source§

const IS_MAPPING: bool = false

#[pyclass(mapping)]
source§

const IS_SEQUENCE: bool = false

#[pyclass(sequence)]
§

type BaseType = PyAny

Base class
§

type ThreadChecker = SendablePyClass<ExponentialMovingAverage>

This handles following two situations: Read more
§

type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

Immutable or mutable
§

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.
§

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.
§

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare +}

Fields§

§period: usize§price_type: PriceType§alpha: f64§value: f64§count: usize§is_initialized: bool

Implementations§

source§

impl ExponentialMovingAverage

source

pub fn new(period: usize, price_type: Option<PriceType>) -> Result<Self>

Trait Implementations§

source§

impl Debug for ExponentialMovingAverage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for ExponentialMovingAverage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Indicator for ExponentialMovingAverage

source§

fn name(&self) -> String

source§

fn has_inputs(&self) -> bool

source§

fn is_initialized(&self) -> bool

source§

fn handle_quote_tick(&mut self, tick: &QuoteTick)

source§

fn handle_trade_tick(&mut self, tick: &TradeTick)

source§

fn handle_bar(&mut self, bar: &Bar)

source§

fn reset(&mut self)

source§

impl IntoPy<Py<PyAny>> for ExponentialMovingAverage

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl MovingAverage for ExponentialMovingAverage

source§

fn value(&self) -> f64

source§

fn count(&self) -> usize

source§

fn update_raw(&mut self, value: f64)

source§

impl PyClass for ExponentialMovingAverage

§

type Frozen = False

Whether the pyclass is frozen. Read more
source§

impl PyClassImpl for ExponentialMovingAverage

source§

const IS_BASETYPE: bool = false

#[pyclass(subclass)]
source§

const IS_SUBCLASS: bool = false

#[pyclass(extends=…)]
source§

const IS_MAPPING: bool = false

#[pyclass(mapping)]
source§

const IS_SEQUENCE: bool = false

#[pyclass(sequence)]
§

type BaseType = PyAny

Base class
§

type ThreadChecker = SendablePyClass<ExponentialMovingAverage>

This handles following two situations: Read more
§

type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

Immutable or mutable
§

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.
§

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.
§

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare #[pyclass(extends=PyDict)], it’s PyDict.
source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl PyClassNewTextSignature<ExponentialMovingAverage> for PyClassImplCollector<ExponentialMovingAverage>

source§

fn new_text_signature(self) -> Option<&'static str>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a ExponentialMovingAverage

§

type Holder = Option<PyRef<'py, ExponentialMovingAverage>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut ExponentialMovingAverage

§

type Holder = Option<PyRefMut<'py, ExponentialMovingAverage>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyMethods<ExponentialMovingAverage> for PyClassImplCollector<ExponentialMovingAverage>

source§

fn py_methods(self) -> &'static PyClassItems

source§

impl PyTypeInfo for ExponentialMovingAverage

§

type AsRefTarget = PyCell<ExponentialMovingAverage>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "ExponentialMovingAverage"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where @@ -20,6 +20,6 @@ T: IntoPy<Py<PyAny>> + Send + Sync,

§

fn arguments(self, py: Python<'_>) -> Py<PyAny>

Arguments for exception
source§

impl<T> Separable for T
where T: Display,

source§

fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

Adds separators according to the given SeparatorPolicy. Read more
source§

fn separate_with_commas(&self) -> String

Inserts a comma every three digits from the right. Read more
source§

fn separate_with_spaces(&self) -> String

Inserts a space every three digits from the right. Read more
source§

fn separate_with_dots(&self) -> String

Inserts a period every three digits from the right. Read more
source§

fn separate_with_underscores(&self) -> String

Inserts an underscore every three digits from the right. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where T: Send,

\ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/enum.MovingAverageType.html b/nightly/core/nautilus_indicators/average/enum.MovingAverageType.html index aeb580b9e887..9ce24cb13963 100644 --- a/nightly/core/nautilus_indicators/average/enum.MovingAverageType.html +++ b/nightly/core/nautilus_indicators/average/enum.MovingAverageType.html @@ -1,4 +1,4 @@ -MovingAverageType in nautilus_indicators::average - Rust +MovingAverageType in nautilus_indicators::average - Rust
#[repr(C)]
pub enum MovingAverageType { Simple = 0, Exponential = 1, @@ -38,6 +38,6 @@ T: Display,
source§

fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

Adds separators according to the given SeparatorPolicy. Read more
source§

fn separate_with_commas(&self) -> String

Inserts a comma every three digits from the right. Read more
source§

fn separate_with_spaces(&self) -> String

Inserts a space every three digits from the right. Read more
source§

fn separate_with_dots(&self) -> String

Inserts a period every three digits from the right. Read more
source§

fn separate_with_underscores(&self) -> String

Inserts an underscore every three digits from the right. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where T: Send,

\ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/hma/index.html b/nightly/core/nautilus_indicators/average/hma/index.html index aa591bcd5097..eca80137a0cf 100644 --- a/nightly/core/nautilus_indicators/average/hma/index.html +++ b/nightly/core/nautilus_indicators/average/hma/index.html @@ -1,4 +1,4 @@ -nautilus_indicators::average::hma - Rust +nautilus_indicators::average::hma - Rust

Structs§

  • An indicator which calculates a Hull Moving Average (HMA) across a rolling window. The HMA, developed by Alan Hull, is an extremely fast and smooth moving average.
\ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/hma/struct.HullMovingAverage.html b/nightly/core/nautilus_indicators/average/hma/struct.HullMovingAverage.html index 52a3714e6b42..f5f997a137f3 100644 --- a/nightly/core/nautilus_indicators/average/hma/struct.HullMovingAverage.html +++ b/nightly/core/nautilus_indicators/average/hma/struct.HullMovingAverage.html @@ -1,4 +1,4 @@ -HullMovingAverage in nautilus_indicators::average::hma - Rust +HullMovingAverage in nautilus_indicators::average::hma - Rust
#[repr(C)]
pub struct HullMovingAverage { pub period: usize, pub price_type: PriceType, @@ -10,7 +10,7 @@ window. The HMA, developed by Alan Hull, is an extremely fast and smooth moving average.

Fields§

§period: usize§price_type: PriceType§value: f64§count: usize§is_initialized: bool

Implementations§

source§

impl HullMovingAverage

source

pub fn new(period: usize, price_type: Option<PriceType>) -> Result<Self>

Trait Implementations§

source§

impl Debug for HullMovingAverage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for HullMovingAverage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Indicator for HullMovingAverage

source§

fn name(&self) -> String

source§

fn has_inputs(&self) -> bool

source§

fn is_initialized(&self) -> bool

source§

fn handle_quote_tick(&mut self, tick: &QuoteTick)

source§

fn handle_trade_tick(&mut self, tick: &TradeTick)

source§

fn handle_bar(&mut self, bar: &Bar)

source§

fn reset(&mut self)

source§

impl IntoPy<Py<PyAny>> for HullMovingAverage

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl MovingAverage for HullMovingAverage

source§

fn value(&self) -> f64

source§

fn count(&self) -> usize

source§

fn update_raw(&mut self, value: f64)

source§

impl PyClass for HullMovingAverage

§

type Frozen = False

Whether the pyclass is frozen. Read more
source§

impl PyClassImpl for HullMovingAverage

source§

const IS_BASETYPE: bool = false

#[pyclass(subclass)]
source§

const IS_SUBCLASS: bool = false

#[pyclass(extends=…)]
source§

const IS_MAPPING: bool = false

#[pyclass(mapping)]
source§

const IS_SEQUENCE: bool = false

#[pyclass(sequence)]
§

type BaseType = PyAny

Base class
§

type ThreadChecker = SendablePyClass<HullMovingAverage>

This handles following two situations: Read more
§

type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

Immutable or mutable
§

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.
§

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.
§

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl PyClassNewTextSignature<HullMovingAverage> for PyClassImplCollector<HullMovingAverage>

source§

fn new_text_signature(self) -> Option<&'static str>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a HullMovingAverage

§

type Holder = Option<PyRef<'py, HullMovingAverage>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut HullMovingAverage

§

type Holder = Option<PyRefMut<'py, HullMovingAverage>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyMethods<HullMovingAverage> for PyClassImplCollector<HullMovingAverage>

source§

fn py_methods(self) -> &'static PyClassItems

source§

impl PyTypeInfo for HullMovingAverage

§

type AsRefTarget = PyCell<HullMovingAverage>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "HullMovingAverage"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +#[pyclass(extends=PyDict)], it’s PyDict.

source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl PyClassNewTextSignature<HullMovingAverage> for PyClassImplCollector<HullMovingAverage>

source§

fn new_text_signature(self) -> Option<&'static str>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a HullMovingAverage

§

type Holder = Option<PyRef<'py, HullMovingAverage>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut HullMovingAverage

§

type Holder = Option<PyRefMut<'py, HullMovingAverage>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyMethods<HullMovingAverage> for PyClassImplCollector<HullMovingAverage>

source§

fn py_methods(self) -> &'static PyClassItems

source§

impl PyTypeInfo for HullMovingAverage

§

type AsRefTarget = PyCell<HullMovingAverage>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "HullMovingAverage"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

@@ -22,6 +22,6 @@ T: IntoPy<Py<PyAny>> + Send + Sync,
§

fn arguments(self, py: Python<'_>) -> Py<PyAny>

Arguments for exception
source§

impl<T> Separable for T
where T: Display,

source§

fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

Adds separators according to the given SeparatorPolicy. Read more
source§

fn separate_with_commas(&self) -> String

Inserts a comma every three digits from the right. Read more
source§

fn separate_with_spaces(&self) -> String

Inserts a space every three digits from the right. Read more
source§

fn separate_with_dots(&self) -> String

Inserts a period every three digits from the right. Read more
source§

fn separate_with_underscores(&self) -> String

Inserts an underscore every three digits from the right. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where T: Send,

\ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/index.html b/nightly/core/nautilus_indicators/average/index.html index a6aeb9e206c1..afc6ca2855f5 100644 --- a/nightly/core/nautilus_indicators/average/index.html +++ b/nightly/core/nautilus_indicators/average/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::average - Rust +nautilus_indicators::average - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/rma/index.html b/nightly/core/nautilus_indicators/average/rma/index.html index 2a9f84b2e1d9..ac2ef7b00334 100644 --- a/nightly/core/nautilus_indicators/average/rma/index.html +++ b/nightly/core/nautilus_indicators/average/rma/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::average::rma - Rust +nautilus_indicators::average::rma - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/rma/struct.WilderMovingAverage.html b/nightly/core/nautilus_indicators/average/rma/struct.WilderMovingAverage.html index 2e01241b3c95..9c016af6efe3 100644 --- a/nightly/core/nautilus_indicators/average/rma/struct.WilderMovingAverage.html +++ b/nightly/core/nautilus_indicators/average/rma/struct.WilderMovingAverage.html @@ -1,4 +1,4 @@ -WilderMovingAverage in nautilus_indicators::average::rma - Rust +WilderMovingAverage in nautilus_indicators::average::rma - Rust
#[repr(C)]
pub struct WilderMovingAverage { pub period: usize, pub price_type: PriceType, @@ -7,7 +7,7 @@ pub count: usize, pub is_initialized: bool, /* private fields */ -}

Fields§

§period: usize§price_type: PriceType§alpha: f64§value: f64§count: usize§is_initialized: bool

Implementations§

source§

impl WilderMovingAverage

source

pub fn new(period: usize, price_type: Option<PriceType>) -> Result<Self>

Trait Implementations§

source§

impl Debug for WilderMovingAverage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for WilderMovingAverage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Indicator for WilderMovingAverage

source§

fn name(&self) -> String

source§

fn has_inputs(&self) -> bool

source§

fn is_initialized(&self) -> bool

source§

fn handle_quote_tick(&mut self, tick: &QuoteTick)

source§

fn handle_trade_tick(&mut self, tick: &TradeTick)

source§

fn handle_bar(&mut self, bar: &Bar)

source§

fn reset(&mut self)

source§

impl IntoPy<Py<PyAny>> for WilderMovingAverage

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl MovingAverage for WilderMovingAverage

source§

fn value(&self) -> f64

source§

fn count(&self) -> usize

source§

fn update_raw(&mut self, value: f64)

source§

impl PyClass for WilderMovingAverage

§

type Frozen = False

Whether the pyclass is frozen. Read more
source§

impl PyClassImpl for WilderMovingAverage

source§

const IS_BASETYPE: bool = false

#[pyclass(subclass)]
source§

const IS_SUBCLASS: bool = false

#[pyclass(extends=…)]
source§

const IS_MAPPING: bool = false

#[pyclass(mapping)]
source§

const IS_SEQUENCE: bool = false

#[pyclass(sequence)]
§

type BaseType = PyAny

Base class
§

type ThreadChecker = SendablePyClass<WilderMovingAverage>

This handles following two situations: Read more
§

type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

Immutable or mutable
§

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.
§

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.
§

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare +}

Fields§

§period: usize§price_type: PriceType§alpha: f64§value: f64§count: usize§is_initialized: bool

Implementations§

source§

impl WilderMovingAverage

source

pub fn new(period: usize, price_type: Option<PriceType>) -> Result<Self>

Trait Implementations§

source§

impl Debug for WilderMovingAverage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for WilderMovingAverage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Indicator for WilderMovingAverage

source§

fn name(&self) -> String

source§

fn has_inputs(&self) -> bool

source§

fn is_initialized(&self) -> bool

source§

fn handle_quote_tick(&mut self, tick: &QuoteTick)

source§

fn handle_trade_tick(&mut self, tick: &TradeTick)

source§

fn handle_bar(&mut self, bar: &Bar)

source§

fn reset(&mut self)

source§

impl IntoPy<Py<PyAny>> for WilderMovingAverage

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl MovingAverage for WilderMovingAverage

source§

fn value(&self) -> f64

source§

fn count(&self) -> usize

source§

fn update_raw(&mut self, value: f64)

source§

impl PyClass for WilderMovingAverage

§

type Frozen = False

Whether the pyclass is frozen. Read more
source§

impl PyClassImpl for WilderMovingAverage

source§

const IS_BASETYPE: bool = false

#[pyclass(subclass)]
source§

const IS_SUBCLASS: bool = false

#[pyclass(extends=…)]
source§

const IS_MAPPING: bool = false

#[pyclass(mapping)]
source§

const IS_SEQUENCE: bool = false

#[pyclass(sequence)]
§

type BaseType = PyAny

Base class
§

type ThreadChecker = SendablePyClass<WilderMovingAverage>

This handles following two situations: Read more
§

type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

Immutable or mutable
§

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.
§

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.
§

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare #[pyclass(extends=PyDict)], it’s PyDict.
source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl PyClassNewTextSignature<WilderMovingAverage> for PyClassImplCollector<WilderMovingAverage>

source§

fn new_text_signature(self) -> Option<&'static str>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a WilderMovingAverage

§

type Holder = Option<PyRef<'py, WilderMovingAverage>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut WilderMovingAverage

§

type Holder = Option<PyRefMut<'py, WilderMovingAverage>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyMethods<WilderMovingAverage> for PyClassImplCollector<WilderMovingAverage>

source§

fn py_methods(self) -> &'static PyClassItems

source§

impl PyTypeInfo for WilderMovingAverage

§

type AsRefTarget = PyCell<WilderMovingAverage>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "WilderMovingAverage"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where @@ -20,6 +20,6 @@ T: IntoPy<Py<PyAny>> + Send + Sync,

§

fn arguments(self, py: Python<'_>) -> Py<PyAny>

Arguments for exception
source§

impl<T> Separable for T
where T: Display,

source§

fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

Adds separators according to the given SeparatorPolicy. Read more
source§

fn separate_with_commas(&self) -> String

Inserts a comma every three digits from the right. Read more
source§

fn separate_with_spaces(&self) -> String

Inserts a space every three digits from the right. Read more
source§

fn separate_with_dots(&self) -> String

Inserts a period every three digits from the right. Read more
source§

fn separate_with_underscores(&self) -> String

Inserts an underscore every three digits from the right. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where T: Send,

\ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/sma/index.html b/nightly/core/nautilus_indicators/average/sma/index.html index 7d1d246ab99b..c2f55587fe42 100644 --- a/nightly/core/nautilus_indicators/average/sma/index.html +++ b/nightly/core/nautilus_indicators/average/sma/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::average::sma - Rust +nautilus_indicators::average::sma - Rust
\ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/sma/struct.SimpleMovingAverage.html b/nightly/core/nautilus_indicators/average/sma/struct.SimpleMovingAverage.html index da6a22154463..4ef93e295b13 100644 --- a/nightly/core/nautilus_indicators/average/sma/struct.SimpleMovingAverage.html +++ b/nightly/core/nautilus_indicators/average/sma/struct.SimpleMovingAverage.html @@ -1,4 +1,4 @@ -SimpleMovingAverage in nautilus_indicators::average::sma - Rust +SimpleMovingAverage in nautilus_indicators::average::sma - Rust
#[repr(C)]
pub struct SimpleMovingAverage { pub period: usize, pub price_type: PriceType, @@ -19,6 +19,6 @@ T: IntoPy<Py<PyAny>> + Send + Sync,
§

fn arguments(self, py: Python<'_>) -> Py<PyAny>

Arguments for exception
source§

impl<T> Separable for T
where T: Display,

source§

fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

Adds separators according to the given SeparatorPolicy. Read more
source§

fn separate_with_commas(&self) -> String

Inserts a comma every three digits from the right. Read more
source§

fn separate_with_spaces(&self) -> String

Inserts a space every three digits from the right. Read more
source§

fn separate_with_dots(&self) -> String

Inserts a period every three digits from the right. Read more
source§

fn separate_with_underscores(&self) -> String

Inserts an underscore every three digits from the right. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where T: Send,

\ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/struct.MovingAverageFactory.html b/nightly/core/nautilus_indicators/average/struct.MovingAverageFactory.html index d5019abedad3..2516588d9aaf 100644 --- a/nightly/core/nautilus_indicators/average/struct.MovingAverageFactory.html +++ b/nightly/core/nautilus_indicators/average/struct.MovingAverageFactory.html @@ -1,4 +1,4 @@ -MovingAverageFactory in nautilus_indicators::average - Rust +MovingAverageFactory in nautilus_indicators::average - Rust
pub struct MovingAverageFactory;

Implementations§

source§

impl MovingAverageFactory

source

pub fn create( moving_average_type: MovingAverageType, period: usize @@ -11,6 +11,6 @@

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where T: Send,

\ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/struct.MovingAverageTypeIter.html b/nightly/core/nautilus_indicators/average/struct.MovingAverageTypeIter.html index 21065803eca3..1a8f8b1b97aa 100644 --- a/nightly/core/nautilus_indicators/average/struct.MovingAverageTypeIter.html +++ b/nightly/core/nautilus_indicators/average/struct.MovingAverageTypeIter.html @@ -1,4 +1,4 @@ -MovingAverageTypeIter in nautilus_indicators::average - Rust +MovingAverageTypeIter in nautilus_indicators::average - Rust
pub struct MovingAverageTypeIter { /* private fields */ }
Expand description

An iterator over the variants of MovingAverageType

Trait Implementations§

source§

impl Clone for MovingAverageTypeIter

source§

fn clone(&self) -> MovingAverageTypeIter

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MovingAverageTypeIter

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl DoubleEndedIterator for MovingAverageTypeIter

source§

fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

Removes and returns an element from the end of the iterator. Read more
source§

fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator from the back by n elements. Read more
1.37.0 · source§

fn nth_back(&mut self, n: usize) -> Option<Self::Item>

Returns the nth element from the end of the iterator. Read more
1.27.0 · source§

fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
where Self: Sized, @@ -9,91 +9,91 @@ F: FnMut(B, Self::Item) -> B,

An iterator method that reduces the iterator’s elements to a single, final value, starting from the back. Read more
1.27.0 · source§

fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator from the back that satisfies a predicate. Read more
source§

impl ExactSizeIterator for MovingAverageTypeIter

source§

fn len(&self) -> usize

Returns the exact remaining length of the iterator. Read more
source§

fn is_empty(&self) -> bool

🔬This is a nightly-only experimental API. (exact_size_is_empty)
Returns true if the iterator is empty. Read more
source§

impl Iterator for MovingAverageTypeIter

§

type Item = MovingAverageType

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<<Self as Iterator>::Item>

Advances the iterator and returns the next value. Read more
source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
source§

fn nth(&mut self, n: usize) -> Option<<Self as Iterator>::Item>

Returns the nth element of the iterator. Read more
source§

fn next_chunk<const N: usize>( + P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator from the back that satisfies a predicate. Read more
source§

impl ExactSizeIterator for MovingAverageTypeIter

source§

fn len(&self) -> usize

Returns the exact remaining length of the iterator. Read more
source§

fn is_empty(&self) -> bool

🔬This is a nightly-only experimental API. (exact_size_is_empty)
Returns true if the iterator is empty. Read more
source§

impl Iterator for MovingAverageTypeIter

§

type Item = MovingAverageType

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<<Self as Iterator>::Item>

Advances the iterator and returns the next value. Read more
source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
source§

fn nth(&mut self, n: usize) -> Option<<Self as Iterator>::Item>

Returns the nth element of the iterator. Read more
source§

fn next_chunk<const N: usize>( &mut self ) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
where - Self: Sized,

🔬This is a nightly-only experimental API. (iter_next_chunk)
Advances the iterator and returns an array containing the next N values. Read more
1.0.0 · source§

fn count(self) -> usize
where - Self: Sized,

Consumes the iterator, counting the number of iterations and returning it. Read more
1.0.0 · source§

fn last(self) -> Option<Self::Item>
where - Self: Sized,

Consumes the iterator, returning the last element. Read more
source§

fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator by n elements. Read more
1.28.0 · source§

fn step_by(self, step: usize) -> StepBy<Self>
where + Self: Sized,

🔬This is a nightly-only experimental API. (iter_next_chunk)
Advances the iterator and returns an array containing the next N values. Read more
1.0.0 · source§

fn count(self) -> usize
where + Self: Sized,

Consumes the iterator, counting the number of iterations and returning it. Read more
1.0.0 · source§

fn last(self) -> Option<Self::Item>
where + Self: Sized,

Consumes the iterator, returning the last element. Read more
source§

fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

🔬This is a nightly-only experimental API. (iter_advance_by)
Advances the iterator by n elements. Read more
1.28.0 · source§

fn step_by(self, step: usize) -> StepBy<Self>
where Self: Sized,

Creates an iterator starting at the same point, but stepping by -the given amount at each iteration. Read more
1.0.0 · source§

fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
where +the given amount at each iteration. Read more

1.0.0 · source§

fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
where Self: Sized, - U: IntoIterator<Item = Self::Item>,

Takes two iterators and creates a new iterator over both in sequence. Read more
1.0.0 · source§

fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
where + U: IntoIterator<Item = Self::Item>,

Takes two iterators and creates a new iterator over both in sequence. Read more
1.0.0 · source§

fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
where Self: Sized, - U: IntoIterator,

‘Zips up’ two iterators into a single iterator of pairs. Read more
source§

fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
where + U: IntoIterator,

‘Zips up’ two iterators into a single iterator of pairs. Read more
source§

fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
where Self: Sized, Self::Item: Clone,

🔬This is a nightly-only experimental API. (iter_intersperse)
Creates a new iterator which places a copy of separator between adjacent -items of the original iterator. Read more
source§

fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
where +items of the original iterator. Read more

source§

fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
where Self: Sized, G: FnMut() -> Self::Item,

🔬This is a nightly-only experimental API. (iter_intersperse)
Creates a new iterator which places an item generated by separator -between adjacent items of the original iterator. Read more
1.0.0 · source§

fn map<B, F>(self, f: F) -> Map<Self, F>
where +between adjacent items of the original iterator. Read more

1.0.0 · source§

fn map<B, F>(self, f: F) -> Map<Self, F>
where Self: Sized, F: FnMut(Self::Item) -> B,

Takes a closure and creates an iterator which calls that closure on each -element. Read more
1.21.0 · source§

fn for_each<F>(self, f: F)
where +element. Read more

1.21.0 · source§

fn for_each<F>(self, f: F)
where Self: Sized, - F: FnMut(Self::Item),

Calls a closure on each element of an iterator. Read more
1.0.0 · source§

fn filter<P>(self, predicate: P) -> Filter<Self, P>
where + F: FnMut(Self::Item),

Calls a closure on each element of an iterator. Read more
1.0.0 · source§

fn filter<P>(self, predicate: P) -> Filter<Self, P>
where Self: Sized, P: FnMut(&Self::Item) -> bool,

Creates an iterator which uses a closure to determine if an element -should be yielded. Read more
1.0.0 · source§

fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
where +should be yielded. Read more

1.0.0 · source§

fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
where Self: Sized, - F: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both filters and maps. Read more
1.0.0 · source§

fn enumerate(self) -> Enumerate<Self>
where + F: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both filters and maps. Read more
1.0.0 · source§

fn enumerate(self) -> Enumerate<Self>
where Self: Sized,

Creates an iterator which gives the current iteration count as well as -the next value. Read more
1.0.0 · source§

fn peekable(self) -> Peekable<Self>
where +the next value. Read more

1.0.0 · source§

fn peekable(self) -> Peekable<Self>
where Self: Sized,

Creates an iterator which can use the peek and peek_mut methods to look at the next element of the iterator without consuming it. See -their documentation for more information. Read more
1.0.0 · source§

fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
where +their documentation for more information. Read more

1.0.0 · source§

fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Creates an iterator that skips elements based on a predicate. Read more
1.0.0 · source§

fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
where + P: FnMut(&Self::Item) -> bool,

Creates an iterator that skips elements based on a predicate. Read more
1.0.0 · source§

fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Creates an iterator that yields elements based on a predicate. Read more
1.57.0 · source§

fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
where + P: FnMut(&Self::Item) -> bool,

Creates an iterator that yields elements based on a predicate. Read more
1.57.0 · source§

fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
where Self: Sized, - P: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both yields elements based on a predicate and maps. Read more
1.0.0 · source§

fn skip(self, n: usize) -> Skip<Self>
where - Self: Sized,

Creates an iterator that skips the first n elements. Read more
1.0.0 · source§

fn take(self, n: usize) -> Take<Self>
where + P: FnMut(Self::Item) -> Option<B>,

Creates an iterator that both yields elements based on a predicate and maps. Read more
1.0.0 · source§

fn skip(self, n: usize) -> Skip<Self>
where + Self: Sized,

Creates an iterator that skips the first n elements. Read more
1.0.0 · source§

fn take(self, n: usize) -> Take<Self>
where Self: Sized,

Creates an iterator that yields the first n elements, or fewer -if the underlying iterator ends sooner. Read more
1.0.0 · source§

fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
where +if the underlying iterator ends sooner. Read more

1.0.0 · source§

fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
where Self: Sized, F: FnMut(&mut St, Self::Item) -> Option<B>,

An iterator adapter which, like fold, holds internal state, but -unlike fold, produces a new iterator. Read more
1.0.0 · source§

fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
where +unlike fold, produces a new iterator. Read more

1.0.0 · source§

fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
where Self: Sized, U: IntoIterator, - F: FnMut(Self::Item) -> U,

Creates an iterator that works like map, but flattens nested structure. Read more
source§

fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
where + F: FnMut(Self::Item) -> U,

Creates an iterator that works like map, but flattens nested structure. Read more
source§

fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
where Self: Sized, F: FnMut(&[Self::Item; N]) -> R,

🔬This is a nightly-only experimental API. (iter_map_windows)
Calls the given function f for each contiguous window of size N over self and returns an iterator over the outputs of f. Like slice::windows(), -the windows during mapping overlap as well. Read more
1.0.0 · source§

fn fuse(self) -> Fuse<Self>
where - Self: Sized,

Creates an iterator which ends after the first None. Read more
1.0.0 · source§

fn inspect<F>(self, f: F) -> Inspect<Self, F>
where +the windows during mapping overlap as well. Read more

1.0.0 · source§

fn fuse(self) -> Fuse<Self>
where + Self: Sized,

Creates an iterator which ends after the first None. Read more
1.0.0 · source§

fn inspect<F>(self, f: F) -> Inspect<Self, F>
where Self: Sized, - F: FnMut(&Self::Item),

Does something with each element of an iterator, passing the value on. Read more
1.0.0 · source§

fn by_ref(&mut self) -> &mut Self
where - Self: Sized,

Borrows an iterator, rather than consuming it. Read more
1.0.0 · source§

fn collect<B>(self) -> B
where + F: FnMut(&Self::Item),

Does something with each element of an iterator, passing the value on. Read more
1.0.0 · source§

fn by_ref(&mut self) -> &mut Self
where + Self: Sized,

Borrows an iterator, rather than consuming it. Read more
1.0.0 · source§

fn collect<B>(self) -> B
where B: FromIterator<Self::Item>, - Self: Sized,

Transforms an iterator into a collection. Read more
source§

fn collect_into<E>(self, collection: &mut E) -> &mut E
where + Self: Sized,

Transforms an iterator into a collection. Read more
source§

fn collect_into<E>(self, collection: &mut E) -> &mut E
where E: Extend<Self::Item>, - Self: Sized,

🔬This is a nightly-only experimental API. (iter_collect_into)
Collects all the items from an iterator into a collection. Read more
1.0.0 · source§

fn partition<B, F>(self, f: F) -> (B, B)
where + Self: Sized,

🔬This is a nightly-only experimental API. (iter_collect_into)
Collects all the items from an iterator into a collection. Read more
1.0.0 · source§

fn partition<B, F>(self, f: F) -> (B, B)
where Self: Sized, B: Default + Extend<Self::Item>, - F: FnMut(&Self::Item) -> bool,

Consumes an iterator, creating two collections from it. Read more
source§

fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
where + F: FnMut(&Self::Item) -> bool,

Consumes an iterator, creating two collections from it. Read more
source§

fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
where T: 'a, Self: Sized + DoubleEndedIterator<Item = &'a mut T>, P: FnMut(&T) -> bool,

🔬This is a nightly-only experimental API. (iter_partition_in_place)
Reorders the elements of this iterator in-place according to the given predicate, such that all those that return true precede all those that return false. -Returns the number of true elements found. Read more
source§

fn is_partitioned<P>(self, predicate: P) -> bool
where +Returns the number of true elements found. Read more

source§

fn is_partitioned<P>(self, predicate: P) -> bool
where Self: Sized, P: FnMut(Self::Item) -> bool,

🔬This is a nightly-only experimental API. (iter_is_partitioned)
Checks if the elements of this iterator are partitioned according to the given predicate, -such that all those that return true precede all those that return false. Read more
1.27.0 · source§

fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
where +such that all those that return true precede all those that return false. Read more

1.27.0 · source§

fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
where Self: Sized, F: FnMut(B, Self::Item) -> R, R: Try<Output = B>,

An iterator method that applies a function as long as it returns -successfully, producing a single, final value. Read more
1.27.0 · source§

fn try_for_each<F, R>(&mut self, f: F) -> R
where +successfully, producing a single, final value. Read more

1.27.0 · source§

fn try_for_each<F, R>(&mut self, f: F) -> R
where Self: Sized, F: FnMut(Self::Item) -> R, R: Try<Output = ()>,

An iterator method that applies a fallible function to each item in the -iterator, stopping at the first error and returning that error. Read more
1.0.0 · source§

fn fold<B, F>(self, init: B, f: F) -> B
where +iterator, stopping at the first error and returning that error. Read more

1.0.0 · source§

fn fold<B, F>(self, init: B, f: F) -> B
where Self: Sized, F: FnMut(B, Self::Item) -> B,

Folds every element into an accumulator by applying an operation, -returning the final result. Read more
1.51.0 · source§

fn reduce<F>(self, f: F) -> Option<Self::Item>
where +returning the final result. Read more

1.51.0 · source§

fn reduce<F>(self, f: F) -> Option<Self::Item>
where Self: Sized, F: FnMut(Self::Item, Self::Item) -> Self::Item,

Reduces the elements to a single one, by repeatedly applying a reducing -operation. Read more
source§

fn try_reduce<F, R>( +operation. Read more

source§

fn try_reduce<F, R>( &mut self, f: F ) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
where @@ -101,16 +101,16 @@ F: FnMut(Self::Item, Self::Item) -> R, R: Try<Output = Self::Item>, <R as Try>::Residual: Residual<Option<Self::Item>>,

🔬This is a nightly-only experimental API. (iterator_try_reduce)
Reduces the elements to a single one by repeatedly applying a reducing operation. If the -closure returns a failure, the failure is propagated back to the caller immediately. Read more
1.0.0 · source§

fn all<F>(&mut self, f: F) -> bool
where +closure returns a failure, the failure is propagated back to the caller immediately. Read more

1.0.0 · source§

fn all<F>(&mut self, f: F) -> bool
where Self: Sized, - F: FnMut(Self::Item) -> bool,

Tests if every element of the iterator matches a predicate. Read more
1.0.0 · source§

fn any<F>(&mut self, f: F) -> bool
where + F: FnMut(Self::Item) -> bool,

Tests if every element of the iterator matches a predicate. Read more
1.0.0 · source§

fn any<F>(&mut self, f: F) -> bool
where Self: Sized, - F: FnMut(Self::Item) -> bool,

Tests if any element of the iterator matches a predicate. Read more
1.0.0 · source§

fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
where + F: FnMut(Self::Item) -> bool,

Tests if any element of the iterator matches a predicate. Read more
1.0.0 · source§

fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
where Self: Sized, - P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator that satisfies a predicate. Read more
1.30.0 · source§

fn find_map<B, F>(&mut self, f: F) -> Option<B>
where + P: FnMut(&Self::Item) -> bool,

Searches for an element of an iterator that satisfies a predicate. Read more
1.30.0 · source§

fn find_map<B, F>(&mut self, f: F) -> Option<B>
where Self: Sized, F: FnMut(Self::Item) -> Option<B>,

Applies function to the elements of iterator and returns -the first non-none result. Read more
source§

fn try_find<F, R>( +the first non-none result. Read more

source§

fn try_find<F, R>( &mut self, f: F ) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
where @@ -118,94 +118,94 @@ F: FnMut(&Self::Item) -> R, R: Try<Output = bool>, <R as Try>::Residual: Residual<Option<Self::Item>>,

🔬This is a nightly-only experimental API. (try_find)
Applies function to the elements of iterator and returns -the first true result or the first error. Read more
1.0.0 · source§

fn position<P>(&mut self, predicate: P) -> Option<usize>
where +the first true result or the first error. Read more

1.0.0 · source§

fn position<P>(&mut self, predicate: P) -> Option<usize>
where Self: Sized, - P: FnMut(Self::Item) -> bool,

Searches for an element in an iterator, returning its index. Read more
1.0.0 · source§

fn rposition<P>(&mut self, predicate: P) -> Option<usize>
where + P: FnMut(Self::Item) -> bool,

Searches for an element in an iterator, returning its index. Read more
1.0.0 · source§

fn rposition<P>(&mut self, predicate: P) -> Option<usize>
where P: FnMut(Self::Item) -> bool, Self: Sized + ExactSizeIterator + DoubleEndedIterator,

Searches for an element in an iterator from the right, returning its -index. Read more
1.0.0 · source§

fn max(self) -> Option<Self::Item>
where +index. Read more

1.0.0 · source§

fn max(self) -> Option<Self::Item>
where Self: Sized, - Self::Item: Ord,

Returns the maximum element of an iterator. Read more
1.0.0 · source§

fn min(self) -> Option<Self::Item>
where + Self::Item: Ord,

Returns the maximum element of an iterator. Read more
1.0.0 · source§

fn min(self) -> Option<Self::Item>
where Self: Sized, - Self::Item: Ord,

Returns the minimum element of an iterator. Read more
1.6.0 · source§

fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
where + Self::Item: Ord,

Returns the minimum element of an iterator. Read more
1.6.0 · source§

fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
where B: Ord, Self: Sized, F: FnMut(&Self::Item) -> B,

Returns the element that gives the maximum value from the -specified function. Read more
1.15.0 · source§

fn max_by<F>(self, compare: F) -> Option<Self::Item>
where +specified function. Read more

1.15.0 · source§

fn max_by<F>(self, compare: F) -> Option<Self::Item>
where Self: Sized, F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Returns the element that gives the maximum value with respect to the -specified comparison function. Read more
1.6.0 · source§

fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
where +specified comparison function. Read more

1.6.0 · source§

fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
where B: Ord, Self: Sized, F: FnMut(&Self::Item) -> B,

Returns the element that gives the minimum value from the -specified function. Read more
1.15.0 · source§

fn min_by<F>(self, compare: F) -> Option<Self::Item>
where +specified function. Read more

1.15.0 · source§

fn min_by<F>(self, compare: F) -> Option<Self::Item>
where Self: Sized, F: FnMut(&Self::Item, &Self::Item) -> Ordering,

Returns the element that gives the minimum value with respect to the -specified comparison function. Read more
1.0.0 · source§

fn rev(self) -> Rev<Self>
where - Self: Sized + DoubleEndedIterator,

Reverses an iterator’s direction. Read more
1.0.0 · source§

fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
where +specified comparison function. Read more

1.0.0 · source§

fn rev(self) -> Rev<Self>
where + Self: Sized + DoubleEndedIterator,

Reverses an iterator’s direction. Read more
1.0.0 · source§

fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
where FromA: Default + Extend<A>, FromB: Default + Extend<B>, - Self: Sized + Iterator<Item = (A, B)>,

Converts an iterator of pairs into a pair of containers. Read more
1.36.0 · source§

fn copied<'a, T>(self) -> Copied<Self>
where + Self: Sized + Iterator<Item = (A, B)>,

Converts an iterator of pairs into a pair of containers. Read more
1.36.0 · source§

fn copied<'a, T>(self) -> Copied<Self>
where T: 'a + Copy, - Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which copies all of its elements. Read more
1.0.0 · source§

fn cloned<'a, T>(self) -> Cloned<Self>
where + Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which copies all of its elements. Read more
1.0.0 · source§

fn cloned<'a, T>(self) -> Cloned<Self>
where T: 'a + Clone, - Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which clones all of its elements. Read more
1.0.0 · source§

fn cycle(self) -> Cycle<Self>
where - Self: Sized + Clone,

Repeats an iterator endlessly. Read more
source§

fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
where - Self: Sized,

🔬This is a nightly-only experimental API. (iter_array_chunks)
Returns an iterator over N elements of the iterator at a time. Read more
1.11.0 · source§

fn sum<S>(self) -> S
where + Self: Sized + Iterator<Item = &'a T>,

Creates an iterator which clones all of its elements. Read more
1.0.0 · source§

fn cycle(self) -> Cycle<Self>
where + Self: Sized + Clone,

Repeats an iterator endlessly. Read more
source§

fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
where + Self: Sized,

🔬This is a nightly-only experimental API. (iter_array_chunks)
Returns an iterator over N elements of the iterator at a time. Read more
1.11.0 · source§

fn sum<S>(self) -> S
where Self: Sized, - S: Sum<Self::Item>,

Sums the elements of an iterator. Read more
1.11.0 · source§

fn product<P>(self) -> P
where + S: Sum<Self::Item>,

Sums the elements of an iterator. Read more
1.11.0 · source§

fn product<P>(self) -> P
where Self: Sized, - P: Product<Self::Item>,

Iterates over the entire iterator, multiplying all the elements Read more
1.5.0 · source§

fn cmp<I>(self, other: I) -> Ordering
where + P: Product<Self::Item>,

Iterates over the entire iterator, multiplying all the elements Read more
1.5.0 · source§

fn cmp<I>(self, other: I) -> Ordering
where I: IntoIterator<Item = Self::Item>, Self::Item: Ord, Self: Sized,

Lexicographically compares the elements of this Iterator with those -of another. Read more
source§

fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
where +of another. Read more

source§

fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
where Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

🔬This is a nightly-only experimental API. (iter_order_by)
Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
1.5.0 · source§

fn partial_cmp<I>(self, other: I) -> Option<Ordering>
where +of another with respect to the specified comparison function. Read more

1.5.0 · source§

fn partial_cmp<I>(self, other: I) -> Option<Ordering>
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Lexicographically compares the PartialOrd elements of this Iterator with those of another. The comparison works like short-circuit evaluation, returning a result without comparing the remaining elements. -As soon as an order can be determined, the evaluation stops and a result is returned. Read more
source§

fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
where +As soon as an order can be determined, the evaluation stops and a result is returned. Read more

source§

fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
where Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

🔬This is a nightly-only experimental API. (iter_order_by)
Lexicographically compares the elements of this Iterator with those -of another with respect to the specified comparison function. Read more
1.5.0 · source§

fn eq<I>(self, other: I) -> bool
where +of another with respect to the specified comparison function. Read more

1.5.0 · source§

fn eq<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialEq<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are equal to those of -another. Read more
source§

fn eq_by<I, F>(self, other: I, eq: F) -> bool
where +another. Read more

source§

fn eq_by<I, F>(self, other: I, eq: F) -> bool
where Self: Sized, I: IntoIterator, F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

🔬This is a nightly-only experimental API. (iter_order_by)
Determines if the elements of this Iterator are equal to those of -another with respect to the specified equality function. Read more
1.5.0 · source§

fn ne<I>(self, other: I) -> bool
where +another with respect to the specified equality function. Read more

1.5.0 · source§

fn ne<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialEq<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are not equal to those of -another. Read more
1.5.0 · source§

fn lt<I>(self, other: I) -> bool
where +another. Read more

1.5.0 · source§

fn lt<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -less than those of another. Read more
1.5.0 · source§

fn le<I>(self, other: I) -> bool
where +less than those of another. Read more

1.5.0 · source§

fn le<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -less or equal to those of another. Read more
1.5.0 · source§

fn gt<I>(self, other: I) -> bool
where +less or equal to those of another. Read more

1.5.0 · source§

fn gt<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -greater than those of another. Read more
1.5.0 · source§

fn ge<I>(self, other: I) -> bool
where +greater than those of another. Read more

1.5.0 · source§

fn ge<I>(self, other: I) -> bool
where I: IntoIterator, Self::Item: PartialOrd<<I as IntoIterator>::Item>, Self: Sized,

Determines if the elements of this Iterator are lexicographically -greater than or equal to those of another. Read more
source§

fn is_sorted(self) -> bool
where +greater than or equal to those of another. Read more

source§

fn is_sorted(self) -> bool
where Self: Sized, - Self::Item: PartialOrd,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted. Read more
source§

fn is_sorted_by<F>(self, compare: F) -> bool
where + Self::Item: PartialOrd,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted. Read more
source§

fn is_sorted_by<F>(self, compare: F) -> bool
where Self: Sized, - F: FnMut(&Self::Item, &Self::Item) -> bool,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given comparator function. Read more
source§

fn is_sorted_by_key<F, K>(self, f: F) -> bool
where + F: FnMut(&Self::Item, &Self::Item) -> bool,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given comparator function. Read more
source§

fn is_sorted_by_key<F, K>(self, f: F) -> bool
where Self: Sized, F: FnMut(Self::Item) -> K, K: PartialOrd,

🔬This is a nightly-only experimental API. (is_sorted)
Checks if the elements of this iterator are sorted using the given key extraction @@ -220,6 +220,6 @@
source§

impl<I> IntoIterator for I
where I: Iterator,

§

type Item = <I as Iterator>::Item

The type of the elements being iterated over.
§

type IntoIter = I

Which kind of iterator are we turning this into?
const: unstable · source§

fn into_iter(self) -> I

Creates an iterator from a value. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where T: Send,

\ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/wma/index.html b/nightly/core/nautilus_indicators/average/wma/index.html index 30e5e4c70c2d..1bf6eeb5f20c 100644 --- a/nightly/core/nautilus_indicators/average/wma/index.html +++ b/nightly/core/nautilus_indicators/average/wma/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::average::wma - Rust +nautilus_indicators::average::wma - Rust

Structs§

\ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/wma/struct.WeightedMovingAverage.html b/nightly/core/nautilus_indicators/average/wma/struct.WeightedMovingAverage.html index 0431233bd9c6..9ec23a7e92f3 100644 --- a/nightly/core/nautilus_indicators/average/wma/struct.WeightedMovingAverage.html +++ b/nightly/core/nautilus_indicators/average/wma/struct.WeightedMovingAverage.html @@ -1,4 +1,4 @@ -WeightedMovingAverage in nautilus_indicators::average::wma - Rust +WeightedMovingAverage in nautilus_indicators::average::wma - Rust
#[repr(C)]
pub struct WeightedMovingAverage { pub period: usize, pub weights: Vec<f64>, @@ -23,7 +23,7 @@ weights: Vec<f64>, price_type: Option<PriceType> ) -> PyResult<Self>

Trait Implementations§

source§

impl Debug for WeightedMovingAverage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for WeightedMovingAverage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Indicator for WeightedMovingAverage

source§

fn name(&self) -> String

source§

fn has_inputs(&self) -> bool

source§

fn is_initialized(&self) -> bool

source§

fn handle_quote_tick(&mut self, tick: &QuoteTick)

source§

fn handle_trade_tick(&mut self, tick: &TradeTick)

source§

fn handle_bar(&mut self, bar: &Bar)

source§

fn reset(&mut self)

source§

impl IntoPy<Py<PyAny>> for WeightedMovingAverage

source§

fn into_py(self, py: Python<'_>) -> PyObject

Performs the conversion.
source§

impl MovingAverage for WeightedMovingAverage

source§

fn value(&self) -> f64

source§

fn count(&self) -> usize

source§

fn update_raw(&mut self, value: f64)

source§

impl PyClass for WeightedMovingAverage

§

type Frozen = False

Whether the pyclass is frozen. Read more
source§

impl PyClassImpl for WeightedMovingAverage

source§

const IS_BASETYPE: bool = false

#[pyclass(subclass)]
source§

const IS_SUBCLASS: bool = false

#[pyclass(extends=…)]
source§

const IS_MAPPING: bool = false

#[pyclass(mapping)]
source§

const IS_SEQUENCE: bool = false

#[pyclass(sequence)]
§

type BaseType = PyAny

Base class
§

type ThreadChecker = SendablePyClass<WeightedMovingAverage>

This handles following two situations: Read more
§

type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

Immutable or mutable
§

type Dict = PyClassDummySlot

Specify this class has #[pyclass(dict)] or not.
§

type WeakRef = PyClassDummySlot

Specify this class has #[pyclass(weakref)] or not.
§

type BaseNativeType = PyAny

The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl PyClassNewTextSignature<WeightedMovingAverage> for PyClassImplCollector<WeightedMovingAverage>

source§

fn new_text_signature(self) -> Option<&'static str>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a WeightedMovingAverage

§

type Holder = Option<PyRef<'py, WeightedMovingAverage>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut WeightedMovingAverage

§

type Holder = Option<PyRefMut<'py, WeightedMovingAverage>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyMethods<WeightedMovingAverage> for PyClassImplCollector<WeightedMovingAverage>

source§

fn py_methods(self) -> &'static PyClassItems

source§

impl PyTypeInfo for WeightedMovingAverage

§

type AsRefTarget = PyCell<WeightedMovingAverage>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "WeightedMovingAverage"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +#[pyclass(extends=PyDict)], it’s PyDict.

source§

fn items_iter() -> PyClassItemsIter

source§

fn doc(py: Python<'_>) -> PyResult<&'static CStr>

Rendered class doc
source§

fn lazy_type_object() -> &'static LazyTypeObject<Self>

§

fn dict_offset() -> Option<isize>

§

fn weaklist_offset() -> Option<isize>

source§

impl PyClassNewTextSignature<WeightedMovingAverage> for PyClassImplCollector<WeightedMovingAverage>

source§

fn new_text_signature(self) -> Option<&'static str>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a WeightedMovingAverage

§

type Holder = Option<PyRef<'py, WeightedMovingAverage>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut WeightedMovingAverage

§

type Holder = Option<PyRefMut<'py, WeightedMovingAverage>>

source§

fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

source§

impl PyMethods<WeightedMovingAverage> for PyClassImplCollector<WeightedMovingAverage>

source§

fn py_methods(self) -> &'static PyClassItems

source§

impl PyTypeInfo for WeightedMovingAverage

§

type AsRefTarget = PyCell<WeightedMovingAverage>

Utility type to make Py::as_ref work.
source§

const NAME: &'static str = "WeightedMovingAverage"

Class name.
source§

const MODULE: Option<&'static str> = _

Module name, if any.
source§

fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

Returns the PyTypeObject instance for this type.
§

fn type_object(py: Python<'_>) -> &PyType

Returns the safe abstraction over the type object.
§

fn is_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type or a subclass of this type.
§

fn is_exact_type_of(object: &PyAny) -> bool

Checks if object is an instance of this type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

@@ -35,6 +35,6 @@ T: IntoPy<Py<PyAny>> + Send + Sync,
§

fn arguments(self, py: Python<'_>) -> Py<PyAny>

Arguments for exception
source§

impl<T> Separable for T
where T: Display,

source§

fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

Adds separators according to the given SeparatorPolicy. Read more
source§

fn separate_with_commas(&self) -> String

Inserts a comma every three digits from the right. Read more
source§

fn separate_with_spaces(&self) -> String

Inserts a space every three digits from the right. Read more
source§

fn separate_with_dots(&self) -> String

Inserts a period every three digits from the right. Read more
source§

fn separate_with_underscores(&self) -> String

Inserts an underscore every three digits from the right. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where T: Send,

\ No newline at end of file diff --git a/nightly/core/nautilus_indicators/index.html b/nightly/core/nautilus_indicators/index.html index d2729c3ebc2c..83628e8ebf28 100644 --- a/nightly/core/nautilus_indicators/index.html +++ b/nightly/core/nautilus_indicators/index.html @@ -1,3 +1,3 @@ -nautilus_indicators - Rust