CliCommand

Enum CliCommand 

Source
pub enum CliCommand {
Show 72 variants Catchup { node_pubkey: Option<Pubkey>, node_json_rpc_url: Option<String>, follow: bool, our_localhost_port: Option<u16>, log: bool, }, ClusterDate, ClusterVersion, Feature(FeatureCliCommand), Inflation(InflationCliCommand), FindProgramDerivedAddress { seeds: Vec<Vec<u8>>, program_id: Pubkey, }, FirstAvailableBlock, GetBlock { slot: Option<Slot>, }, GetRecentPrioritizationFees { accounts: Vec<Pubkey>, limit_num_slots: Option<Slot>, }, GetBlockTime { slot: Option<Slot>, }, GetEpoch, GetEpochInfo, GetGenesisHash, GetSlot, GetBlockHeight, GetTransactionCount, LargestAccounts { filter: Option<RpcLargestAccountsFilter>, }, LeaderSchedule { epoch: Option<Epoch>, }, LiveSlots, Logs { filter: RpcTransactionLogsFilter, }, Ping { interval: Duration, count: Option<u64>, timeout: Duration, blockhash: Option<Hash>, print_timestamp: bool, compute_unit_price: Option<u64>, }, Rent { data_length: usize, use_lamports_unit: bool, }, ShowBlockProduction { epoch: Option<Epoch>, slot_limit: Option<u64>, }, ShowGossip, ShowStakes { use_lamports_unit: bool, vote_account_pubkeys: Option<Vec<Pubkey>>, withdraw_authority: Option<Pubkey>, }, ShowValidators { use_lamports_unit: bool, sort_order: CliValidatorsSortOrder, reverse_sort: bool, number_validators: bool, keep_unstaked_delinquents: bool, delinquent_slot_distance: Option<Slot>, }, Supply { print_accounts: bool, }, TotalSupply, TransactionHistory { address: Pubkey, before: Option<Signature>, until: Option<Signature>, limit: usize, show_transactions: bool, }, WaitForMaxStake { max_stake_percent: f32, }, AuthorizeNonceAccount { nonce_account: Pubkey, nonce_authority: SignerIndex, memo: Option<String>, new_authority: Pubkey, compute_unit_price: Option<u64>, }, CreateNonceAccount { nonce_account: SignerIndex, seed: Option<String>, nonce_authority: Option<Pubkey>, memo: Option<String>, amount: SpendAmount, compute_unit_price: Option<u64>, }, GetNonce(Pubkey), NewNonce { nonce_account: Pubkey, nonce_authority: SignerIndex, memo: Option<String>, compute_unit_price: Option<u64>, }, ShowNonceAccount { nonce_account_pubkey: Pubkey, use_lamports_unit: bool, }, WithdrawFromNonceAccount { nonce_account: Pubkey, nonce_authority: SignerIndex, memo: Option<String>, destination_account_pubkey: Pubkey, lamports: u64, compute_unit_price: Option<u64>, }, UpgradeNonceAccount { nonce_account: Pubkey, memo: Option<String>, compute_unit_price: Option<u64>, }, Deploy, Program(ProgramCliCommand), ProgramV4(ProgramV4CliCommand), CreateStakeAccount {
Show 16 fields stake_account: SignerIndex, seed: Option<String>, staker: Option<Pubkey>, withdrawer: Option<Pubkey>, withdrawer_signer: Option<SignerIndex>, lockup: Lockup, amount: SpendAmount, sign_only: bool, dump_transaction_message: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, memo: Option<String>, fee_payer: SignerIndex, from: SignerIndex, compute_unit_price: Option<u64>,
}, DeactivateStake { stake_account_pubkey: Pubkey, stake_authority: SignerIndex, sign_only: bool, deactivate_delinquent: bool, dump_transaction_message: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, memo: Option<String>, seed: Option<String>, fee_payer: SignerIndex, compute_unit_price: Option<u64>, }, DelegateStake { stake_account_pubkey: Pubkey, vote_account_pubkey: Pubkey, stake_authority: SignerIndex, force: bool, sign_only: bool, dump_transaction_message: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, memo: Option<String>, fee_payer: SignerIndex, compute_unit_price: Option<u64>, }, SplitStake {
Show 14 fields stake_account_pubkey: Pubkey, stake_authority: SignerIndex, sign_only: bool, dump_transaction_message: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, memo: Option<String>, split_stake_account: SignerIndex, seed: Option<String>, lamports: u64, fee_payer: SignerIndex, compute_unit_price: Option<u64>, rent_exempt_reserve: Option<u64>,
}, MergeStake { stake_account_pubkey: Pubkey, source_stake_account_pubkey: Pubkey, stake_authority: SignerIndex, sign_only: bool, dump_transaction_message: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, memo: Option<String>, fee_payer: SignerIndex, compute_unit_price: Option<u64>, }, ShowStakeHistory { use_lamports_unit: bool, limit_results: usize, }, ShowStakeAccount { pubkey: Pubkey, use_lamports_unit: bool, with_rewards: Option<usize>, use_csv: bool, starting_epoch: Option<u64>, }, StakeAuthorize { stake_account_pubkey: Pubkey, new_authorizations: Vec<StakeAuthorizationIndexed>, sign_only: bool, dump_transaction_message: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, memo: Option<String>, fee_payer: SignerIndex, custodian: Option<SignerIndex>, no_wait: bool, compute_unit_price: Option<u64>, }, StakeSetLockup { stake_account_pubkey: Pubkey, lockup: LockupArgs, custodian: SignerIndex, new_custodian_signer: Option<SignerIndex>, sign_only: bool, dump_transaction_message: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, memo: Option<String>, fee_payer: SignerIndex, compute_unit_price: Option<u64>, }, WithdrawStake {
Show 14 fields stake_account_pubkey: Pubkey, destination_account_pubkey: Pubkey, amount: SpendAmount, withdraw_authority: SignerIndex, custodian: Option<SignerIndex>, sign_only: bool, dump_transaction_message: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, memo: Option<String>, seed: Option<String>, fee_payer: SignerIndex, compute_unit_price: Option<u64>,
}, GetValidatorInfo(Option<Pubkey>), SetValidatorInfo { validator_info: Value, force_keybase: bool, info_pubkey: Option<Pubkey>, compute_unit_price: Option<u64>, }, CreateVoteAccount {
Show 14 fields vote_account: SignerIndex, seed: Option<String>, identity_account: SignerIndex, authorized_voter: Option<Pubkey>, authorized_withdrawer: Pubkey, commission: u8, sign_only: bool, dump_transaction_message: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, memo: Option<String>, fee_payer: SignerIndex, compute_unit_price: Option<u64>,
}, ShowVoteAccount { pubkey: Pubkey, use_lamports_unit: bool, use_csv: bool, with_rewards: Option<usize>, starting_epoch: Option<u64>, }, WithdrawFromVoteAccount { vote_account_pubkey: Pubkey, destination_account_pubkey: Pubkey, withdraw_authority: SignerIndex, withdraw_amount: SpendAmount, sign_only: bool, dump_transaction_message: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, memo: Option<String>, fee_payer: SignerIndex, compute_unit_price: Option<u64>, }, CloseVoteAccount { vote_account_pubkey: Pubkey, destination_account_pubkey: Pubkey, withdraw_authority: SignerIndex, memo: Option<String>, fee_payer: SignerIndex, compute_unit_price: Option<u64>, }, VoteAuthorize {
Show 13 fields vote_account_pubkey: Pubkey, new_authorized_pubkey: Pubkey, vote_authorize: VoteAuthorize, sign_only: bool, dump_transaction_message: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, memo: Option<String>, fee_payer: SignerIndex, authorized: SignerIndex, new_authorized: Option<SignerIndex>, compute_unit_price: Option<u64>,
}, VoteUpdateValidator { vote_account_pubkey: Pubkey, new_identity_account: SignerIndex, withdraw_authority: SignerIndex, sign_only: bool, dump_transaction_message: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, memo: Option<String>, fee_payer: SignerIndex, compute_unit_price: Option<u64>, }, VoteUpdateCommission { vote_account_pubkey: Pubkey, commission: u8, withdraw_authority: SignerIndex, sign_only: bool, dump_transaction_message: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, memo: Option<String>, fee_payer: SignerIndex, compute_unit_price: Option<u64>, }, Address, Airdrop { pubkey: Option<Pubkey>, lamports: u64, }, Balance { pubkey: Option<Pubkey>, use_lamports_unit: bool, }, Confirm(Signature), CreateAddressWithSeed { from_pubkey: Option<Pubkey>, seed: String, program_id: Pubkey, }, DecodeTransaction(VersionedTransaction), ResolveSigner(Option<String>), ShowAccount { pubkey: Pubkey, output_file: Option<String>, use_lamports_unit: bool, }, Transfer {
Show 15 fields amount: SpendAmount, to: Pubkey, from: SignerIndex, sign_only: bool, dump_transaction_message: bool, allow_unfunded_recipient: bool, no_wait: bool, blockhash_query: BlockhashQuery, nonce_account: Option<Pubkey>, nonce_authority: SignerIndex, memo: Option<String>, fee_payer: SignerIndex, derived_address_seed: Option<String>, derived_address_program_id: Option<Pubkey>, compute_unit_price: Option<u64>,
}, StakeMinimumDelegation { use_lamports_unit: bool, }, AddressLookupTable(AddressLookupTableCliCommand), SignOffchainMessage { message: OffchainMessage, }, VerifyOffchainSignature { signer_pubkey: Option<Pubkey>, signature: Signature, message: OffchainMessage, },
}

Variants§

§

Catchup

Fields

§node_pubkey: Option<Pubkey>
§node_json_rpc_url: Option<String>
§follow: bool
§our_localhost_port: Option<u16>
§log: bool
§

ClusterDate

§

ClusterVersion

§

Feature(FeatureCliCommand)

§

Inflation(InflationCliCommand)

§

FindProgramDerivedAddress

Fields

§seeds: Vec<Vec<u8>>
§program_id: Pubkey
§

FirstAvailableBlock

§

GetBlock

Fields

§slot: Option<Slot>
§

GetRecentPrioritizationFees

Fields

§accounts: Vec<Pubkey>
§limit_num_slots: Option<Slot>
§

GetBlockTime

Fields

§slot: Option<Slot>
§

GetEpoch

§

GetEpochInfo

§

GetGenesisHash

§

GetSlot

§

GetBlockHeight

§

GetTransactionCount

§

LargestAccounts

§

LeaderSchedule

Fields

§epoch: Option<Epoch>
§

LiveSlots

§

Logs

§

Ping

Fields

§interval: Duration
§count: Option<u64>
§timeout: Duration
§blockhash: Option<Hash>
§print_timestamp: bool
§compute_unit_price: Option<u64>
§

Rent

Fields

§data_length: usize
§use_lamports_unit: bool
§

ShowBlockProduction

Fields

§epoch: Option<Epoch>
§slot_limit: Option<u64>
§

ShowGossip

§

ShowStakes

Fields

§use_lamports_unit: bool
§vote_account_pubkeys: Option<Vec<Pubkey>>
§withdraw_authority: Option<Pubkey>
§

ShowValidators

Fields

§use_lamports_unit: bool
§reverse_sort: bool
§number_validators: bool
§keep_unstaked_delinquents: bool
§delinquent_slot_distance: Option<Slot>
§

Supply

Fields

§print_accounts: bool
§

TotalSupply

§

TransactionHistory

Fields

§address: Pubkey
§limit: usize
§show_transactions: bool
§

WaitForMaxStake

Fields

§max_stake_percent: f32
§

AuthorizeNonceAccount

Fields

§nonce_account: Pubkey
§nonce_authority: SignerIndex
§new_authority: Pubkey
§compute_unit_price: Option<u64>
§

CreateNonceAccount

Fields

§nonce_account: SignerIndex
§nonce_authority: Option<Pubkey>
§compute_unit_price: Option<u64>
§

GetNonce(Pubkey)

§

NewNonce

Fields

§nonce_account: Pubkey
§nonce_authority: SignerIndex
§compute_unit_price: Option<u64>
§

ShowNonceAccount

Fields

§nonce_account_pubkey: Pubkey
§use_lamports_unit: bool
§

WithdrawFromNonceAccount

Fields

§nonce_account: Pubkey
§nonce_authority: SignerIndex
§destination_account_pubkey: Pubkey
§lamports: u64
§compute_unit_price: Option<u64>
§

UpgradeNonceAccount

Fields

§nonce_account: Pubkey
§compute_unit_price: Option<u64>
§

Deploy

§

Program(ProgramCliCommand)

§

ProgramV4(ProgramV4CliCommand)

§

CreateStakeAccount

Fields

§stake_account: SignerIndex
§staker: Option<Pubkey>
§withdrawer: Option<Pubkey>
§withdrawer_signer: Option<SignerIndex>
§lockup: Lockup
§sign_only: bool
§dump_transaction_message: bool
§blockhash_query: BlockhashQuery
§nonce_account: Option<Pubkey>
§nonce_authority: SignerIndex
§fee_payer: SignerIndex
§compute_unit_price: Option<u64>
§

DeactivateStake

Fields

§stake_account_pubkey: Pubkey
§stake_authority: SignerIndex
§sign_only: bool
§deactivate_delinquent: bool
§dump_transaction_message: bool
§blockhash_query: BlockhashQuery
§nonce_account: Option<Pubkey>
§nonce_authority: SignerIndex
§fee_payer: SignerIndex
§compute_unit_price: Option<u64>
§

DelegateStake

Fields

§stake_account_pubkey: Pubkey
§vote_account_pubkey: Pubkey
§stake_authority: SignerIndex
§force: bool
§sign_only: bool
§dump_transaction_message: bool
§blockhash_query: BlockhashQuery
§nonce_account: Option<Pubkey>
§nonce_authority: SignerIndex
§fee_payer: SignerIndex
§compute_unit_price: Option<u64>
§

SplitStake

Fields

§stake_account_pubkey: Pubkey
§stake_authority: SignerIndex
§sign_only: bool
§dump_transaction_message: bool
§blockhash_query: BlockhashQuery
§nonce_account: Option<Pubkey>
§nonce_authority: SignerIndex
§split_stake_account: SignerIndex
§lamports: u64
§fee_payer: SignerIndex
§compute_unit_price: Option<u64>
§rent_exempt_reserve: Option<u64>
§

MergeStake

Fields

§stake_account_pubkey: Pubkey
§source_stake_account_pubkey: Pubkey
§stake_authority: SignerIndex
§sign_only: bool
§dump_transaction_message: bool
§blockhash_query: BlockhashQuery
§nonce_account: Option<Pubkey>
§nonce_authority: SignerIndex
§fee_payer: SignerIndex
§compute_unit_price: Option<u64>
§

ShowStakeHistory

Fields

§use_lamports_unit: bool
§limit_results: usize
§

ShowStakeAccount

Fields

§pubkey: Pubkey
§use_lamports_unit: bool
§with_rewards: Option<usize>
§use_csv: bool
§starting_epoch: Option<u64>
§

StakeAuthorize

Fields

§stake_account_pubkey: Pubkey
§new_authorizations: Vec<StakeAuthorizationIndexed>
§sign_only: bool
§dump_transaction_message: bool
§blockhash_query: BlockhashQuery
§nonce_account: Option<Pubkey>
§nonce_authority: SignerIndex
§fee_payer: SignerIndex
§custodian: Option<SignerIndex>
§no_wait: bool
§compute_unit_price: Option<u64>
§

StakeSetLockup

Fields

§stake_account_pubkey: Pubkey
§lockup: LockupArgs
§custodian: SignerIndex
§new_custodian_signer: Option<SignerIndex>
§sign_only: bool
§dump_transaction_message: bool
§blockhash_query: BlockhashQuery
§nonce_account: Option<Pubkey>
§nonce_authority: SignerIndex
§fee_payer: SignerIndex
§compute_unit_price: Option<u64>
§

WithdrawStake

Fields

§stake_account_pubkey: Pubkey
§destination_account_pubkey: Pubkey
§withdraw_authority: SignerIndex
§custodian: Option<SignerIndex>
§sign_only: bool
§dump_transaction_message: bool
§blockhash_query: BlockhashQuery
§nonce_account: Option<Pubkey>
§nonce_authority: SignerIndex
§fee_payer: SignerIndex
§compute_unit_price: Option<u64>
§

GetValidatorInfo(Option<Pubkey>)

§

SetValidatorInfo

Fields

§validator_info: Value
§force_keybase: bool
§info_pubkey: Option<Pubkey>
§compute_unit_price: Option<u64>
§

CreateVoteAccount

Fields

§vote_account: SignerIndex
§identity_account: SignerIndex
§authorized_voter: Option<Pubkey>
§authorized_withdrawer: Pubkey
§commission: u8
§sign_only: bool
§dump_transaction_message: bool
§blockhash_query: BlockhashQuery
§nonce_account: Option<Pubkey>
§nonce_authority: SignerIndex
§fee_payer: SignerIndex
§compute_unit_price: Option<u64>
§

ShowVoteAccount

Fields

§pubkey: Pubkey
§use_lamports_unit: bool
§use_csv: bool
§with_rewards: Option<usize>
§starting_epoch: Option<u64>
§

WithdrawFromVoteAccount

Fields

§vote_account_pubkey: Pubkey
§destination_account_pubkey: Pubkey
§withdraw_authority: SignerIndex
§withdraw_amount: SpendAmount
§sign_only: bool
§dump_transaction_message: bool
§blockhash_query: BlockhashQuery
§nonce_account: Option<Pubkey>
§nonce_authority: SignerIndex
§fee_payer: SignerIndex
§compute_unit_price: Option<u64>
§

CloseVoteAccount

Fields

§vote_account_pubkey: Pubkey
§destination_account_pubkey: Pubkey
§withdraw_authority: SignerIndex
§fee_payer: SignerIndex
§compute_unit_price: Option<u64>
§

VoteAuthorize

Fields

§vote_account_pubkey: Pubkey
§new_authorized_pubkey: Pubkey
§vote_authorize: VoteAuthorize
§sign_only: bool
§dump_transaction_message: bool
§blockhash_query: BlockhashQuery
§nonce_account: Option<Pubkey>
§nonce_authority: SignerIndex
§fee_payer: SignerIndex
§authorized: SignerIndex
§new_authorized: Option<SignerIndex>
§compute_unit_price: Option<u64>
§

VoteUpdateValidator

Fields

§vote_account_pubkey: Pubkey
§new_identity_account: SignerIndex
§withdraw_authority: SignerIndex
§sign_only: bool
§dump_transaction_message: bool
§blockhash_query: BlockhashQuery
§nonce_account: Option<Pubkey>
§nonce_authority: SignerIndex
§fee_payer: SignerIndex
§compute_unit_price: Option<u64>
§

VoteUpdateCommission

Fields

§vote_account_pubkey: Pubkey
§commission: u8
§withdraw_authority: SignerIndex
§sign_only: bool
§dump_transaction_message: bool
§blockhash_query: BlockhashQuery
§nonce_account: Option<Pubkey>
§nonce_authority: SignerIndex
§fee_payer: SignerIndex
§compute_unit_price: Option<u64>
§

Address

§

Airdrop

Fields

§pubkey: Option<Pubkey>
§lamports: u64
§

Balance

Fields

§pubkey: Option<Pubkey>
§use_lamports_unit: bool
§

Confirm(Signature)

§

CreateAddressWithSeed

Fields

§from_pubkey: Option<Pubkey>
§seed: String
§program_id: Pubkey
§

DecodeTransaction(VersionedTransaction)

§

ResolveSigner(Option<String>)

§

ShowAccount

Fields

§pubkey: Pubkey
§output_file: Option<String>
§use_lamports_unit: bool
§

Transfer

Fields

§sign_only: bool
§dump_transaction_message: bool
§allow_unfunded_recipient: bool
§no_wait: bool
§blockhash_query: BlockhashQuery
§nonce_account: Option<Pubkey>
§nonce_authority: SignerIndex
§fee_payer: SignerIndex
§derived_address_seed: Option<String>
§derived_address_program_id: Option<Pubkey>
§compute_unit_price: Option<u64>
§

StakeMinimumDelegation

Fields

§use_lamports_unit: bool
§

AddressLookupTable(AddressLookupTableCliCommand)

§

SignOffchainMessage

Fields

§

VerifyOffchainSignature

Fields

§signer_pubkey: Option<Pubkey>
§signature: Signature

Trait Implementations§

Source§

impl Debug for CliCommand

Source§

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

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

impl PartialEq for CliCommand

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for CliCommand

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<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

Source§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

Source§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

Source§

fn implicit( self, class: Class, constructed: bool, tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

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.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

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

Initializes a with the given initializer. Read more
Source§

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

Dereferences the given pointer. Read more
Source§

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

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

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

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

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

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>,

Source§

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.
Source§

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

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

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
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

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

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T