Struct brontes_classifier::ProtocolClassifier
source · pub struct ProtocolClassifier(pub UniswapV2SwapCall, pub UniswapV2MintCall, pub UniswapV2BurnCall, pub SushiSwapV2SwapCall, pub SushiSwapV2MintCall, pub SushiSwapV2BurnCall, pub PancakeSwapV2SwapCall, pub PancakeSwapV2MintCall, pub PancakeSwapV2BurnCall, pub UniswapV3SwapCall, pub UniswapV3MintCall, pub UniswapV3BurnCall, pub UniswapV3CollectCall, pub SushiSwapV3SwapCall, pub SushiSwapV3MintCall, pub SushiSwapV3BurnCall, pub SushiSwapV3CollectCall, pub PancakeSwapV3SwapCall, pub PancakeSwapV3MintCall, pub PancakeSwapV3BurnCall, pub PancakeSwapV3CollectCall, pub UniswapXExecuteCall, pub UniswapXExecuteBatchCall, pub UniswapXExecuteBatchWithCallbackCall, pub UniswapXExecuteWithCallbackCall, pub CurveBasePool2ExchangeCall, pub CurveBasePool3ExchangeCall, pub CurveBasePool4ExchangeCall, pub CurveBasePool2Add_liquidityCall, pub CurveBasePool3Add_liquidityCall, pub CurveBasePool4Add_liquidityCall, pub CurveBasePool2Remove_liquidityCall, pub CurveBasePool2Remove_liquidity_imbalanceCall, pub CurveBasePool3Remove_liquidityCall, pub CurveBasePool3Remove_liquidity_imbalanceCall, pub CurveBasePool3Remove_liquidity_one_coinCall, pub CurveBasePool4Remove_liquidityCall, pub CurveBasePool4Remove_liquidity_imbalanceCall, pub CurveV1MetapoolImplExchange_0Call, pub CurveV1MetapoolImplExchange_1Call, pub CurveV1MetapoolImplExchange_underlying_0Call, pub CurveV1MetapoolImplExchange_underlying_1Call, pub CurveV1MetapoolImplAdd_liquidity_0Call, pub CurveV1MetapoolImplAdd_liquidity_1Call, pub CurveV1MetapoolImplRemove_liquidity_0Call, pub CurveV1MetapoolImplRemove_liquidity_1Call, pub CurveV1MetapoolImplRemove_liquidity_imbalance_0Call, pub CurveV1MetapoolImplRemove_liquidity_imbalance_1Call, pub CurveV1MetapoolImplRemove_liquidity_one_coin_0Call, pub CurveV1MetapoolImplRemove_liquidity_one_coin_1Call, pub CurveV2MetapoolImplExchange_0Call, pub CurveV2MetapoolImplExchange_1Call, pub CurveV2MetapoolImplAdd_liquidity_0Call, pub CurveV2MetapoolImplAdd_liquidity_1Call, pub CurveV2MetapoolImplExchange_underlying_0Call, pub CurveV2MetapoolImplExchange_underlying_1Call, pub CurveV2MetapoolImplRemove_liquidity_0Call, pub CurveV2MetapoolImplRemove_liquidity_1Call, pub CurveV2MetapoolImplRemove_liquidity_imbalance_0Call, pub CurveV2MetapoolImplRemove_liquidity_imbalance_1Call, pub CurveV2MetapoolImplRemove_liquidity_one_coin_0Call, pub CurveV2MetapoolImplRemove_liquidity_one_coin_1Call, pub CurveV2PlainPoolImplExchange_0Call, pub CurveV2PlainPoolImplExchange_1Call, pub CurveV2PlainPoolImplAdd_liquidity_0Call, pub CurveV2PlainPoolImplAdd_liquidity_1Call, pub CurveV2PlainPoolImplRemove_liquidity_0Call, pub CurveV2PlainPoolImplRemove_liquidity_1Call, pub CurveV2PlainPoolImplRemove_liquidity_imbalance_0Call, pub CurveV2PlainPoolImplRemove_liquidity_imbalance_1Call, pub CurveV2PlainPoolImplRemove_liquidity_one_coin_0Call, pub CurveV2PlainPoolImplRemove_liquidity_one_coin_1Call, pub MakerPSMBuyGemCall, pub MakerPSMSellGemCall, pub MakerDssFlashFlashLoanCall, pub AaveV2LiquidationCallCall, pub AaveV3LiquidationCallCall, pub AaveV2FlashLoanCall, pub AaveV3FlashLoanCall, pub AaveV3FlashLoanSimpleCall, pub BalancerV1SwapExactAmountInCall, pub BalancerV1SwapExactAmountOutCall, pub BalancerV1BindCall, pub BalancerV2OnSwap_0Call, pub BalancerV2OnSwap_1Call, pub BalancerV2FlashLoanCall, pub BalancerV2JoinPoolCall, pub BalancerV2ExitPoolCall, pub BalancerV2RegisterTokensCall, pub CompoundV2LiquidateBorrowCall, pub CompoundV2Initialize_0Call, pub CompoundV2Initialize_1Call, pub OneInchV5SwapCall, pub OneInchV5ClipperSwapCall, pub OneInchV5ClipperSwapToCall, pub OneInchV5ClipperSwapToWithPermitCall, pub OneInchV5UnoswapToCall, pub OneInchV5UnoswapToWithPermitCall, pub OneInchV5UniswapV3SwapToCall, pub OneInchV5UniswapV3SwapToWithPermitCall, pub OneInchFusionSettleOrdersCall, pub ClipperExchangeSwapCall, pub ClipperExchangeSellEthForTokenCall, pub ClipperExchangeSellTokenForEthCall, pub ClipperExchangeTransmitAndSwapCall, pub ClipperExchangeTransmitAndSellTokenForEthCall, pub CowswapSettleCall, pub CowswapSwapCall, pub ZeroXSellToUniswapCall, pub ZeroXSellEthForTokenToUniswapV3Call, pub ZeroXSellTokenForEthToUniswapV3Call, pub ZeroXSellTokenForTokenToUniswapV3Call, pub ZeroXTransformERC20Call, pub ZeroXSellToPancakeSwapCall, pub ZeroXFillOtcOrderCall, pub ZeroXFillOtcOrderForEthCall, pub ZeroXFillOtcOrderWithEthCall, pub ZeroXFillTakerSignedOtcOrderCall, pub ZeroXFillTakerSignedOtcOrderForEthCall, pub ZeroXBatchFillTakerSignedOtcOrdersCall, pub ZeroXSellToLiquidityProviderCall, pub ZeroXMultiplexBatchSellEthForTokenCall, pub ZeroXMultiplexBatchSellTokenForEthCall, pub ZeroXMultiplexBatchSellTokenForTokenCall, pub ZeroXMultiplexMultiHopSellEthForTokenCall, pub ZeroXMultiplexMultiHopSellTokenForEthCall, pub ZeroXMultiplexMultiHopSellTokenForTokenCall, pub ZeroXFillLimitOrderCall, pub ZeroXFillRfqOrderCall, pub ZeroXFillOrKillLimitOrderCall, pub ZeroXFillOrKillRfqOrderCall, pub DodoCreateDODOVendingMachineCall, pub DodoCreateDODOStablePoolCall, pub DodoInitDODOPrivatePoolCall, pub DodoBuySharesCall, pub DodoSellSharesCall, pub DodoSellBaseCall, pub DodoSellQuoteCall, pub DodoFlashLoanCall);
Tuple Fields§
§0: UniswapV2SwapCall
§1: UniswapV2MintCall
§2: UniswapV2BurnCall
§3: SushiSwapV2SwapCall
§4: SushiSwapV2MintCall
§5: SushiSwapV2BurnCall
§6: PancakeSwapV2SwapCall
§7: PancakeSwapV2MintCall
§8: PancakeSwapV2BurnCall
§9: UniswapV3SwapCall
§10: UniswapV3MintCall
§11: UniswapV3BurnCall
§12: UniswapV3CollectCall
§13: SushiSwapV3SwapCall
§14: SushiSwapV3MintCall
§15: SushiSwapV3BurnCall
§16: SushiSwapV3CollectCall
§17: PancakeSwapV3SwapCall
§18: PancakeSwapV3MintCall
§19: PancakeSwapV3BurnCall
§20: PancakeSwapV3CollectCall
§21: UniswapXExecuteCall
§22: UniswapXExecuteBatchCall
§23: UniswapXExecuteBatchWithCallbackCall
§24: UniswapXExecuteWithCallbackCall
§25: CurveBasePool2ExchangeCall
§26: CurveBasePool3ExchangeCall
§27: CurveBasePool4ExchangeCall
§28: CurveBasePool2Add_liquidityCall
§29: CurveBasePool3Add_liquidityCall
§30: CurveBasePool4Add_liquidityCall
§31: CurveBasePool2Remove_liquidityCall
§32: CurveBasePool2Remove_liquidity_imbalanceCall
§33: CurveBasePool3Remove_liquidityCall
§34: CurveBasePool3Remove_liquidity_imbalanceCall
§35: CurveBasePool3Remove_liquidity_one_coinCall
§36: CurveBasePool4Remove_liquidityCall
§37: CurveBasePool4Remove_liquidity_imbalanceCall
§38: CurveV1MetapoolImplExchange_0Call
§39: CurveV1MetapoolImplExchange_1Call
§40: CurveV1MetapoolImplExchange_underlying_0Call
§41: CurveV1MetapoolImplExchange_underlying_1Call
§42: CurveV1MetapoolImplAdd_liquidity_0Call
§43: CurveV1MetapoolImplAdd_liquidity_1Call
§44: CurveV1MetapoolImplRemove_liquidity_0Call
§45: CurveV1MetapoolImplRemove_liquidity_1Call
§46: CurveV1MetapoolImplRemove_liquidity_imbalance_0Call
§47: CurveV1MetapoolImplRemove_liquidity_imbalance_1Call
§48: CurveV1MetapoolImplRemove_liquidity_one_coin_0Call
§49: CurveV1MetapoolImplRemove_liquidity_one_coin_1Call
§50: CurveV2MetapoolImplExchange_0Call
§51: CurveV2MetapoolImplExchange_1Call
§52: CurveV2MetapoolImplAdd_liquidity_0Call
§53: CurveV2MetapoolImplAdd_liquidity_1Call
§54: CurveV2MetapoolImplExchange_underlying_0Call
§55: CurveV2MetapoolImplExchange_underlying_1Call
§56: CurveV2MetapoolImplRemove_liquidity_0Call
§57: CurveV2MetapoolImplRemove_liquidity_1Call
§58: CurveV2MetapoolImplRemove_liquidity_imbalance_0Call
§59: CurveV2MetapoolImplRemove_liquidity_imbalance_1Call
§60: CurveV2MetapoolImplRemove_liquidity_one_coin_0Call
§61: CurveV2MetapoolImplRemove_liquidity_one_coin_1Call
§62: CurveV2PlainPoolImplExchange_0Call
§63: CurveV2PlainPoolImplExchange_1Call
§64: CurveV2PlainPoolImplAdd_liquidity_0Call
§65: CurveV2PlainPoolImplAdd_liquidity_1Call
§66: CurveV2PlainPoolImplRemove_liquidity_0Call
§67: CurveV2PlainPoolImplRemove_liquidity_1Call
§68: CurveV2PlainPoolImplRemove_liquidity_imbalance_0Call
§69: CurveV2PlainPoolImplRemove_liquidity_imbalance_1Call
§70: CurveV2PlainPoolImplRemove_liquidity_one_coin_0Call
§71: CurveV2PlainPoolImplRemove_liquidity_one_coin_1Call
§72: MakerPSMBuyGemCall
§73: MakerPSMSellGemCall
§74: MakerDssFlashFlashLoanCall
§75: AaveV2LiquidationCallCall
§76: AaveV3LiquidationCallCall
§77: AaveV2FlashLoanCall
§78: AaveV3FlashLoanCall
§79: AaveV3FlashLoanSimpleCall
§80: BalancerV1SwapExactAmountInCall
§81: BalancerV1SwapExactAmountOutCall
§82: BalancerV1BindCall
§83: BalancerV2OnSwap_0Call
§84: BalancerV2OnSwap_1Call
§85: BalancerV2FlashLoanCall
§86: BalancerV2JoinPoolCall
§87: BalancerV2ExitPoolCall
§88: BalancerV2RegisterTokensCall
§89: CompoundV2LiquidateBorrowCall
§90: CompoundV2Initialize_0Call
§91: CompoundV2Initialize_1Call
§92: OneInchV5SwapCall
§93: OneInchV5ClipperSwapCall
§94: OneInchV5ClipperSwapToCall
§95: OneInchV5ClipperSwapToWithPermitCall
§96: OneInchV5UnoswapToCall
§97: OneInchV5UnoswapToWithPermitCall
§98: OneInchV5UniswapV3SwapToCall
§99: OneInchV5UniswapV3SwapToWithPermitCall
§100: OneInchFusionSettleOrdersCall
§101: ClipperExchangeSwapCall
§102: ClipperExchangeSellEthForTokenCall
§103: ClipperExchangeSellTokenForEthCall
§104: ClipperExchangeTransmitAndSwapCall
§105: ClipperExchangeTransmitAndSellTokenForEthCall
§106: CowswapSettleCall
§107: CowswapSwapCall
§108: ZeroXSellToUniswapCall
§109: ZeroXSellEthForTokenToUniswapV3Call
§110: ZeroXSellTokenForEthToUniswapV3Call
§111: ZeroXSellTokenForTokenToUniswapV3Call
§112: ZeroXTransformERC20Call
§113: ZeroXSellToPancakeSwapCall
§114: ZeroXFillOtcOrderCall
§115: ZeroXFillOtcOrderForEthCall
§116: ZeroXFillOtcOrderWithEthCall
§117: ZeroXFillTakerSignedOtcOrderCall
§118: ZeroXFillTakerSignedOtcOrderForEthCall
§119: ZeroXBatchFillTakerSignedOtcOrdersCall
§120: ZeroXSellToLiquidityProviderCall
§121: ZeroXMultiplexBatchSellEthForTokenCall
§122: ZeroXMultiplexBatchSellTokenForEthCall
§123: ZeroXMultiplexBatchSellTokenForTokenCall
§124: ZeroXMultiplexMultiHopSellEthForTokenCall
§125: ZeroXMultiplexMultiHopSellTokenForEthCall
§126: ZeroXMultiplexMultiHopSellTokenForTokenCall
§127: ZeroXFillLimitOrderCall
§128: ZeroXFillRfqOrderCall
§129: ZeroXFillOrKillLimitOrderCall
§130: ZeroXFillOrKillRfqOrderCall
§131: DodoCreateDODOVendingMachineCall
§132: DodoCreateDODOStablePoolCall
§133: DodoInitDODOPrivatePoolCall
§134: DodoBuySharesCall
§135: DodoSellSharesCall
§136: DodoSellBaseCall
§137: DodoSellQuoteCall
§138: DodoFlashLoanCall
Trait Implementations§
source§impl ActionCollection for ProtocolClassifier
impl ActionCollection for ProtocolClassifier
fn dispatch<DB: LibmdbxReader + DBWriter>( &self, call_info: CallFrameInfo<'_>, db_tx: &DB, block: u64, tx_idx: u64, ) -> Option<(DexPriceMsg, Action)>
source§impl Debug for ProtocolClassifier
impl Debug for ProtocolClassifier
source§impl Default for ProtocolClassifier
impl Default for ProtocolClassifier
source§fn default() -> ProtocolClassifier
fn default() -> ProtocolClassifier
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProtocolClassifier
impl RefUnwindSafe for ProtocolClassifier
impl Send for ProtocolClassifier
impl Sync for ProtocolClassifier
impl Unpin for ProtocolClassifier
impl UnwindSafe for ProtocolClassifier
Blanket Implementations§
source§impl<T, O> ActionComparison<O> for Twhere
T: SubordinateAction<O>,
O: ActionCmp<T>,
impl<T, O> ActionComparison<O> for Twhere
T: SubordinateAction<O>,
O: ActionCmp<T>,
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Conv for T
impl<T> Conv for T
§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
&self,
deserializer: &mut D,
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§impl<T, U> ExactFrom<T> for Uwhere
U: TryFrom<T>,
impl<T, U> ExactFrom<T> for Uwhere
U: TryFrom<T>,
fn exact_from(value: T) -> U
§impl<T, U> ExactInto<U> for Twhere
U: ExactFrom<T>,
impl<T, U> ExactInto<U> for Twhere
U: ExactFrom<T>,
fn exact_into(self) -> U
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self
to use its Display
implementation when
Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self
to use its LowerExp
implementation when
Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self
to use its LowerHex
implementation when
Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self
to use its Pointer
implementation when
Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self
to use its UpperExp
implementation when
Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self
to use its UpperHex
implementation when
Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.
§impl<T, U> OverflowingInto<U> for Twhere
U: OverflowingFrom<T>,
impl<T, U> OverflowingInto<U> for Twhere
U: OverflowingFrom<T>,
fn overflowing_into(self) -> (U, bool)
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self
, then passes self.as_mut()
into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self
, then passes self.deref()
into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T, U> RoundingInto<U> for Twhere
U: RoundingFrom<T>,
impl<T, U> RoundingInto<U> for Twhere
U: RoundingFrom<T>,
fn rounding_into(self, rm: RoundingMode) -> (U, Ordering)
§impl<T, U> SaturatingInto<U> for Twhere
U: SaturatingFrom<T>,
impl<T, U> SaturatingInto<U> for Twhere
U: SaturatingFrom<T>,
fn saturating_into(self) -> U
source§impl<T, O> SubordinateAction<O> for Twhere
O: ActionCmp<T>,
impl<T, O> SubordinateAction<O> for Twhere
O: ActionCmp<T>,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut()
only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow()
only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref()
only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut()
only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref()
only in debug builds, and is erased in release
builds.§impl<T> ToDebugString for Twhere
T: Debug,
impl<T> ToDebugString for Twhere
T: Debug,
§fn to_debug_string(&self) -> String
fn to_debug_string(&self) -> String
§impl<T> TryConv for T
impl<T> TryConv for T
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
§impl<T, U> WrappingInto<U> for Twhere
U: WrappingFrom<T>,
impl<T, U> WrappingInto<U> for Twhere
U: WrappingFrom<T>,
fn wrapping_into(self) -> U
impl<T> Allocation for T
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSend for Twhere
T: Send,
impl<T> MaybeSendSync for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes