From c4af8494265a348350ef4c139fe35eefc0821239 Mon Sep 17 00:00:00 2001 From: morganava Date: Sun, 6 Oct 2024 03:52:04 +0000 Subject: [PATCH] deploy: 96653b291737a43588da59852be522a8eaf0fd92 --- coverage.html | 2 +- crates/gosling/context/enum.Error.html | 2 +- crates/search-index.js | 4 +- .../arti_client_tor_client.rs.html | 172 ++++-------------- crates/src/tor_interface/tor_crypto.rs.html | 10 + .../arti_client_tor_client/enum.Error.html | 13 +- .../arti_client_tor_client/index.html | 2 +- .../struct.ArtiClientTorClient.html | 20 +- .../enum.PluggableTransportConfigError.html | 2 +- .../legacy_tor_client/enum.Error.html | 2 +- .../legacy_tor_version/enum.Error.html | 2 +- .../mock_tor_client/enum.Error.html | 2 +- .../tor_interface/proxy/enum.ProxyConfig.html | 2 +- .../proxy/enum.ProxyConfigError.html | 2 +- .../tor_crypto/enum.SignBit.html | 2 +- crates/tor_interface/tor_crypto/index.html | 2 +- .../tor_crypto/struct.V3OnionServiceId.html | 14 +- .../tor_crypto/struct.X25519PrivateKey.html | 4 +- .../tor_crypto/struct.X25519PublicKey.html | 14 +- .../tor_provider/enum.Error.html | 2 +- .../tor_provider/struct.OnionStream.html | 4 +- .../tor_provider/trait.TorProvider.html | 2 +- crates/type.impl/std/primitive.usize.js | 2 +- 23 files changed, 96 insertions(+), 187 deletions(-) diff --git a/coverage.html b/coverage.html index 20f607e8..7ec5780d 100644 --- a/coverage.html +++ b/coverage.html @@ -118,7 +118,7 @@

Enum tor_interface::arti_client_tor_client::Error

source ·
pub enum Error {
-
Show 15 variants NotImplemented(), +Error in tor_interface::arti_client_tor_client - Rust

Enum tor_interface::arti_client_tor_client::Error

source ·
pub enum Error {
+    NotImplemented(),
     TcpListenerBindFailed(Error),
     TcpListenerLocalAddrFailed(Error),
     TcpListenerAcceptFailed(Error),
@@ -8,14 +8,11 @@
     ArtiClientConfigBuilderError(ConfigBuildError),
     ArtiClientError(Error),
     ArtiClientTorAddrError(TorAddrError),
+    ArtiClientOnionServiceLaunchError(Error),
     TorKeyMgrError(Error),
-    TorKeyMgrBuilderError(),
-    KeyMgrInsertionFailure(),
     OnionServiceConfigBuilderError(ConfigBuildError),
-    TorPersistError(Error),
-    TorHsServiceStartupError(StartupError),
-
}
Expand description

ArtiClientTorClient-specific error type

-

Variants§

§

NotImplemented()

§

TcpListenerBindFailed(Error)

§

TcpListenerLocalAddrFailed(Error)

§

TcpListenerAcceptFailed(Error)

§

TcpStreamConnectFailed(Error)

§

TcpStreamIntoFailed(Error)

§

ArtiClientConfigBuilderError(ConfigBuildError)

§

ArtiClientError(Error)

§

ArtiClientTorAddrError(TorAddrError)

§

TorKeyMgrError(Error)

§

TorKeyMgrBuilderError()

§

KeyMgrInsertionFailure()

§

OnionServiceConfigBuilderError(ConfigBuildError)

§

TorPersistError(Error)

§

TorHsServiceStartupError(StartupError)

Trait Implementations§

source§

impl Debug for Error

source§

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

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

impl Display for Error

source§

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

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

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Error> for Error

source§

fn from(error: Error) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for Error

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for T
where +}
Expand description

ArtiClientTorClient-specific error type

+

Variants§

§

NotImplemented()

§

TcpListenerBindFailed(Error)

§

TcpListenerLocalAddrFailed(Error)

§

TcpListenerAcceptFailed(Error)

§

TcpStreamConnectFailed(Error)

§

TcpStreamIntoFailed(Error)

§

ArtiClientConfigBuilderError(ConfigBuildError)

§

ArtiClientError(Error)

§

ArtiClientTorAddrError(TorAddrError)

§

ArtiClientOnionServiceLaunchError(Error)

§

TorKeyMgrError(Error)

§

OnionServiceConfigBuilderError(ConfigBuildError)

Trait Implementations§

source§

impl Debug for Error

source§

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

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

impl Display for Error

source§

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

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

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Error> for Error

source§

fn from(error: Error) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for Error

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

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<T> Conv for T

§

fn conv<T>(self) -> T
where diff --git a/crates/tor_interface/arti_client_tor_client/index.html b/crates/tor_interface/arti_client_tor_client/index.html index a2376d15..7409a619 100644 --- a/crates/tor_interface/arti_client_tor_client/index.html +++ b/crates/tor_interface/arti_client_tor_client/index.html @@ -1,2 +1,2 @@ -tor_interface::arti_client_tor_client - Rust

Module tor_interface::arti_client_tor_client

source ·
Expand description

Implementation of an in-process arti-client-based TorProvider

+tor_interface::arti_client_tor_client - Rust

Module tor_interface::arti_client_tor_client

source ·
Expand description

Implementation of an in-process arti-client-based TorProvider

Structs§

Enums§

\ No newline at end of file diff --git a/crates/tor_interface/arti_client_tor_client/struct.ArtiClientTorClient.html b/crates/tor_interface/arti_client_tor_client/struct.ArtiClientTorClient.html index 48d677cb..2a1405f3 100644 --- a/crates/tor_interface/arti_client_tor_client/struct.ArtiClientTorClient.html +++ b/crates/tor_interface/arti_client_tor_client/struct.ArtiClientTorClient.html @@ -1,25 +1,25 @@ -ArtiClientTorClient in tor_interface::arti_client_tor_client - Rust
pub struct ArtiClientTorClient { /* private fields */ }
Expand description

The ArtiClientTorClient is an in-process arti-client-based TorProvider.

-

Implementations§

source§

impl ArtiClientTorClient

source

pub fn new( +ArtiClientTorClient in tor_interface::arti_client_tor_client - Rust
pub struct ArtiClientTorClient { /* private fields */ }
Expand description

The ArtiClientTorClient is an in-process arti-client-based TorProvider.

+

Implementations§

source§

impl ArtiClientTorClient

source

pub fn new( tokio_runtime: Arc<Runtime>, root_data_directory: &Path, ) -> Result<Self, Error>

Construct a new ArtiClientTorClient which uses a Tokio runtime internally for all async operations.

-

Trait Implementations§

source§

impl TorProvider for ArtiClientTorClient

source§

fn update(&mut self) -> Result<Vec<TorEvent>, Error>

Process and return TorEvents handled by this TorProvider.
source§

fn bootstrap(&mut self) -> Result<(), Error>

Begin connecting to the Tor Network.
source§

fn add_client_auth( +

Trait Implementations§

source§

impl TorProvider for ArtiClientTorClient

source§

fn update(&mut self) -> Result<Vec<TorEvent>, Error>

Process and return TorEvents handled by this TorProvider.
source§

fn bootstrap(&mut self) -> Result<(), Error>

Begin connecting to the Tor Network.
source§

fn add_client_auth( &mut self, - _service_id: &V3OnionServiceId, - _client_auth: &X25519PrivateKey, -) -> Result<(), Error>

Add v3 onion-service authorisation credentials, allowing this TorProvider to connect to an onion-service whose service-descriptor is encrypted using the assocciated x25519 public key.
source§

fn remove_client_auth( + service_id: &V3OnionServiceId, + client_auth: &X25519PrivateKey, +) -> Result<(), Error>

Add v3 onion-service authorisation credentials, allowing this TorProvider to connect to an onion-service whose service-descriptor is encrypted using the assocciated x25519 public key.
source§

fn remove_client_auth( &mut self, - _service_id: &V3OnionServiceId, -) -> Result<(), Error>

Remove a previously added client authorisation credential. This TorProvider will be unable to connect to the onion-service associated with the removed credentail.
source§

fn connect( + service_id: &V3OnionServiceId, +) -> Result<(), Error>

Remove a previously added client authorisation credential. This TorProvider will be unable to connect to the onion-service associated with the removed credentail.
source§

fn connect( &mut self, target: TargetAddr, circuit: Option<CircuitToken>, -) -> Result<OnionStream, Error>

Anonymously connect to the address specified by target over the Tor Network and return the associated OnionStream. Read more
source§

fn listener( +) -> Result<OnionStream, Error>

Anonymously connect to the address specified by target over the Tor Network and return the associated OnionStream. Read more
source§

fn listener( &mut self, private_key: &Ed25519PrivateKey, virt_port: u16, authorized_clients: Option<&[X25519PublicKey]>, -) -> Result<OnionListener, Error>

Anonymously start an onion-service and return the associated OnionListener. Read more
source§

fn generate_token(&mut self) -> CircuitToken

Create a new CircuitToken.
source§

fn release_token(&mut self, _token: CircuitToken)

Releaes a previously generated CircuitToken.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +) -> Result<OnionListener, Error>

Anonymously start an onion-service and return the associated OnionListener. Read more
source§

fn generate_token(&mut self) -> CircuitToken

Create a new CircuitToken.
source§

fn release_token(&mut self, _token: CircuitToken)

Releaes a previously generated CircuitToken.

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<T> Conv for T

§

fn conv<T>(self) -> T
where diff --git a/crates/tor_interface/censorship_circumvention/enum.PluggableTransportConfigError.html b/crates/tor_interface/censorship_circumvention/enum.PluggableTransportConfigError.html index dc9a389c..c9b31b6d 100644 --- a/crates/tor_interface/censorship_circumvention/enum.PluggableTransportConfigError.html +++ b/crates/tor_interface/censorship_circumvention/enum.PluggableTransportConfigError.html @@ -4,7 +4,7 @@ }
Expand description

Error returned on failure to construct a PluggableTransportConfig

Variants§

§

TransportNameInvalid(String)

transport names must be a valid C identifier

§

BinaryPathInvalid(String, String)

configuration only allows aboslute paths to binaries

-

Trait Implementations§

source§

impl Debug for PluggableTransportConfigError

source§

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

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

impl Display for PluggableTransportConfigError

source§

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

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

impl Error for PluggableTransportConfigError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

Trait Implementations§

source§

impl Debug for PluggableTransportConfigError

source§

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

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

impl Display for PluggableTransportConfigError

source§

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

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

impl Error for PluggableTransportConfigError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

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<T> Conv for T

§

fn conv<T>(self) -> T
where diff --git a/crates/tor_interface/legacy_tor_client/enum.Error.html b/crates/tor_interface/legacy_tor_client/enum.Error.html index eb543a5c..d5ab8ccb 100644 --- a/crates/tor_interface/legacy_tor_client/enum.Error.html +++ b/crates/tor_interface/legacy_tor_client/enum.Error.html @@ -30,7 +30,7 @@ BridgeTransportNotSupported(String), NotImplemented(),

}
Expand description

LegacyTorClient-specific error type

-

Variants§

§

LegacyTorProcessCreationFailed(Error)

§

LegacyControlStreamCreationFailed(Error)

§

LegacyTorControllerCreationFailed(Error)

§

LegacyTorProcessAuthenticationFailed(Error)

§

GetInfoVersionFailed(Error)

§

LegacyTorProcessTooOld(String, String)

§

SetEventsFailed(Error)

§

DelOnionFailed(Error)

§

WaitAsyncEventsFailed(Error)

§

SetConfDisableNetwork0Failed(Error)

§

SetConfFailed(Error)

§

OnionClientAuthAddFailed(Error)

§

OnionClientAuthRemoveFailed(Error)

§

GetInfoNetListenersSocksFailed(Error)

§

NoSocksListenersFound()

§

CircuitTokenInvalid()

§

Socks5ConnectionFailed(Error)

§

TcpListenerBindFailed(Error)

§

TcpListenerLocalAddrFailed(Error)

§

AddOnionFailed(Error)

§

LegacyTorNotBootstrapped()

§

PluggableTransportConfigDirectoryCreationFailed(Error)

§

PluggableTransportDirectoryNameCollision(PathBuf)

§

PluggableTransportSymlinkRemovalFailed(Error)

§

PluggableTransportSymlinkCreationFailed(Error)

§

PluggableTransportBinaryNameNotUtf8Representnable(OsString)

§

PluggableTransportConfigError(PluggableTransportConfigError)

§

BridgeTransportTypeMultiplyDefined(String)

§

BridgeTransportNotSupported(String)

§

NotImplemented()

Trait Implementations§

source§

impl Debug for Error

source§

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

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

impl Display for Error

source§

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

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

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Error> for Error

source§

fn from(error: Error) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for Error

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for T
where +

Variants§

§

LegacyTorProcessCreationFailed(Error)

§

LegacyControlStreamCreationFailed(Error)

§

LegacyTorControllerCreationFailed(Error)

§

LegacyTorProcessAuthenticationFailed(Error)

§

GetInfoVersionFailed(Error)

§

LegacyTorProcessTooOld(String, String)

§

SetEventsFailed(Error)

§

DelOnionFailed(Error)

§

WaitAsyncEventsFailed(Error)

§

SetConfDisableNetwork0Failed(Error)

§

SetConfFailed(Error)

§

OnionClientAuthAddFailed(Error)

§

OnionClientAuthRemoveFailed(Error)

§

GetInfoNetListenersSocksFailed(Error)

§

NoSocksListenersFound()

§

CircuitTokenInvalid()

§

Socks5ConnectionFailed(Error)

§

TcpListenerBindFailed(Error)

§

TcpListenerLocalAddrFailed(Error)

§

AddOnionFailed(Error)

§

LegacyTorNotBootstrapped()

§

PluggableTransportConfigDirectoryCreationFailed(Error)

§

PluggableTransportDirectoryNameCollision(PathBuf)

§

PluggableTransportSymlinkRemovalFailed(Error)

§

PluggableTransportSymlinkCreationFailed(Error)

§

PluggableTransportBinaryNameNotUtf8Representnable(OsString)

§

PluggableTransportConfigError(PluggableTransportConfigError)

§

BridgeTransportTypeMultiplyDefined(String)

§

BridgeTransportNotSupported(String)

§

NotImplemented()

Trait Implementations§

source§

impl Debug for Error

source§

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

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

impl Display for Error

source§

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

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

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Error> for Error

source§

fn from(error: Error) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for Error

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

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<T> Conv for T

§

fn conv<T>(self) -> T
where diff --git a/crates/tor_interface/legacy_tor_version/enum.Error.html b/crates/tor_interface/legacy_tor_version/enum.Error.html index 58674ec8..4e7b259d 100644 --- a/crates/tor_interface/legacy_tor_version/enum.Error.html +++ b/crates/tor_interface/legacy_tor_version/enum.Error.html @@ -1,7 +1,7 @@ Error in tor_interface::legacy_tor_version - Rust

Enum tor_interface::legacy_tor_version::Error

source ·
pub enum Error {
     ParseError(String),
 }
Expand description

LegacyTorVersion-specific error type

-

Variants§

§

ParseError(String)

Trait Implementations§

source§

impl Debug for Error

source§

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

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

impl Display for Error

source§

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

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

impl Error for Error

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

§

impl Freeze for Error

§

impl RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for T
where +

Variants§

§

ParseError(String)

Trait Implementations§

source§

impl Debug for Error

source§

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

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

impl Display for Error

source§

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

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

impl Error for Error

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

§

impl Freeze for Error

§

impl RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl UnwindSafe for Error

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<T> Conv for T

§

fn conv<T>(self) -> T
where diff --git a/crates/tor_interface/mock_tor_client/enum.Error.html b/crates/tor_interface/mock_tor_client/enum.Error.html index e379b94a..28326ee7 100644 --- a/crates/tor_interface/mock_tor_client/enum.Error.html +++ b/crates/tor_interface/mock_tor_client/enum.Error.html @@ -10,7 +10,7 @@ ConnectFailed(TargetAddr), NotImplemented(), }
Expand description

MockTorClient-specific error type

-

Variants§

§

ClientNotBootstrapped()

§

ClientAlreadyBootstrapped()

§

OnionServiceNotFound(OnionAddr)

§

OnionServiceNotPublished(OnionAddr)

§

OnionServiceRequiresOnionAuth()

§

OnionServiceAuthInvalid()

§

TcpListenerBindFailed(Error)

§

TcpListenerLocalAddrFailed(Error)

§

ConnectFailed(TargetAddr)

§

NotImplemented()

Trait Implementations§

source§

impl Debug for Error

source§

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

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

impl Display for Error

source§

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

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

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Error> for Error

source§

fn from(error: Error) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for Error

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for T
where +

Variants§

§

ClientNotBootstrapped()

§

ClientAlreadyBootstrapped()

§

OnionServiceNotFound(OnionAddr)

§

OnionServiceNotPublished(OnionAddr)

§

OnionServiceRequiresOnionAuth()

§

OnionServiceAuthInvalid()

§

TcpListenerBindFailed(Error)

§

TcpListenerLocalAddrFailed(Error)

§

ConnectFailed(TargetAddr)

§

NotImplemented()

Trait Implementations§

source§

impl Debug for Error

source§

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

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

impl Display for Error

source§

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

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

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Error> for Error

source§

fn from(error: Error) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for Error

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

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<T> Conv for T

§

fn conv<T>(self) -> T
where diff --git a/crates/tor_interface/proxy/enum.ProxyConfig.html b/crates/tor_interface/proxy/enum.ProxyConfig.html index cebc84dd..65f20206 100644 --- a/crates/tor_interface/proxy/enum.ProxyConfig.html +++ b/crates/tor_interface/proxy/enum.ProxyConfig.html @@ -6,7 +6,7 @@

Variants§

§

Socks4(Socks4ProxyConfig)

A SOCKS4 proxy

§

Socks5(Socks5ProxyConfig)

A SOCKS5 proxy

§

Https(HttpsProxyConfig)

An HTTP CONNECT proxy

-

Trait Implementations§

source§

impl Clone for ProxyConfig

source§

fn clone(&self) -> ProxyConfig

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 ProxyConfig

source§

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

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

impl From<HttpsProxyConfig> for ProxyConfig

source§

fn from(config: HttpsProxyConfig) -> Self

Converts to this type from the input type.
source§

impl From<Socks4ProxyConfig> for ProxyConfig

source§

fn from(config: Socks4ProxyConfig) -> Self

Converts to this type from the input type.
source§

impl From<Socks5ProxyConfig> for ProxyConfig

source§

fn from(config: Socks5ProxyConfig) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

Trait Implementations§

source§

impl Clone for ProxyConfig

source§

fn clone(&self) -> ProxyConfig

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 ProxyConfig

source§

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

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

impl From<HttpsProxyConfig> for ProxyConfig

source§

fn from(config: HttpsProxyConfig) -> Self

Converts to this type from the input type.
source§

impl From<Socks4ProxyConfig> for ProxyConfig

source§

fn from(config: Socks4ProxyConfig) -> Self

Converts to this type from the input type.
source§

impl From<Socks5ProxyConfig> for ProxyConfig

source§

fn from(config: Socks5ProxyConfig) -> Self

Converts to this type from the input 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> CloneToUninit for T
where diff --git a/crates/tor_interface/proxy/enum.ProxyConfigError.html b/crates/tor_interface/proxy/enum.ProxyConfigError.html index 1682857e..f6528706 100644 --- a/crates/tor_interface/proxy/enum.ProxyConfigError.html +++ b/crates/tor_interface/proxy/enum.ProxyConfigError.html @@ -2,7 +2,7 @@ Generic(String), }
Expand description

Error type for the proxy module

Variants§

§

Generic(String)

An error returned when constructing a proxy configuration with invalid parameters

-

Trait Implementations§

source§

impl Debug for ProxyConfigError

source§

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

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

impl Display for ProxyConfigError

source§

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

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

impl Error for ProxyConfigError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

Trait Implementations§

source§

impl Debug for ProxyConfigError

source§

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

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

impl Display for ProxyConfigError

source§

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

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

impl Error for ProxyConfigError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

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<T> Conv for T

§

fn conv<T>(self) -> T
where diff --git a/crates/tor_interface/tor_crypto/enum.SignBit.html b/crates/tor_interface/tor_crypto/enum.SignBit.html index 07fcc14e..b98c8f96 100644 --- a/crates/tor_interface/tor_crypto/enum.SignBit.html +++ b/crates/tor_interface/tor_crypto/enum.SignBit.html @@ -2,7 +2,7 @@ Zero, One, }
Expand description

An enum representing a single bit

-

Variants§

§

Zero

§

One

Trait Implementations§

source§

impl Clone for SignBit

source§

fn clone(&self) -> SignBit

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 From<SignBit> for bool

source§

fn from(signbit: SignBit) -> Self

Converts to this type from the input type.
source§

impl From<SignBit> for u8

source§

fn from(signbit: SignBit) -> Self

Converts to this type from the input type.
source§

impl From<bool> for SignBit

source§

fn from(signbit: bool) -> Self

Converts to this type from the input type.
source§

impl Copy for SignBit

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

Variants§

§

Zero

§

One

Trait Implementations§

source§

impl Clone for SignBit

source§

fn clone(&self) -> SignBit

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 From<SignBit> for bool

source§

fn from(signbit: SignBit) -> Self

Converts to this type from the input type.
source§

impl From<SignBit> for u8

source§

fn from(signbit: SignBit) -> Self

Converts to this type from the input type.
source§

impl From<bool> for SignBit

source§

fn from(signbit: bool) -> Self

Converts to this type from the input type.
source§

impl Copy for SignBit

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> CloneToUninit for T
where diff --git a/crates/tor_interface/tor_crypto/index.html b/crates/tor_interface/tor_crypto/index.html index e9760aa2..f39b4ae7 100644 --- a/crates/tor_interface/tor_crypto/index.html +++ b/crates/tor_interface/tor_crypto/index.html @@ -1,4 +1,4 @@ -tor_interface::tor_crypto - Rust

Module tor_interface::tor_crypto

source ·
Expand description

Tor-specific cryptographic primitives, operations, and conversion functions.

+tor_interface::tor_crypto - Rust

Module tor_interface::tor_crypto

source ·
Expand description

Tor-specific cryptographic primitives, operations, and conversion functions.

Structs§

Enums§

  • Represents various errors that can occur in the tor_crypto module.
  • An enum representing a single bit

Constants§

  • The number of bytes needed to store base64 encoded ed25519 private key as an ASCII c-string (not including null-terminator)
  • The number of bytes needed to store the keyblob header
  • The number of bytes needed to store ed25519 private keyblob as an ASCII c-string (not including a null terminator)
  • The number of bytes needed to store ed25519 private keyblob as an ASCII c-string (including a null terminator)
  • The number of bytes in an ed25519 secret key cbindgen:ignore
  • The number of bytes in an ed25519 public key cbindgen:ignore
  • The number of bytes in an ed25519 signature diff --git a/crates/tor_interface/tor_crypto/struct.V3OnionServiceId.html b/crates/tor_interface/tor_crypto/struct.V3OnionServiceId.html index c8a39cb3..3aaacc35 100644 --- a/crates/tor_interface/tor_crypto/struct.V3OnionServiceId.html +++ b/crates/tor_interface/tor_crypto/struct.V3OnionServiceId.html @@ -1,6 +1,6 @@ V3OnionServiceId in tor_interface::tor_crypto - Rust

    Struct tor_interface::tor_crypto::V3OnionServiceId

    source ·
    pub struct V3OnionServiceId { /* private fields */ }
    Expand description

    A v3 onion-service id

    -

    Implementations§

    source§

    impl V3OnionServiceId

    Strongly-typed representation of a v3 onion-service id

    -
    source

    pub fn from_string(service_id: &str) -> Result<V3OnionServiceId, Error>

    Create a V3OnionServiceId from a String in the version 3 onion service digest format. From the tor address specification:

    +

    Implementations§

    source§

    impl V3OnionServiceId

    Strongly-typed representation of a v3 onion-service id

    +
    source

    pub fn from_string(service_id: &str) -> Result<V3OnionServiceId, Error>

    Create a V3OnionServiceId from a String in the version 3 onion service digest format. From the tor address specification:

    onion_address = base32(PUBKEY | CHECKSUM | VERSION)
     CHECKSUM = H(".onion checksum" | PUBKEY | VERSION)[:2]
    @@ -12,11 +12,11 @@
     - H is SHA3-256
     - CHECKSUM is truncated to two bytes before inserting it in onion_address
     
    -
    source

    pub fn from_public_key(public_key: &Ed25519PublicKey) -> V3OnionServiceId

    Create a V3OnionServiceId from an Ed25519PublicKey.

    -
    source

    pub fn from_private_key(private_key: &Ed25519PrivateKey) -> V3OnionServiceId

    Create a V3OnionServiceId from an Ed25519PrivateKey.

    -
    source

    pub fn is_valid(service_id: &str) -> bool

    Determine if the provided string is a valid representation of a V3OnionServiceId

    -
    source

    pub fn as_bytes(&self) -> &[u8; 56]

    View this service id as an array of bytes

    -

    Trait Implementations§

    source§

    impl Clone for V3OnionServiceId

    source§

    fn clone(&self) -> V3OnionServiceId

    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 V3OnionServiceId

    source§

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

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

    impl Display for V3OnionServiceId

    source§

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

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

    impl Hash for V3OnionServiceId

    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 +

    source

    pub fn from_public_key(public_key: &Ed25519PublicKey) -> V3OnionServiceId

    Create a V3OnionServiceId from an Ed25519PublicKey.

    +
    source

    pub fn from_private_key(private_key: &Ed25519PrivateKey) -> V3OnionServiceId

    Create a V3OnionServiceId from an Ed25519PrivateKey.

    +
    source

    pub fn is_valid(service_id: &str) -> bool

    Determine if the provided string is a valid representation of a V3OnionServiceId

    +
    source

    pub fn as_bytes(&self) -> &[u8; 56]

    View this service id as an array of bytes

    +

    Trait Implementations§

    source§

    impl Clone for V3OnionServiceId

    source§

    fn clone(&self) -> V3OnionServiceId

    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 V3OnionServiceId

    source§

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

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

    impl Display for V3OnionServiceId

    source§

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

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

    impl Hash for V3OnionServiceId

    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 Ord for V3OnionServiceId

    source§

    fn cmp(&self, other: &V3OnionServiceId) -> 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 diff --git a/crates/tor_interface/tor_crypto/struct.X25519PrivateKey.html b/crates/tor_interface/tor_crypto/struct.X25519PrivateKey.html index 7fdcc6e1..c243084a 100644 --- a/crates/tor_interface/tor_crypto/struct.X25519PrivateKey.html +++ b/crates/tor_interface/tor_crypto/struct.X25519PrivateKey.html @@ -1,5 +1,5 @@ X25519PrivateKey in tor_interface::tor_crypto - Rust

    Struct tor_interface::tor_crypto::X25519PrivateKey

    source ·
    pub struct X25519PrivateKey { /* private fields */ }
    Expand description

    An x25519 private key

    -

    Implementations§

    source§

    impl X25519PrivateKey

    A wrapper around tor_llcrypto::pk::curve25519::StaticSecret

    +

    Implementations§

    source§

    impl X25519PrivateKey

    A wrapper around tor_llcrypto::pk::curve25519::StaticSecret

    source

    pub fn generate() -> X25519PrivateKey

    Securely generate a new X25519PrivateKey

    source

    pub fn from_raw(raw: &[u8; 32]) -> Result<X25519PrivateKey, Error>

    Attempt to create an X25519PrivateKey from an array of bytes. Not all byte buffers of the required size can create a valid X25519PrivateKey. Only buffers derived from X25519PrivateKey::to_bytes() are required to convert correctly.

    To securely generate a valid X25519PrivateKey, use X25519PrivateKey::generate().

    @@ -17,7 +17,7 @@
    §⚠ Warning ⚠

    Only ever sign messages the private key owner controls the contents of!

    source

    pub fn to_base64(&self) -> String

    Write X25519PrivateKey to a base64 encocded String.

    source

    pub fn to_bytes(&self) -> [u8; 32]

    Convert this private key to an array of bytes.

    -

    Trait Implementations§

    source§

    impl Clone for X25519PrivateKey

    source§

    fn clone(&self) -> X25519PrivateKey

    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 X25519PrivateKey

    source§

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

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

    impl PartialEq for X25519PrivateKey

    source§

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

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl Clone for X25519PrivateKey

    source§

    fn clone(&self) -> X25519PrivateKey

    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 X25519PrivateKey

    source§

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

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

    impl PartialEq for X25519PrivateKey

    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.

    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 diff --git a/crates/tor_interface/tor_crypto/struct.X25519PublicKey.html b/crates/tor_interface/tor_crypto/struct.X25519PublicKey.html index 6a03680f..5eefe42e 100644 --- a/crates/tor_interface/tor_crypto/struct.X25519PublicKey.html +++ b/crates/tor_interface/tor_crypto/struct.X25519PublicKey.html @@ -1,16 +1,16 @@ X25519PublicKey in tor_interface::tor_crypto - Rust

    Struct tor_interface::tor_crypto::X25519PublicKey

    source ·
    pub struct X25519PublicKey { /* private fields */ }
    Expand description

    An x25519 public key

    -

    Implementations§

    source§

    impl X25519PublicKey

    A wrapper around tor_llcrypto::pk::curve25519::PublicKey

    -
    source

    pub fn from_private_key(private_key: &X25519PrivateKey) -> X25519PublicKey

    Construct an X25519PublicKey from an X25519PrivateKey.

    -
    source

    pub fn from_raw(raw: &[u8; 32]) -> X25519PublicKey

    Construct an X25519PublicKey from an array of bytes.

    -
    source

    pub fn from_base32(base32: &str) -> Result<X25519PublicKey, Error>

    Create an X25519PublicKey from a String in the legacy c-tor daemon key base32 format used in the ADD_ONION control-port command. From the c-tor control specification:

    +

    Implementations§

    source§

    impl X25519PublicKey

    A wrapper around tor_llcrypto::pk::curve25519::PublicKey

    +
    source

    pub fn from_private_key(private_key: &X25519PrivateKey) -> X25519PublicKey

    Construct an X25519PublicKey from an X25519PrivateKey.

    +
    source

    pub fn from_raw(raw: &[u8; 32]) -> X25519PublicKey

    Construct an X25519PublicKey from an array of bytes.

    +
    source

    pub fn from_base32(base32: &str) -> Result<X25519PublicKey, Error>

    Create an X25519PublicKey from a String in the legacy c-tor daemon key base32 format used in the ADD_ONION control-port command. From the c-tor control specification:

    V3Key = The client's base32-encoded x25519 public key, using only the key
             part of rend-spec-v3.txt section G.1.2 (v3 only).
     

    Only key base32 strings derived from X25519PublicKey::to_base32() are required to convert correctly.

    -
    source

    pub fn to_base32(&self) -> String

    Write X25519PublicKey to a base32 encocded String.

    -
    source

    pub fn as_bytes(&self) -> &[u8; 32]

    View this public key as an array of bytes

    -

    Trait Implementations§

    source§

    impl Clone for X25519PublicKey

    source§

    fn clone(&self) -> X25519PublicKey

    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 X25519PublicKey

    source§

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

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

    impl Hash for X25519PublicKey

    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 +

    source

    pub fn to_base32(&self) -> String

    Write X25519PublicKey to a base32 encocded String.

    +
    source

    pub fn as_bytes(&self) -> &[u8; 32]

    View this public key as an array of bytes

    +

    Trait Implementations§

    source§

    impl Clone for X25519PublicKey

    source§

    fn clone(&self) -> X25519PublicKey

    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 X25519PublicKey

    source§

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

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

    impl Hash for X25519PublicKey

    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 PartialEq for X25519PublicKey

    source§

    fn eq(&self, other: &X25519PublicKey) -> 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 diff --git a/crates/tor_interface/tor_provider/enum.Error.html b/crates/tor_interface/tor_provider/enum.Error.html index 23ba20ff..ccd5fb40 100644 --- a/crates/tor_interface/tor_provider/enum.Error.html +++ b/crates/tor_interface/tor_provider/enum.Error.html @@ -4,7 +4,7 @@ }
    Expand description

    Various tor_provider errors.

    Variants§

    §

    ParseFailure(String, String)

    Failure parsing some string into a type

    §

    Generic(String)

    Other miscellaneous error

    -

    Trait Implementations§

    source§

    impl Debug for Error

    source§

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

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

    impl Display for Error

    source§

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

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

    impl Error for Error

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<Error> for Error

    source§

    fn from(error: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for Error

    source§

    fn from(error: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for Error

    source§

    fn from(error: Error) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl Freeze for Error

    §

    impl RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl UnwindSafe for Error

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for Error

    source§

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

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

    impl Display for Error

    source§

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

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

    impl Error for Error

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<Error> for Error

    source§

    fn from(error: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for Error

    source§

    fn from(error: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for Error

    source§

    fn from(error: Error) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl Freeze for Error

    §

    impl RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl UnwindSafe for Error

    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<T> Conv for T

    §

    fn conv<T>(self) -> T
    where diff --git a/crates/tor_interface/tor_provider/struct.OnionStream.html b/crates/tor_interface/tor_provider/struct.OnionStream.html index 195c95de..9befddcd 100644 --- a/crates/tor_interface/tor_provider/struct.OnionStream.html +++ b/crates/tor_interface/tor_provider/struct.OnionStream.html @@ -240,7 +240,7 @@
    §Examplesprintln!("bytes: {buf:?}");

    Trait Implementations§

    source§

    impl Deref for OnionStream

    §

    type Target = TcpStream

    The resulting type after dereferencing.
    source§

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

    Dereferences the value.
    source§

    impl DerefMut for OnionStream

    source§

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

    Mutably dereferences the value.
    source§

    impl From<OnionStream> for TcpStream

    source§

    fn from(onion_stream: OnionStream) -> Self

    Converts to this type from the input type.
    source§

    impl Read for OnionStream

    source§

    fn read(&mut self, buf: &mut [u8]) -> Result<usize, Error>

    Pull some bytes from this source into the specified buffer, returning how many bytes were read. Read more
    1.36.0 · source§

    fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> Result<usize, Error>

    Like read, except that it reads into a slice of buffers. Read more
    source§

    fn is_read_vectored(&self) -> bool

    🔬This is a nightly-only experimental API. (can_vector)
    Determines if this Reader has an efficient read_vectored -implementation. Read more
    1.0.0 · source§

    fn read_to_end(&mut self, buf: &mut Vec<u8>) -> Result<usize, Error>

    Read all bytes until EOF in this source, placing them into buf. Read more
    1.0.0 · source§

    fn read_to_string(&mut self, buf: &mut String) -> Result<usize, Error>

    Read all bytes until EOF in this source, appending them to buf. Read more
    1.6.0 · source§

    fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Error>

    Read the exact number of bytes required to fill buf. Read more
    source§

    fn read_buf(&mut self, buf: BorrowedCursor<'_>) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (read_buf)
    Pull some bytes from this source into the specified buffer. Read more
    source§

    fn read_buf_exact(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (read_buf)
    Read the exact number of bytes required to fill cursor. Read more
    1.0.0 · source§

    fn by_ref(&mut self) -> &mut Self
    where +implementation. Read more

    1.0.0 · source§

    fn read_to_end(&mut self, buf: &mut Vec<u8>) -> Result<usize, Error>

    Read all bytes until EOF in this source, placing them into buf. Read more
    1.0.0 · source§

    fn read_to_string(&mut self, buf: &mut String) -> Result<usize, Error>

    Read all bytes until EOF in this source, appending them to buf. Read more
    1.6.0 · source§

    fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Error>

    Read the exact number of bytes required to fill buf. Read more
    source§

    fn read_buf(&mut self, buf: BorrowedCursor<'_>) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (read_buf)
    Pull some bytes from this source into the specified buffer. Read more
    source§

    fn read_buf_exact(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (read_buf)
    Read the exact number of bytes required to fill cursor. Read more
    1.0.0 · source§

    fn by_ref(&mut self) -> &mut Self
    where Self: Sized,

    Creates a “by reference” adaptor for this instance of Read. Read more
    1.0.0 · source§

    fn bytes(self) -> Bytes<Self>
    where Self: Sized,

    Transforms this Read instance to an Iterator over its bytes. Read more
    1.0.0 · source§

    fn chain<R>(self, next: R) -> Chain<Self, R>
    where R: Read, @@ -248,7 +248,7 @@
    §ExamplesSized,

    Creates an adapter which will read at most limit bytes from it. Read more
    source§

    impl Write for OnionStream

    source§

    fn write(&mut self, buf: &[u8]) -> Result<usize, Error>

    Write a buffer into this writer, returning how many bytes were written. Read more
    source§

    fn flush(&mut self) -> Result<(), Error>

    Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
    1.36.0 · source§

    fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize, Error>

    Like write, except that it writes from a slice of buffers. Read more
    source§

    fn is_write_vectored(&self) -> bool

    🔬This is a nightly-only experimental API. (can_vector)
    Determines if this Writer has an efficient write_vectored implementation. Read more
    1.0.0 · source§

    fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>

    Attempts to write an entire buffer into this writer. Read more
    source§

    fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (write_all_vectored)
    Attempts to write multiple buffers into this writer. Read more
    1.0.0 · source§

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

    Writes a formatted string into this writer, returning any error -encountered. Read more
    1.0.0 · source§

    fn by_ref(&mut self) -> &mut Self
    where +encountered. Read more

    1.0.0 · source§

    fn by_ref(&mut self) -> &mut Self
    where Self: Sized,

    Creates a “by reference” adapter for this instance of Write. Read more

    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 diff --git a/crates/tor_interface/tor_provider/trait.TorProvider.html b/crates/tor_interface/tor_provider/trait.TorProvider.html index 03ec4d90..409dd5fc 100644 --- a/crates/tor_interface/tor_provider/trait.TorProvider.html +++ b/crates/tor_interface/tor_provider/trait.TorProvider.html @@ -53,4 +53,4 @@

    The resulting onion-service will not be reachable by clients until TorProvider::update() returns a TorEvent::OnionServicePublished event. The optional authorised_clients parameter may be used to require client authorisation keys to connect to resulting onion-service. For further information, see the Tor Project’s onion-services client-auth documentation.

    source

    fn generate_token(&mut self) -> CircuitToken

    Create a new CircuitToken.

    source

    fn release_token(&mut self, token: CircuitToken)

    Releaes a previously generated CircuitToken.

    -

    Implementors§

    \ No newline at end of file +

    Implementors§

    \ No newline at end of file diff --git a/crates/type.impl/std/primitive.usize.js b/crates/type.impl/std/primitive.usize.js index a36a4763..15d959d5 100644 --- a/crates/type.impl/std/primitive.usize.js +++ b/crates/type.impl/std/primitive.usize.js @@ -1,4 +1,4 @@ (function() {var type_impls = { "gosling":[["
    §

    impl<R> RangeExt<usize> for R
    where\n R: RangeBounds<usize>,

    §

    fn normalize(\n self,\n start: impl Into<Option<usize>>,\n end: impl Into<Option<usize>>,\n) -> Range<usize>

    Normalizes a range-like type to a canonical half-open Range. Read more
    §

    fn intersection<R2>(self, other: R2) -> Option<Range<usize>>
    where\n R2: RangeExt<usize>,

    Finds the intersection between two range-likes. The produced Range\nspans only the elements common to both. Read more
    §

    fn union<R2>(self, other: R2) -> Option<Range<usize>>
    where\n R2: RangeExt<usize>,

    Finds the union between two range-likes. The produced Range spans all\nelements present in at least one of them. Read more
    ","RangeExt","gosling::context::HandshakeHandle"]], -"tor_interface":[["
    §

    impl<T> Accumulate<T> for usize

    §

    fn initial(_capacity: Option<usize>) -> usize

    Create a new Extend of the correct type
    §

    fn accumulate(&mut self, _acc: T)

    Accumulate the input into an accumulator
    ","Accumulate","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Add<&'a BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the + operator.
    source§

    fn add(self, other: &BigInt) -> BigInt

    Performs the + operation. Read more
    ","Add<&'a BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Add<&BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the + operator.
    source§

    fn add(self, other: &BigInt) -> BigInt

    Performs the + operation. Read more
    ","Add<&BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Add<&'a BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the + operator.
    source§

    fn add(self, other: &BigUint) -> BigUint

    Performs the + operation. Read more
    ","Add<&'a BigUint>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Add<&BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the + operator.
    source§

    fn add(self, other: &BigUint) -> BigUint

    Performs the + operation. Read more
    ","Add<&BigUint>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Add<&usize> for usize

    §

    type Output = <usize as Add>::Output

    The resulting type after applying the + operator.
    source§

    fn add(self, other: &usize) -> <usize as Add>::Output

    Performs the + operation. Read more
    ","Add<&usize>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Add<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the + operator.
    source§

    fn add(self, other: BigInt) -> BigInt

    Performs the + operation. Read more
    ","Add","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Add<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the + operator.
    source§

    fn add(self, other: BigInt) -> BigInt

    Performs the + operation. Read more
    ","Add","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Add<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the + operator.
    source§

    fn add(self, other: BigUint) -> BigUint

    Performs the + operation. Read more
    ","Add","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Add<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the + operator.
    source§

    fn add(self, other: BigUint) -> BigUint

    Performs the + operation. Read more
    ","Add","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Add for usize

    §

    type Output = usize

    The resulting type after applying the + operator.
    source§

    fn add(self, other: usize) -> usize

    Performs the + operation. Read more
    ","Add","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl AddAssign<&usize> for usize

    source§

    fn add_assign(&mut self, other: &usize)

    Performs the += operation. Read more
    ","AddAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl AddAssign for usize

    source§

    fn add_assign(&mut self, other: usize)

    Performs the += operation. Read more
    ","AddAssign","tor_interface::tor_provider::CircuitToken"],["
    §

    impl AsAny for usize

    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Returns thick pointer of &dyn Any type, that can be later downcasted\nback to a reference of the original type.
    ","AsAny","tor_interface::tor_provider::CircuitToken"],["
    §

    impl AsBytes for usize

    §

    fn as_bytes(&self) -> &[u8]

    Gets the bytes of this value. Read more
    §

    fn as_bytes_mut(&mut self) -> &mut [u8]
    where\n Self: FromBytes,

    Gets the bytes of this value mutably. Read more
    §

    fn write_to(&self, bytes: &mut [u8]) -> Option<()>

    Writes a copy of self to bytes. Read more
    §

    fn write_to_prefix(&self, bytes: &mut [u8]) -> Option<()>

    Writes a copy of self to the prefix of bytes. Read more
    §

    fn write_to_suffix(&self, bytes: &mut [u8]) -> Option<()>

    Writes a copy of self to the suffix of bytes. Read more
    ","AsBytes","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<f32> for usize

    source§

    fn as_(self) -> f32

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<f64> for usize

    source§

    fn as_(self) -> f64

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<i128> for usize

    source§

    fn as_(self) -> i128

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<i16> for usize

    source§

    fn as_(self) -> i16

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<i32> for usize

    source§

    fn as_(self) -> i32

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<i64> for usize

    source§

    fn as_(self) -> i64

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<i8> for usize

    source§

    fn as_(self) -> i8

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<isize> for usize

    source§

    fn as_(self) -> isize

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<u128> for usize

    source§

    fn as_(self) -> u128

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<u16> for usize

    source§

    fn as_(self) -> u16

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<u32> for usize

    source§

    fn as_(self) -> u32

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<u64> for usize

    source§

    fn as_(self) -> u64

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<u8> for usize

    source§

    fn as_(self) -> u8

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<usize> for usize

    source§

    fn as_(self) -> usize

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Binary for usize

    source§

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

    Formats the value using the given formatter. Read more
    ","Binary","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl BitAnd<&usize> for usize

    §

    type Output = <usize as BitAnd>::Output

    The resulting type after applying the & operator.
    source§

    fn bitand(self, other: &usize) -> <usize as BitAnd>::Output

    Performs the & operation. Read more
    ","BitAnd<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl BitAnd for usize

    §

    type Output = usize

    The resulting type after applying the & operator.
    source§

    fn bitand(self, rhs: usize) -> usize

    Performs the & operation. Read more
    ","BitAnd","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl BitAndAssign<&usize> for usize

    source§

    fn bitand_assign(&mut self, other: &usize)

    Performs the &= operation. Read more
    ","BitAndAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl BitAndAssign for usize

    source§

    fn bitand_assign(&mut self, other: usize)

    Performs the &= operation. Read more
    ","BitAndAssign","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl BitOr<&usize> for usize

    §

    type Output = <usize as BitOr>::Output

    The resulting type after applying the | operator.
    source§

    fn bitor(self, other: &usize) -> <usize as BitOr>::Output

    Performs the | operation. Read more
    ","BitOr<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl BitOr for usize

    §

    type Output = usize

    The resulting type after applying the | operator.
    source§

    fn bitor(self, rhs: usize) -> usize

    Performs the | operation. Read more
    ","BitOr","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl BitOrAssign<&usize> for usize

    source§

    fn bitor_assign(&mut self, other: &usize)

    Performs the |= operation. Read more
    ","BitOrAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl BitOrAssign for usize

    source§

    fn bitor_assign(&mut self, other: usize)

    Performs the |= operation. Read more
    ","BitOrAssign","tor_interface::tor_provider::CircuitToken"],["
    §

    impl BitRegister for usize

    §

    const ALL: usize = 18_446_744_073_709_551_615usize

    The literal !0.
    §

    const INDX: u8 = _

    The number of bits required to store an index in the range 0 .. BITS.
    §

    const MASK: u8 = _

    A mask over all bits that can be used as an index within the element.\nThis is the value with the least significant INDX-many bits set high.
    ","BitRegister","tor_interface::tor_provider::CircuitToken"],["
    §

    impl<'a, T, O> BitSliceIndex<'a, T, O> for usize
    where\n T: BitStore,\n O: BitOrder,

    §

    type Immut = BitRef<'a, Const, T, O>

    The output type of immutable access.
    §

    type Mut = BitRef<'a, Mut, T, O>

    The output type of mutable access.
    §

    fn get(\n self,\n bits: &'a BitSlice<T, O>,\n) -> Option<<usize as BitSliceIndex<'a, T, O>>::Immut>

    Immutably indexes into a bit-slice, returning None if self is out of\nbounds. Read more
    §

    fn get_mut(\n self,\n bits: &'a mut BitSlice<T, O>,\n) -> Option<<usize as BitSliceIndex<'a, T, O>>::Mut>

    Mutably indexes into a bit-slice, returning None if self is out of\nbounds. Read more
    §

    unsafe fn get_unchecked(\n self,\n bits: &'a BitSlice<T, O>,\n) -> <usize as BitSliceIndex<'a, T, O>>::Immut

    Immutably indexes into a bit-slice without doing any bounds checking. Read more
    §

    unsafe fn get_unchecked_mut(\n self,\n bits: &'a mut BitSlice<T, O>,\n) -> <usize as BitSliceIndex<'a, T, O>>::Mut

    Mutably indexes into a bit-slice without doing any bounds checking. Read more
    §

    fn index(\n self,\n bits: &'a BitSlice<T, O>,\n) -> <usize as BitSliceIndex<'a, T, O>>::Immut

    Immutably indexes into a bit-slice, panicking if self is out of\nbounds. Read more
    §

    fn index_mut(\n self,\n bits: &'a mut BitSlice<T, O>,\n) -> <usize as BitSliceIndex<'a, T, O>>::Mut

    Mutably indexes into a bit-slice, panicking if self is out of bounds. Read more
    ","BitSliceIndex<'a, T, O>","tor_interface::tor_provider::CircuitToken"],["
    §

    impl BitStore for usize

    §

    type Access = Cell<usize>

    The unsigned integers will only be BitStore type parameters\nfor handles to unaliased memory, following the normal Rust\nreference rules.

    \n
    §

    type Mem = usize

    The element type used in the memory region underlying a BitSlice. It\nis always one of the unsigned integer fundamentals.
    §

    type Alias = BitSafeUsize

    A sibling BitStore implementor that is known to be alias-safe. It is\nused when a BitSlice introduces multiple handles that view the same\nmemory location, and at least one of them has write capabilities to it.\nIt must have the same underlying memory type, and can only change access\npatterns or public-facing usage.
    §

    type Unalias = usize

    The inverse of ::Alias. It is used when a BitSlice removes the\nconditions that required a T -> T::Alias transition.
    §

    const ZERO: usize = 0usize

    The zero constant.
    §

    fn new(value: <usize as BitStore>::Mem) -> usize

    Wraps a raw memory value as a BitStore type.
    §

    fn load_value(&self) -> <usize as BitStore>::Mem

    Loads a value out of the memory system according to the ::Access\nrules. This may be called when the value is aliased by a write-capable\nreference.
    §

    fn store_value(&mut self, value: <usize as BitStore>::Mem)

    Stores a value into the memory system. This is only called when there\nare no other handles to the value, and it may bypass ::Access\nconstraints.
    §

    const ALIGNED_TO_SIZE: [(); 1] = _

    All implementors are required to have their alignment match their size. Read more
    §

    const ALIAS_WIDTH: [(); 1] = _

    All implementors are required to have Self and Self::Alias be equal\nin representation. This is true by fiat for all types except the\nunsigned integers. Read more
    §

    fn get_bit<O>(&self, index: BitIdx<Self::Mem>) -> bool
    where\n O: BitOrder,

    Reads a single bit out of the memory system according to the ::Access\nrules. This is lifted from BitAccess so that it can be used\nelsewhere without additional casts. Read more
    ","BitStore","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl BitXor<&usize> for usize

    §

    type Output = <usize as BitXor>::Output

    The resulting type after applying the ^ operator.
    source§

    fn bitxor(self, other: &usize) -> <usize as BitXor>::Output

    Performs the ^ operation. Read more
    ","BitXor<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl BitXor for usize

    §

    type Output = usize

    The resulting type after applying the ^ operator.
    source§

    fn bitxor(self, other: usize) -> usize

    Performs the ^ operation. Read more
    ","BitXor","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl BitXorAssign<&usize> for usize

    source§

    fn bitxor_assign(&mut self, other: &usize)

    Performs the ^= operation. Read more
    ","BitXorAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl BitXorAssign for usize

    source§

    fn bitxor_assign(&mut self, other: usize)

    Performs the ^= operation. Read more
    ","BitXorAssign","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Bits for usize

    §

    const EMPTY: usize = 0usize

    A value with all bits unset.
    §

    const ALL: usize = 18_446_744_073_709_551_615usize

    A value with all bits set.
    ","Bits","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Bounded for usize

    source§

    fn min_value() -> usize

    Returns the smallest finite number this type can represent
    source§

    fn max_value() -> usize

    Returns the largest finite number this type can represent
    ","Bounded","tor_interface::tor_provider::CircuitToken"],["
    §

    impl CastSigned for usize

    §

    type Signed = isize

    The signed integer type with the same size as Self.
    §

    fn cast_signed(self) -> <usize as CastSigned>::Signed

    Cast an integer to the signed integer of the same size.
    ","CastSigned","tor_interface::tor_provider::CircuitToken"],["
    §

    impl CastUnsigned for usize

    §

    type Unsigned = usize

    The unsigned integer type with the same size as Self.
    §

    fn cast_unsigned(self) -> <usize as CastUnsigned>::Unsigned

    Cast an integer to the unsigned integer of the same size.
    ","CastUnsigned","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl CheckedAdd for usize

    source§

    fn checked_add(&self, v: &usize) -> Option<usize>

    Adds two numbers, checking for overflow. If overflow happens, None is\nreturned.
    ","CheckedAdd","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl CheckedDiv for usize

    source§

    fn checked_div(&self, v: &usize) -> Option<usize>

    Divides two numbers, checking for underflow, overflow and division by\nzero. If any of that happens, None is returned.
    ","CheckedDiv","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl CheckedEuclid for usize

    source§

    fn checked_div_euclid(&self, v: &usize) -> Option<usize>

    Performs euclid division that returns None instead of panicking on division by zero\nand instead of wrapping around on underflow and overflow.
    source§

    fn checked_rem_euclid(&self, v: &usize) -> Option<usize>

    Finds the euclid remainder of dividing two numbers, checking for underflow, overflow and\ndivision by zero. If any of that happens, None is returned.
    source§

    fn checked_div_rem_euclid(&self, v: &Self) -> Option<(Self, Self)>

    Returns both the quotient and remainder from checked Euclidean division. Read more
    ","CheckedEuclid","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl CheckedMul for usize

    source§

    fn checked_mul(&self, v: &usize) -> Option<usize>

    Multiplies two numbers, checking for underflow or overflow. If underflow\nor overflow happens, None is returned.
    ","CheckedMul","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl CheckedNeg for usize

    source§

    fn checked_neg(&self) -> Option<usize>

    Negates a number, returning None for results that can’t be represented, like signed MIN\nvalues that can’t be positive, or non-zero unsigned values that can’t be negative. Read more
    ","CheckedNeg","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl CheckedRem for usize

    source§

    fn checked_rem(&self, v: &usize) -> Option<usize>

    Finds the remainder of dividing two numbers, checking for underflow, overflow and division\nby zero. If any of that happens, None is returned. Read more
    ","CheckedRem","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl CheckedShl for usize

    source§

    fn checked_shl(&self, rhs: u32) -> Option<usize>

    Checked shift left. Computes self << rhs, returning None\nif rhs is larger than or equal to the number of bits in self. Read more
    ","CheckedShl","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl CheckedShr for usize

    source§

    fn checked_shr(&self, rhs: u32) -> Option<usize>

    Checked shift right. Computes self >> rhs, returning None\nif rhs is larger than or equal to the number of bits in self. Read more
    ","CheckedShr","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl CheckedSub for usize

    source§

    fn checked_sub(&self, v: &usize) -> Option<usize>

    Subtracts two numbers, checking for underflow. If underflow happens,\nNone is returned.
    ","CheckedSub","tor_interface::tor_provider::CircuitToken"],["
    §

    impl<T> CheckedSum<usize> for T
    where\n T: IntoIterator<Item = usize>,

    §

    fn checked_sum(self) -> Result<usize, Error>

    Iterate over the values of this type, computing a checked sum. Read more
    ","CheckedSum","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Clone for usize

    source§

    fn clone(&self) -> usize

    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
    ","Clone","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ConstOne for usize

    source§

    const ONE: usize = 1usize

    The multiplicative identity element of Self, 1.
    ","ConstOne","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ConstZero for usize

    source§

    const ZERO: usize = 0usize

    The additive identity element of Self, 0.
    ","ConstZero","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ConstantTimeEq for usize

    source§

    fn ct_eq(&self, other: &usize) -> Choice

    Determine if two items are equal. Read more
    source§

    fn ct_ne(&self, other: &Self) -> Choice

    Determine if two items are NOT equal. Read more
    ","ConstantTimeEq","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Debug for usize

    source§

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

    Formats the value using the given formatter. Read more
    ","Debug","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Decode for usize

    Decode a usize.

    \n

    Uses [Decode] impl on u32 and then converts to a usize, handling\npotential overflow if usize is smaller than u32.

    \n

    Enforces a library-internal limit of 1048575, as the main use case for\nusize is length prefixes.

    \n
    §

    type Error = Error

    Type returned in the event of a decoding error.
    §

    fn decode(reader: &mut impl Reader) -> Result<usize, Error>

    Attempt to decode a value of this type using the provided [Reader].
    ","Decode","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Default for usize

    source§

    fn default() -> usize

    Returns the default value of 0

    \n
    ","Default","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'de> Deserialize<'de> for usize

    source§

    fn deserialize<D>(\n deserializer: D,\n) -> Result<usize, <D as Deserializer<'de>>::Error>
    where\n D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    ","Deserialize<'de>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Display for usize

    source§

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

    Formats the value using the given formatter. Read more
    ","Display","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Div<&'a BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the / operator.
    source§

    fn div(self, other: &BigInt) -> BigInt

    Performs the / operation. Read more
    ","Div<&'a BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Div<&BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the / operator.
    source§

    fn div(self, other: &BigInt) -> BigInt

    Performs the / operation. Read more
    ","Div<&BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Div<&'a BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the / operator.
    source§

    fn div(self, other: &BigUint) -> BigUint

    Performs the / operation. Read more
    ","Div<&'a BigUint>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Div<&BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the / operator.
    source§

    fn div(self, other: &BigUint) -> BigUint

    Performs the / operation. Read more
    ","Div<&BigUint>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Div<&usize> for usize

    §

    type Output = <usize as Div>::Output

    The resulting type after applying the / operator.
    source§

    fn div(self, other: &usize) -> <usize as Div>::Output

    Performs the / operation. Read more
    ","Div<&usize>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Div<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the / operator.
    source§

    fn div(self, other: BigInt) -> BigInt

    Performs the / operation. Read more
    ","Div","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Div<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the / operator.
    source§

    fn div(self, other: BigInt) -> BigInt

    Performs the / operation. Read more
    ","Div","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Div<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the / operator.
    source§

    fn div(self, other: BigUint) -> BigUint

    Performs the / operation. Read more
    ","Div","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Div<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the / operator.
    source§

    fn div(self, other: BigUint) -> BigUint

    Performs the / operation. Read more
    ","Div","tor_interface::tor_provider::CircuitToken"],["
    1.51.0 · source§

    impl Div<NonZero<usize>> for usize

    source§

    fn div(self, other: NonZero<usize>) -> usize

    This operation rounds towards zero, truncating any fractional\npart of the exact result, and cannot panic.

    \n
    §

    type Output = usize

    The resulting type after applying the / operator.
    ","Div>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Div for usize

    This operation rounds towards zero, truncating any\nfractional part of the exact result.

    \n

    §Panics

    \n

    This operation will panic if other == 0.

    \n
    §

    type Output = usize

    The resulting type after applying the / operator.
    source§

    fn div(self, other: usize) -> usize

    Performs the / operation. Read more
    ","Div","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl DivAssign<&usize> for usize

    source§

    fn div_assign(&mut self, other: &usize)

    Performs the /= operation. Read more
    ","DivAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.79.0 · source§

    impl DivAssign<NonZero<usize>> for usize

    source§

    fn div_assign(&mut self, other: NonZero<usize>)

    This operation rounds towards zero, truncating any fractional\npart of the exact result, and cannot panic.

    \n
    ","DivAssign>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl DivAssign for usize

    source§

    fn div_assign(&mut self, other: usize)

    Performs the /= operation. Read more
    ","DivAssign","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Encode for usize

    Encode a usize as a uint32 as described in RFC4251 § 5.

    \n

    Uses [Encode] impl on u32 after converting from a usize, handling\npotential overflow if usize is bigger than u32.

    \n
    §

    fn encoded_len(&self) -> Result<usize, Error>

    Get the length of this type encoded in bytes, prior to Base64 encoding.
    §

    fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>

    Encode this value using the provided [Writer].
    §

    fn encoded_len_prefixed(&self) -> Result<usize, Error>

    Return the length of this type after encoding when prepended with a\nuint32 length prefix.
    §

    fn encode_prefixed(&self, writer: &mut impl Writer) -> Result<(), Error>

    Encode this value, first prepending a uint32 length prefix\nset to [Encode::encoded_len].
    ","Encode","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Euclid for usize

    source§

    fn div_euclid(&self, v: &usize) -> usize

    Calculates Euclidean division, the matching method for rem_euclid. Read more
    source§

    fn rem_euclid(&self, v: &usize) -> usize

    Calculates the least nonnegative remainder of self (mod v). Read more
    source§

    fn div_rem_euclid(&self, v: &Self) -> (Self, Self)

    Returns both the quotient and remainder from Euclidean division. Read more
    ","Euclid","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl FmtConst for usize

    source§

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

    Print a const expression representing this value.
    ","FmtConst","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl From<Alignment> for usize

    source§

    fn from(align: Alignment) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<ByteQty> for usize

    §

    fn from(original: ByteQty) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<HopNum> for usize

    §

    fn from(hop: HopNum) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<HsDirPos> for usize

    §

    fn from(original: HsDirPos) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<IntroPtIndex> for usize

    §

    fn from(original: IntroPtIndex) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl<const MIN: usize, const MAX: usize> From<RangedUsize<MIN, MAX>> for usize

    §

    fn from(value: RangedUsize<MIN, MAX>) -> usize

    Converts to this type from the input type.
    ","From>","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<RouterStatusIdx> for usize

    §

    fn from(original: RouterStatusIdx) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<State> for usize

    §

    fn from(src: State) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<Token> for usize

    §

    fn from(val: Token) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<Token> for usize

    §

    fn from(val: Token) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl<O> From<U16<O>> for usize
    where\n O: ByteOrder,

    §

    fn from(x: U16<O>) -> usize

    Converts to this type from the input type.
    ","From>","tor_interface::tor_provider::CircuitToken"],["
    1.28.0 · source§

    impl From<bool> for usize

    source§

    fn from(small: bool) -> usize

    Converts a bool to usize losslessly.\nThe resulting value is 0 for false and 1 for true values.

    \n
    §Examples
    \n
    assert_eq!(usize::from(true), 1);\nassert_eq!(usize::from(false), 0);
    \n
    ","From","tor_interface::tor_provider::CircuitToken"],["
    1.26.0 · source§

    impl From<u16> for usize

    source§

    fn from(small: u16) -> usize

    Converts u16 to usize losslessly.

    \n
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<u24> for usize

    §

    fn from(val: u24) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<u40> for usize

    §

    fn from(val: u40) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<u48> for usize

    §

    fn from(val: u48) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<u56> for usize

    §

    fn from(val: u56) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    1.5.0 · source§

    impl From<u8> for usize

    source§

    fn from(small: u8) -> usize

    Converts u8 to usize losslessly.

    \n
    ","From","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl FromBytes for usize

    §

    type Bytes = [u8; 8]

    source§

    fn from_be_bytes(bytes: &<usize as FromBytes>::Bytes) -> usize

    Create a number from its representation as a byte array in big endian. Read more
    source§

    fn from_le_bytes(bytes: &<usize as FromBytes>::Bytes) -> usize

    Create a number from its representation as a byte array in little endian. Read more
    source§

    fn from_ne_bytes(bytes: &<usize as FromBytes>::Bytes) -> usize

    Create a number from its memory representation as a byte array in native endianness. Read more
    ","FromBytes","tor_interface::tor_provider::CircuitToken"],["
    §

    impl FromBytes for usize

    §

    fn ref_from(bytes: &[u8]) -> Option<&Self>
    where\n Self: Sized,

    Interprets the given bytes as a &Self without copying. Read more
    §

    fn ref_from_prefix(bytes: &[u8]) -> Option<&Self>
    where\n Self: Sized,

    Interprets the prefix of the given bytes as a &Self without copying. Read more
    §

    fn ref_from_suffix(bytes: &[u8]) -> Option<&Self>
    where\n Self: Sized,

    Interprets the suffix of the given bytes as a &Self without copying. Read more
    §

    fn mut_from(bytes: &mut [u8]) -> Option<&mut Self>
    where\n Self: Sized + AsBytes,

    Interprets the given bytes as a &mut Self without copying. Read more
    §

    fn mut_from_prefix(bytes: &mut [u8]) -> Option<&mut Self>
    where\n Self: Sized + AsBytes,

    Interprets the prefix of the given bytes as a &mut Self without\ncopying. Read more
    §

    fn mut_from_suffix(bytes: &mut [u8]) -> Option<&mut Self>
    where\n Self: Sized + AsBytes,

    Interprets the suffix of the given bytes as a &mut Self without copying. Read more
    §

    fn slice_from(bytes: &[u8]) -> Option<&[Self]>
    where\n Self: Sized,

    Interprets the given bytes as a &[Self] without copying. Read more
    §

    fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>
    where\n Self: Sized,

    Interprets the prefix of the given bytes as a &[Self] with length\nequal to count without copying. Read more
    §

    fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>
    where\n Self: Sized,

    Interprets the suffix of the given bytes as a &[Self] with length\nequal to count without copying. Read more
    §

    fn mut_slice_from(bytes: &mut [u8]) -> Option<&mut [Self]>
    where\n Self: Sized + AsBytes,

    Interprets the given bytes as a &mut [Self] without copying. Read more
    §

    fn mut_slice_from_prefix(\n bytes: &mut [u8],\n count: usize,\n) -> Option<(&mut [Self], &mut [u8])>
    where\n Self: Sized + AsBytes,

    Interprets the prefix of the given bytes as a &mut [Self] with length\nequal to count without copying. Read more
    §

    fn mut_slice_from_suffix(\n bytes: &mut [u8],\n count: usize,\n) -> Option<(&mut [u8], &mut [Self])>
    where\n Self: Sized + AsBytes,

    Interprets the suffix of the given bytes as a &mut [Self] with length\nequal to count without copying. Read more
    §

    fn read_from(bytes: &[u8]) -> Option<Self>
    where\n Self: Sized,

    Reads a copy of Self from bytes. Read more
    §

    fn read_from_prefix(bytes: &[u8]) -> Option<Self>
    where\n Self: Sized,

    Reads a copy of Self from the prefix of bytes. Read more
    §

    fn read_from_suffix(bytes: &[u8]) -> Option<Self>
    where\n Self: Sized,

    Reads a copy of Self from the suffix of bytes. Read more
    ","FromBytes","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl FromPrimitive for usize

    source§

    fn from_isize(n: isize) -> Option<usize>

    Converts an isize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_i8(n: i8) -> Option<usize>

    Converts an i8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_i16(n: i16) -> Option<usize>

    Converts an i16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_i32(n: i32) -> Option<usize>

    Converts an i32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_i64(n: i64) -> Option<usize>

    Converts an i64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_i128(n: i128) -> Option<usize>

    Converts an i128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
    source§

    fn from_usize(n: usize) -> Option<usize>

    Converts a usize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_u8(n: u8) -> Option<usize>

    Converts an u8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_u16(n: u16) -> Option<usize>

    Converts an u16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_u32(n: u32) -> Option<usize>

    Converts an u32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_u64(n: u64) -> Option<usize>

    Converts an u64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_u128(n: u128) -> Option<usize>

    Converts an u128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
    source§

    fn from_f32(n: f32) -> Option<usize>

    Converts a f32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_f64(n: f64) -> Option<usize>

    Converts a f64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
    ","FromPrimitive","tor_interface::tor_provider::CircuitToken"],["
    §

    impl FromSql for usize

    §

    fn column_result(value: ValueRef<'_>) -> Result<usize, FromSqlError>

    Converts SQLite value into Rust value.
    ","FromSql","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl FromStr for usize

    §

    type Err = ParseIntError

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

    fn from_str(src: &str) -> Result<usize, ParseIntError>

    Parses a string s to return a value of this type. Read more
    ","FromStr","tor_interface::tor_provider::CircuitToken"],["
    §

    impl FromZeroes for usize

    §

    fn zero(&mut self)

    Overwrites self with zeroes. Read more
    §

    fn new_zeroed() -> Self
    where\n Self: Sized,

    Creates an instance of Self from zeroed bytes. Read more
    ","FromZeroes","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Fundamental for usize

    §

    fn as_bool(self) -> bool

    Tests self != 0.
    §

    fn as_char(self) -> Option<char>

    Represents self as a Unicode Scalar Value, if possible.
    §

    fn as_i8(self) -> i8

    Performs self as i8.
    §

    fn as_i16(self) -> i16

    Performs self as i16.
    §

    fn as_i32(self) -> i32

    Performs self as i32.
    §

    fn as_i64(self) -> i64

    Performs self as i64.
    §

    fn as_i128(self) -> i128

    Performs self as i128.
    §

    fn as_isize(self) -> isize

    Performs self as isize.
    §

    fn as_u8(self) -> u8

    Performs self as u8.
    §

    fn as_u16(self) -> u16

    Performs self as u16.
    §

    fn as_u32(self) -> u32

    Performs self as u32.
    §

    fn as_u64(self) -> u64

    Performs self as u64.
    §

    fn as_u128(self) -> u128

    Performs self as u128.
    §

    fn as_usize(self) -> usize

    Performs self as usize.
    §

    fn as_f32(self) -> f32

    Performs self as f32.
    §

    fn as_f64(self) -> f64

    Performs self as f64.
    ","Fundamental","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Hash for usize

    source§

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

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

    fn hash_slice<H>(data: &[usize], state: &mut H)
    where\n H: Hasher,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Integer for usize

    source§

    fn div_floor(&self, other: &usize) -> usize

    Unsigned integer division. Returns the same result as div (/).

    \n
    source§

    fn mod_floor(&self, other: &usize) -> usize

    Unsigned integer modulo operation. Returns the same result as rem (%).

    \n
    source§

    fn gcd(&self, other: &usize) -> usize

    Calculates the Greatest Common Divisor (GCD) of the number and other

    \n
    source§

    fn lcm(&self, other: &usize) -> usize

    Calculates the Lowest Common Multiple (LCM) of the number and other.

    \n
    source§

    fn gcd_lcm(&self, other: &usize) -> (usize, usize)

    Calculates the Greatest Common Divisor (GCD) and\nLowest Common Multiple (LCM) of the number and other.

    \n
    source§

    fn is_multiple_of(&self, other: &usize) -> bool

    Returns true if the number is a multiple of other.

    \n
    source§

    fn is_even(&self) -> bool

    Returns true if the number is divisible by 2.

    \n
    source§

    fn is_odd(&self) -> bool

    Returns true if the number is not divisible by 2.

    \n
    source§

    fn div_rem(&self, other: &usize) -> (usize, usize)

    Simultaneous truncated integer division and modulus.

    \n
    source§

    fn div_ceil(&self, other: &usize) -> usize

    Ceiled integer division. Read more
    source§

    fn extended_gcd_lcm(&self, other: &usize) -> (ExtendedGcd<usize>, usize)

    Greatest common divisor, least common multiple, and Bézout coefficients.
    source§

    fn extended_gcd(&self, other: &Self) -> ExtendedGcd<Self>
    where\n Self: Clone,

    Greatest common divisor and Bézout coefficients. Read more
    source§

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

    👎Deprecated: Please use is_multiple_of instead
    Deprecated, use is_multiple_of instead.
    source§

    fn div_mod_floor(&self, other: &Self) -> (Self, Self)

    Simultaneous floored integer division and modulus.\nReturns (quotient, remainder). Read more
    source§

    fn next_multiple_of(&self, other: &Self) -> Self
    where\n Self: Clone,

    Rounds up to nearest multiple of argument. Read more
    source§

    fn prev_multiple_of(&self, other: &Self) -> Self
    where\n Self: Clone,

    Rounds down to nearest multiple of argument. Read more
    source§

    fn dec(&mut self)
    where\n Self: Clone,

    Decrements self by one. Read more
    source§

    fn inc(&mut self)
    where\n Self: Clone,

    Increments self by one. Read more
    ","Integer","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Integral for usize

    §

    const ZERO: usize = 0usize

    The type’s zero value.
    §

    const ONE: usize = 1usize

    The type’s step value.
    §

    const MIN: usize = 0usize

    The type’s minimum value. This is zero for unsigned integers.
    §

    const MAX: usize = 18_446_744_073_709_551_615usize

    The type’s maximum value.
    §

    const BITS: u32 = 64u32

    The size of this type in bits.
    §

    fn min_value() -> usize

    Returns the smallest value that can be represented by this integer type.
    §

    fn max_value() -> usize

    Returns the largest value that can be represented by this integer type.
    §

    fn from_str_radix(src: &str, radix: u32) -> Result<usize, ParseIntError>

    Converts a string slice in a given base to an integer. Read more
    §

    fn count_ones(self) -> u32

    Returns the number of ones in the binary representation of self.
    §

    fn count_zeros(self) -> u32

    Returns the number of zeros in the binary representation of self.
    §

    fn leading_zeros(self) -> u32

    Returns the number of leading zeros in the binary representation of\nself.
    §

    fn trailing_zeros(self) -> u32

    Returns the number of trailing zeros in the binary representation of\nself.
    §

    fn leading_ones(self) -> u32

    Returns the number of leading ones in the binary representation of\nself.
    §

    fn trailing_ones(self) -> u32

    Returns the number of trailing ones in the binary representation of\nself.
    §

    fn rotate_left(self, n: u32) -> usize

    Shifts the bits to the left by a specified amount, n, wrapping the\ntruncated bits to the end of the resulting integer. Read more
    §

    fn rotate_right(self, n: u32) -> usize

    Shifts the bits to the right by a specified amount, n, wrapping the\ntruncated bits to the beginning of the resulting integer. Read more
    §

    fn swap_bytes(self) -> usize

    Reverses the byte order of the integer.
    §

    fn reverse_bits(self) -> usize

    Reverses the bit pattern of the integer.
    §

    fn from_be(self) -> usize

    Converts an integer from big endian to the target’s endianness. Read more
    §

    fn from_le(self) -> usize

    Converts an integer frm little endian to the target’s endianness. Read more
    §

    fn to_be(self) -> usize

    Converts self to big endian from the target’s endianness. Read more
    §

    fn to_le(self) -> usize

    Converts self to little endian from the target’s endianness. Read more
    §

    fn checked_add(self, rhs: usize) -> Option<usize>

    Checked integer addition. Computes self + rhs, returning None if\noverflow occurred.
    §

    fn checked_sub(self, rhs: usize) -> Option<usize>

    Checked integer subtraction. Computes self - rhs, returning None if\noverflow occurred.
    §

    fn checked_mul(self, rhs: usize) -> Option<usize>

    Checked integer multiplication. Computes self * rhs, returning None\nif overflow occurred.
    §

    fn checked_div(self, rhs: usize) -> Option<usize>

    Checked integer division. Computes self / rhs, returning None if\nrhs == 0 or the division results in overflow.
    §

    fn checked_div_euclid(self, rhs: usize) -> Option<usize>

    Checked Euclidean division. Computes self.div_euclid(rhs), returning\nNone if rhs == 0 or the division results in overflow.
    §

    fn checked_rem(self, rhs: usize) -> Option<usize>

    Checked integer remainder. Computes self % rhs, returning None if\nrhs == 0 or the division results in overflow.
    §

    fn checked_rem_euclid(self, rhs: usize) -> Option<usize>

    Checked Euclidean remainder. Computes self.rem_euclid(rhs), returning\nNone if rhs == 0 or the division results in overflow.
    §

    fn checked_neg(self) -> Option<usize>

    Checked negation. Computes -self, returning None if self == MIN. Read more
    §

    fn checked_shl(self, rhs: u32) -> Option<usize>

    Checked shift left. Computes self << rhs, returning None if rhs is\nlarger than or equal to the number of bits in self.
    §

    fn checked_shr(self, rhs: u32) -> Option<usize>

    Checked shift right. Computes self >> rhs, returning None if rhs\nis larger than or equal to the number of bits in self.
    §

    fn checked_pow(self, rhs: u32) -> Option<usize>

    Checked exponentiation. Computes self.pow(exp), returning None if\noverflow occurred.
    §

    fn saturating_add(self, rhs: usize) -> usize

    Saturating integer addition. Computes self + rhs, saturating at the\nnumeric bounds instead of overflowing.
    §

    fn saturating_sub(self, rhs: usize) -> usize

    Saturating integer subtraction. Computes self - rhs, saturating at the\nnumeric bounds instead of overflowing.
    §

    fn saturating_mul(self, rhs: usize) -> usize

    Saturating integer multiplication. Computes self * rhs, saturating at\nthe numeric bounds instead of overflowing.
    §

    fn saturating_pow(self, rhs: u32) -> usize

    Saturating integer exponentiation. Computes self.pow(exp), saturating\nat the numeric bounds instead of overflowing.
    §

    fn wrapping_add(self, rhs: usize) -> usize

    Wrapping (modular) addition. Computes self + rhs, wrapping around at\nthe boundary of the type.
    §

    fn wrapping_sub(self, rhs: usize) -> usize

    Wrapping (modular) subtraction. Computes self - rhs, wrapping around\nat the boundary of the type.
    §

    fn wrapping_mul(self, rhs: usize) -> usize

    Wrapping (modular) multiplication. Computes self * rhs, wrapping\naround at the boundary of the type.
    §

    fn wrapping_div(self, rhs: usize) -> usize

    Wrapping (modular) division. Computes self / rhs, wrapping around at\nthe boundary of the type. Read more
    §

    fn wrapping_div_euclid(self, rhs: usize) -> usize

    Wrapping Euclidean division. Computes self.div_euclid(rhs), wrapping\naround at the boundary of the type. Read more
    §

    fn wrapping_rem(self, rhs: usize) -> usize

    Wrapping (modular) remainder. Computes self % rhs, wrapping around at\nthe boundary of the type. Read more
    §

    fn wrapping_rem_euclid(self, rhs: usize) -> usize

    Wrapping Euclidean remainder. Computes self.rem_euclid(rhs), wrapping\naround at the boundary of the type. Read more
    §

    fn wrapping_neg(self) -> usize

    Wrapping (modular) negation. Computes -self, wrapping around at the\nboundary of the type. Read more
    §

    fn wrapping_shl(self, rhs: u32) -> usize

    Panic-free bitwise shift-left; yields self << mask(rhs), where mask\nremoves any high-order bits of rhs that would cause the shift to\nexceed the bit-width of the type. Read more
    §

    fn wrapping_shr(self, rhs: u32) -> usize

    Panic-free bitwise shift-right; yields self >> mask(rhs), where mask\nremoves any high-order bits of rhs that would cause the shift to\nexceed the bit-width of the type. Read more
    §

    fn wrapping_pow(self, rhs: u32) -> usize

    Wrapping (modular) exponentiation. Computes self.pow(exp), wrapping\naround at the boundary of the type.
    §

    fn overflowing_add(self, rhs: usize) -> (usize, bool)

    Calculates self + rhs Read more
    §

    fn overflowing_sub(self, rhs: usize) -> (usize, bool)

    Calculates self - rhs Read more
    §

    fn overflowing_mul(self, rhs: usize) -> (usize, bool)

    Calculates the multiplication of self and rhs. Read more
    §

    fn overflowing_div(self, rhs: usize) -> (usize, bool)

    Calculates the divisor when self is divided by rhs. Read more
    §

    fn overflowing_div_euclid(self, rhs: usize) -> (usize, bool)

    Calculates the quotient of Euclidean division self.div_euclid(rhs). Read more
    §

    fn overflowing_rem(self, rhs: usize) -> (usize, bool)

    Calculates the remainder when self is divided by rhs. Read more
    §

    fn overflowing_rem_euclid(self, rhs: usize) -> (usize, bool)

    Overflowing Euclidean remainder. Calculates self.rem_euclid(rhs). Read more
    §

    fn overflowing_neg(self) -> (usize, bool)

    Negates self, overflowing if this is equal to the minimum value. Read more
    §

    fn overflowing_shl(self, rhs: u32) -> (usize, bool)

    Shifts self left by rhs bits. Read more
    §

    fn overflowing_shr(self, rhs: u32) -> (usize, bool)

    Shifts self right by rhs bits. Read more
    §

    fn overflowing_pow(self, rhs: u32) -> (usize, bool)

    Raises self to the power of exp, using exponentiation by squaring. Read more
    §

    fn pow(self, rhs: u32) -> usize

    Raises self to the power of exp, using exponentiation by squaring.
    §

    fn div_euclid(self, rhs: usize) -> usize

    Calculates the quotient of Euclidean division of self by rhs. Read more
    §

    fn rem_euclid(self, rhs: usize) -> usize

    Calculates the least nonnegative remainder of self (mod rhs). Read more
    ","Integral","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl IntoBigInt for usize

    source§

    fn into_bigint(self) -> Option<BigInt>

    Converts the value of self to a BigInt.
    ","IntoBigInt","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl IntoBigUint for usize

    source§

    fn into_biguint(self) -> Option<BigUint>

    Converts the value of self to a BigUint.
    ","IntoBigUint","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'de, E> IntoDeserializer<'de, E> for usize
    where\n E: Error,

    §

    type Deserializer = UsizeDeserializer<E>

    The type of the deserializer being converted into.
    source§

    fn into_deserializer(self) -> UsizeDeserializer<E>

    Convert this value into a deserializer.
    ","IntoDeserializer<'de, E>","tor_interface::tor_provider::CircuitToken"],["
    §

    impl IntoNotification for usize

    §

    type Tag = ()

    The tag data associated with a notification. Read more
    §

    type Notify = Notify

    The notification type. Read more
    §

    fn into_notification(self) -> <usize as IntoNotification>::Notify

    Convert this value into a notification. Read more
    §

    fn additional(self) -> Additional<Self::Notify>
    where\n Self: Sized,

    Convert this value into an additional notification. Read more
    §

    fn relaxed(self) -> Relaxed<Self::Notify>
    where\n Self: Sized,

    Don’t emit a fence for this notification. Read more
    §

    fn tag<T>(self, tag: T) -> Tag<Self::Notify, T>
    where\n T: Clone,\n Self: Sized + IntoNotification<Tag = ()>,

    Use a tag with this notification. Read more
    §

    fn tag_with<T, F>(self, tag: F) -> TagWith<Self::Notify, F>
    where\n Self: Sized + IntoNotification<Tag = ()>,\n F: FnMut() -> T,

    Use a function to generate a tag with this notification. Read more
    ","IntoNotification","tor_interface::tor_provider::CircuitToken"],["
    1.42.0 · source§

    impl LowerExp for usize

    source§

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

    Formats the value using the given formatter. Read more
    ","LowerExp","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl LowerHex for usize

    source§

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

    Formats the value using the given formatter. Read more
    ","LowerHex","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Mul<&'a BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: &BigInt) -> BigInt

    Performs the * operation. Read more
    ","Mul<&'a BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Mul<&BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: &BigInt) -> BigInt

    Performs the * operation. Read more
    ","Mul<&BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Mul<&'a BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: &BigUint) -> BigUint

    Performs the * operation. Read more
    ","Mul<&'a BigUint>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Mul<&BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: &BigUint) -> BigUint

    Performs the * operation. Read more
    ","Mul<&BigUint>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Mul<&usize> for usize

    §

    type Output = <usize as Mul>::Output

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: &usize) -> <usize as Mul>::Output

    Performs the * operation. Read more
    ","Mul<&usize>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Mul<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: BigInt) -> BigInt

    Performs the * operation. Read more
    ","Mul","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Mul<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: BigInt) -> BigInt

    Performs the * operation. Read more
    ","Mul","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Mul<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: BigUint) -> BigUint

    Performs the * operation. Read more
    ","Mul","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Mul<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: BigUint) -> BigUint

    Performs the * operation. Read more
    ","Mul","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Mul for usize

    §

    type Output = usize

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: usize) -> usize

    Performs the * operation. Read more
    ","Mul","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl MulAdd for usize

    §

    type Output = usize

    The resulting type after applying the fused multiply-add.
    source§

    fn mul_add(self, a: usize, b: usize) -> <usize as MulAdd>::Output

    Performs the fused multiply-add operation (self * a) + b
    ","MulAdd","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl MulAddAssign for usize

    source§

    fn mul_add_assign(&mut self, a: usize, b: usize)

    Performs the fused multiply-add assignment operation *self = (*self * a) + b
    ","MulAddAssign","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl MulAssign<&usize> for usize

    source§

    fn mul_assign(&mut self, other: &usize)

    Performs the *= operation. Read more
    ","MulAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl MulAssign for usize

    source§

    fn mul_assign(&mut self, other: usize)

    Performs the *= operation. Read more
    ","MulAssign","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Not for usize

    §

    type Output = usize

    The resulting type after applying the ! operator.
    source§

    fn not(self) -> usize

    Performs the unary ! operation. Read more
    ","Not","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Num for usize

    §

    type FromStrRadixErr = ParseIntError

    source§

    fn from_str_radix(s: &str, radix: u32) -> Result<usize, ParseIntError>

    Convert from a string and radix (typically 2..=36). Read more
    ","Num","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl NumCast for usize

    source§

    fn from<N>(n: N) -> Option<usize>
    where\n N: ToPrimitive,

    Creates a number from another value that can be converted into\na primitive via the ToPrimitive trait. If the source value cannot be\nrepresented by the target type, then None is returned. Read more
    ","NumCast","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Numeric for usize

    §

    type Bytes = [u8; 8]

    The [u8; N] byte array that stores values of Self.
    §

    fn to_be_bytes(self) -> <usize as Numeric>::Bytes

    Return the memory representation of this number as a byte array in\nbig-endian (network) byte order.
    §

    fn to_le_bytes(self) -> <usize as Numeric>::Bytes

    Return the memory representation of this number as a byte array in\nlittle-endian byte order.
    §

    fn to_ne_bytes(self) -> <usize as Numeric>::Bytes

    Return the memory representation of this number as a byte array in\nnative byte order.
    §

    fn from_be_bytes(bytes: <usize as Numeric>::Bytes) -> usize

    Create a numeric value from its representation as a byte array in big\nendian.
    §

    fn from_le_bytes(bytes: <usize as Numeric>::Bytes) -> usize

    Create a numeric value from its representation as a byte array in little\nendian.
    §

    fn from_ne_bytes(bytes: <usize as Numeric>::Bytes) -> usize

    Create a numeric value from its memory representation as a byte array in\nnative endianness.
    ","Numeric","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Octal for usize

    source§

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

    Formats the value using the given formatter. Read more
    ","Octal","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl One for usize

    source§

    fn one() -> usize

    Returns the multiplicative identity element of Self, 1. Read more
    source§

    fn is_one(&self) -> bool

    Returns true if self is equal to the multiplicative identity. Read more
    source§

    fn set_one(&mut self)

    Sets self to the multiplicative identity element of Self, 1.
    ","One","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Ord for usize

    source§

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

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

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

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

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    ","Ord","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl OverflowingAdd for usize

    source§

    fn overflowing_add(&self, v: &usize) -> (usize, bool)

    Returns a tuple of the sum along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
    ","OverflowingAdd","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl OverflowingMul for usize

    source§

    fn overflowing_mul(&self, v: &usize) -> (usize, bool)

    Returns a tuple of the product along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
    ","OverflowingMul","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl OverflowingSub for usize

    source§

    fn overflowing_sub(&self, v: &usize) -> (usize, bool)

    Returns a tuple of the difference along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
    ","OverflowingSub","tor_interface::tor_provider::CircuitToken"],["
    §

    impl ParseHex for usize

    §

    fn parse_hex(input: &str) -> Result<usize, ParseError>

    Parse the value from hex.
    ","ParseHex","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl PartialEq<Value> for usize

    source§

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

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

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

    This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
    ","PartialEq","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl PartialEq for usize

    source§

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

    This method tests for self and other values to be equal, and is used\nby ==.
    source§

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

    This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
    ","PartialEq","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl PartialOrd for usize

    source§

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

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

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

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

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

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

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

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

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    ","PartialOrd","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl PhfBorrow<usize> for usize

    source§

    fn borrow(&self) -> &usize

    Convert a reference to self to a reference to the borrowed type.
    ","PhfBorrow","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl PhfHash for usize

    source§

    fn phf_hash<H>(&self, state: &mut H)
    where\n H: Hasher,

    Feeds the value into the state given, updating the hasher as necessary.
    source§

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

    Feeds a slice of this type into the state provided.
    ","PhfHash","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Pow<&'a u16> for usize

    §

    type Output = usize

    The result after applying the operator.
    source§

    fn pow(self, rhs: &'a u16) -> usize

    Returns self to the power rhs. Read more
    ","Pow<&'a u16>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Pow<&'a u32> for usize

    §

    type Output = usize

    The result after applying the operator.
    source§

    fn pow(self, rhs: &'a u32) -> usize

    Returns self to the power rhs. Read more
    ","Pow<&'a u32>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Pow<&'a u8> for usize

    §

    type Output = usize

    The result after applying the operator.
    source§

    fn pow(self, rhs: &'a u8) -> usize

    Returns self to the power rhs. Read more
    ","Pow<&'a u8>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Pow<&'a usize> for usize

    §

    type Output = usize

    The result after applying the operator.
    source§

    fn pow(self, rhs: &'a usize) -> usize

    Returns self to the power rhs. Read more
    ","Pow<&'a usize>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<U> Pow<PInt<U>> for usize
    where\n U: Unsigned + NonZero,

    §

    type Output = usize

    The result of the exponentiation.
    source§

    fn powi(self, _: PInt<U>) -> <usize as Pow<PInt<U>>>::Output

    This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
    ","Pow>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<U, B> Pow<UInt<U, B>> for usize
    where\n U: Unsigned,\n B: Bit,

    §

    type Output = usize

    The result of the exponentiation.
    source§

    fn powi(self, _: UInt<U, B>) -> <usize as Pow<UInt<U, B>>>::Output

    This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
    ","Pow>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Pow<UTerm> for usize

    §

    type Output = usize

    The result of the exponentiation.
    source§

    fn powi(self, _: UTerm) -> <usize as Pow<UTerm>>::Output

    This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
    ","Pow","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Pow<Z0> for usize

    §

    type Output = usize

    The result of the exponentiation.
    source§

    fn powi(self, _: Z0) -> <usize as Pow<Z0>>::Output

    This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
    ","Pow","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Pow<u16> for usize

    §

    type Output = usize

    The result after applying the operator.
    source§

    fn pow(self, rhs: u16) -> usize

    Returns self to the power rhs. Read more
    ","Pow","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Pow<u32> for usize

    §

    type Output = usize

    The result after applying the operator.
    source§

    fn pow(self, rhs: u32) -> usize

    Returns self to the power rhs. Read more
    ","Pow","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Pow<u8> for usize

    §

    type Output = usize

    The result after applying the operator.
    source§

    fn pow(self, rhs: u8) -> usize

    Returns self to the power rhs. Read more
    ","Pow","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Pow<usize> for usize

    §

    type Output = usize

    The result after applying the operator.
    source§

    fn pow(self, rhs: usize) -> usize

    Returns self to the power rhs. Read more
    ","Pow","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl PrimInt for usize

    source§

    fn count_ones(self) -> u32

    Returns the number of ones in the binary representation of self. Read more
    source§

    fn count_zeros(self) -> u32

    Returns the number of zeros in the binary representation of self. Read more
    source§

    fn leading_ones(self) -> u32

    Returns the number of leading ones in the binary representation\nof self. Read more
    source§

    fn leading_zeros(self) -> u32

    Returns the number of leading zeros in the binary representation\nof self. Read more
    source§

    fn trailing_ones(self) -> u32

    Returns the number of trailing ones in the binary representation\nof self. Read more
    source§

    fn trailing_zeros(self) -> u32

    Returns the number of trailing zeros in the binary representation\nof self. Read more
    source§

    fn rotate_left(self, n: u32) -> usize

    Shifts the bits to the left by a specified amount, n, wrapping\nthe truncated bits to the end of the resulting integer. Read more
    source§

    fn rotate_right(self, n: u32) -> usize

    Shifts the bits to the right by a specified amount, n, wrapping\nthe truncated bits to the beginning of the resulting integer. Read more
    source§

    fn signed_shl(self, n: u32) -> usize

    Shifts the bits to the left by a specified amount, n, filling\nzeros in the least significant bits. Read more
    source§

    fn signed_shr(self, n: u32) -> usize

    Shifts the bits to the right by a specified amount, n, copying\nthe “sign bit” in the most significant bits even for unsigned types. Read more
    source§

    fn unsigned_shl(self, n: u32) -> usize

    Shifts the bits to the left by a specified amount, n, filling\nzeros in the least significant bits. Read more
    source§

    fn unsigned_shr(self, n: u32) -> usize

    Shifts the bits to the right by a specified amount, n, filling\nzeros in the most significant bits. Read more
    source§

    fn swap_bytes(self) -> usize

    Reverses the byte order of the integer. Read more
    source§

    fn reverse_bits(self) -> usize

    Reverses the order of bits in the integer. Read more
    source§

    fn from_be(x: usize) -> usize

    Convert an integer from big endian to the target’s endianness. Read more
    source§

    fn from_le(x: usize) -> usize

    Convert an integer from little endian to the target’s endianness. Read more
    source§

    fn to_be(self) -> usize

    Convert self to big endian from the target’s endianness. Read more
    source§

    fn to_le(self) -> usize

    Convert self to little endian from the target’s endianness. Read more
    source§

    fn pow(self, exp: u32) -> usize

    Raises self to the power of exp, using exponentiation by squaring. Read more
    ","PrimInt","tor_interface::tor_provider::CircuitToken"],["
    1.12.0 · source§

    impl<'a> Product<&'a usize> for usize

    source§

    fn product<I>(iter: I) -> usize
    where\n I: Iterator<Item = &'a usize>,

    Method which takes an iterator and generates Self from the elements by\nmultiplying the items.
    ","Product<&'a usize>","tor_interface::tor_provider::CircuitToken"],["
    1.12.0 · source§

    impl Product for usize

    source§

    fn product<I>(iter: I) -> usize
    where\n I: Iterator<Item = usize>,

    Method which takes an iterator and generates Self from the elements by\nmultiplying the items.
    ","Product","tor_interface::tor_provider::CircuitToken"],["
    §

    impl<R> RangeExt<usize> for R
    where\n R: RangeBounds<usize>,

    §

    fn normalize(\n self,\n start: impl Into<Option<usize>>,\n end: impl Into<Option<usize>>,\n) -> Range<usize>

    Normalizes a range-like type to a canonical half-open Range. Read more
    §

    fn intersection<R2>(self, other: R2) -> Option<Range<usize>>
    where\n R2: RangeExt<usize>,

    Finds the intersection between two range-likes. The produced Range\nspans only the elements common to both. Read more
    §

    fn union<R2>(self, other: R2) -> Option<Range<usize>>
    where\n R2: RangeExt<usize>,

    Finds the union between two range-likes. The produced Range spans all\nelements present in at least one of them. Read more
    ","RangeExt","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Rem<&'a BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: &BigInt) -> BigInt

    Performs the % operation. Read more
    ","Rem<&'a BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Rem<&BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: &BigInt) -> BigInt

    Performs the % operation. Read more
    ","Rem<&BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Rem<&'a BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: &BigUint) -> BigUint

    Performs the % operation. Read more
    ","Rem<&'a BigUint>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Rem<&BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: &BigUint) -> BigUint

    Performs the % operation. Read more
    ","Rem<&BigUint>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Rem<&usize> for usize

    §

    type Output = <usize as Rem>::Output

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: &usize) -> <usize as Rem>::Output

    Performs the % operation. Read more
    ","Rem<&usize>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Rem<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: BigInt) -> BigInt

    Performs the % operation. Read more
    ","Rem","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Rem<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: BigInt) -> BigInt

    Performs the % operation. Read more
    ","Rem","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Rem<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: BigUint) -> BigUint

    Performs the % operation. Read more
    ","Rem","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Rem<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: BigUint) -> BigUint

    Performs the % operation. Read more
    ","Rem","tor_interface::tor_provider::CircuitToken"],["
    1.51.0 · source§

    impl Rem<NonZero<usize>> for usize

    source§

    fn rem(self, other: NonZero<usize>) -> usize

    This operation satisfies n % d == n - (n / d) * d, and cannot panic.

    \n
    §

    type Output = usize

    The resulting type after applying the % operator.
    ","Rem>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Rem for usize

    This operation satisfies n % d == n - (n / d) * d. The\nresult has the same sign as the left operand.

    \n

    §Panics

    \n

    This operation will panic if other == 0.

    \n
    §

    type Output = usize

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: usize) -> usize

    Performs the % operation. Read more
    ","Rem","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> RemAssign<&'a BigUint> for usize

    source§

    fn rem_assign(&mut self, other: &BigUint)

    Performs the %= operation. Read more
    ","RemAssign<&'a BigUint>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl RemAssign<&BigUint> for usize

    source§

    fn rem_assign(&mut self, other: &BigUint)

    Performs the %= operation. Read more
    ","RemAssign<&BigUint>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl RemAssign<&usize> for usize

    source§

    fn rem_assign(&mut self, other: &usize)

    Performs the %= operation. Read more
    ","RemAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl RemAssign<BigUint> for usize

    source§

    fn rem_assign(&mut self, other: BigUint)

    Performs the %= operation. Read more
    ","RemAssign","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl RemAssign<BigUint> for usize

    source§

    fn rem_assign(&mut self, other: BigUint)

    Performs the %= operation. Read more
    ","RemAssign","tor_interface::tor_provider::CircuitToken"],["
    1.79.0 · source§

    impl RemAssign<NonZero<usize>> for usize

    source§

    fn rem_assign(&mut self, other: NonZero<usize>)

    This operation satisfies n % d == n - (n / d) * d, and cannot panic.

    \n
    ","RemAssign>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl RemAssign for usize

    source§

    fn rem_assign(&mut self, other: usize)

    Performs the %= operation. Read more
    ","RemAssign","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Roots for usize

    source§

    fn nth_root(&self, n: u32) -> usize

    Returns the truncated principal nth root of an integer\n– if x >= 0 { ⌊ⁿ√x⌋ } else { ⌈ⁿ√x⌉ } Read more
    source§

    fn sqrt(&self) -> usize

    Returns the truncated principal square root of an integer – ⌊√x⌋ Read more
    source§

    fn cbrt(&self) -> usize

    Returns the truncated principal cube root of an integer –\nif x >= 0 { ⌊∛x⌋ } else { ⌈∛x⌉ } Read more
    ","Roots","tor_interface::tor_provider::CircuitToken"],["
    §

    impl RowIndex for usize

    §

    fn idx(&self, stmt: &Statement<'_>) -> Result<usize, Error>

    Returns the index of the appropriate column, or None if no such\ncolumn exists.
    ","RowIndex","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl SampleUniform for usize

    §

    type Sampler = UniformInt<usize>

    The UniformSampler implementation supporting type X.
    ","SampleUniform","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Saturating for usize

    source§

    fn saturating_add(self, v: usize) -> usize

    Saturating addition operator.\nReturns a+b, saturating at the numeric bounds instead of overflowing.
    source§

    fn saturating_sub(self, v: usize) -> usize

    Saturating subtraction operator.\nReturns a-b, saturating at the numeric bounds instead of overflowing.
    ","Saturating","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl SaturatingAdd for usize

    source§

    fn saturating_add(&self, v: &usize) -> usize

    Saturating addition. Computes self + other, saturating at the relevant high or low boundary of\nthe type.
    ","SaturatingAdd","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl SaturatingMul for usize

    source§

    fn saturating_mul(&self, v: &usize) -> usize

    Saturating multiplication. Computes self * other, saturating at the relevant high or low boundary of\nthe type.
    ","SaturatingMul","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl SaturatingSub for usize

    source§

    fn saturating_sub(&self, v: &usize) -> usize

    Saturating subtraction. Computes self - other, saturating at the relevant high or low boundary of\nthe type.
    ","SaturatingSub","tor_interface::tor_provider::CircuitToken"],["
    §

    impl SeekNum for usize

    §

    fn from_block_byte<T>(\n block: T,\n byte: u8,\n bs: u8,\n) -> Result<usize, OverflowError>
    where\n T: Counter,

    Try to get position for block number block, byte position inside\nblock byte, and block size bs.
    §

    fn into_block_byte<T>(self, bs: u8) -> Result<(T, u8), OverflowError>
    where\n T: Counter,

    Try to get block number and bytes position for given block size bs.
    ","SeekNum","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Serialize for usize

    source§

    fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where\n S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    ","Serialize","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&i128> for usize

    §

    type Output = <usize as Shl<i128>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &i128) -> <usize as Shl<i128>>::Output

    Performs the << operation. Read more
    ","Shl<&i128>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&i16> for usize

    §

    type Output = <usize as Shl<i16>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &i16) -> <usize as Shl<i16>>::Output

    Performs the << operation. Read more
    ","Shl<&i16>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&i32> for usize

    §

    type Output = <usize as Shl<i32>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &i32) -> <usize as Shl<i32>>::Output

    Performs the << operation. Read more
    ","Shl<&i32>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&i64> for usize

    §

    type Output = <usize as Shl<i64>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &i64) -> <usize as Shl<i64>>::Output

    Performs the << operation. Read more
    ","Shl<&i64>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&i8> for usize

    §

    type Output = <usize as Shl<i8>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &i8) -> <usize as Shl<i8>>::Output

    Performs the << operation. Read more
    ","Shl<&i8>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&isize> for usize

    §

    type Output = <usize as Shl<isize>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &isize) -> <usize as Shl<isize>>::Output

    Performs the << operation. Read more
    ","Shl<&isize>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&u128> for usize

    §

    type Output = <usize as Shl<u128>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &u128) -> <usize as Shl<u128>>::Output

    Performs the << operation. Read more
    ","Shl<&u128>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&u16> for usize

    §

    type Output = <usize as Shl<u16>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &u16) -> <usize as Shl<u16>>::Output

    Performs the << operation. Read more
    ","Shl<&u16>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&u32> for usize

    §

    type Output = <usize as Shl<u32>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &u32) -> <usize as Shl<u32>>::Output

    Performs the << operation. Read more
    ","Shl<&u32>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&u64> for usize

    §

    type Output = <usize as Shl<u64>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &u64) -> <usize as Shl<u64>>::Output

    Performs the << operation. Read more
    ","Shl<&u64>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&u8> for usize

    §

    type Output = <usize as Shl<u8>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &u8) -> <usize as Shl<u8>>::Output

    Performs the << operation. Read more
    ","Shl<&u8>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&usize> for usize

    §

    type Output = <usize as Shl>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &usize) -> <usize as Shl>::Output

    Performs the << operation. Read more
    ","Shl<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<i128> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: i128) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<i16> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: i16) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<i32> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: i32) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<i64> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: i64) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<i8> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: i8) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<isize> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: isize) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<u128> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: u128) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<u16> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: u16) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<u32> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: u32) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<u64> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: u64) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<u8> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: u8) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: usize) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&i128> for usize

    source§

    fn shl_assign(&mut self, other: &i128)

    Performs the <<= operation. Read more
    ","ShlAssign<&i128>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&i16> for usize

    source§

    fn shl_assign(&mut self, other: &i16)

    Performs the <<= operation. Read more
    ","ShlAssign<&i16>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&i32> for usize

    source§

    fn shl_assign(&mut self, other: &i32)

    Performs the <<= operation. Read more
    ","ShlAssign<&i32>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&i64> for usize

    source§

    fn shl_assign(&mut self, other: &i64)

    Performs the <<= operation. Read more
    ","ShlAssign<&i64>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&i8> for usize

    source§

    fn shl_assign(&mut self, other: &i8)

    Performs the <<= operation. Read more
    ","ShlAssign<&i8>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&isize> for usize

    source§

    fn shl_assign(&mut self, other: &isize)

    Performs the <<= operation. Read more
    ","ShlAssign<&isize>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&u128> for usize

    source§

    fn shl_assign(&mut self, other: &u128)

    Performs the <<= operation. Read more
    ","ShlAssign<&u128>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&u16> for usize

    source§

    fn shl_assign(&mut self, other: &u16)

    Performs the <<= operation. Read more
    ","ShlAssign<&u16>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&u32> for usize

    source§

    fn shl_assign(&mut self, other: &u32)

    Performs the <<= operation. Read more
    ","ShlAssign<&u32>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&u64> for usize

    source§

    fn shl_assign(&mut self, other: &u64)

    Performs the <<= operation. Read more
    ","ShlAssign<&u64>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&u8> for usize

    source§

    fn shl_assign(&mut self, other: &u8)

    Performs the <<= operation. Read more
    ","ShlAssign<&u8>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&usize> for usize

    source§

    fn shl_assign(&mut self, other: &usize)

    Performs the <<= operation. Read more
    ","ShlAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<i128> for usize

    source§

    fn shl_assign(&mut self, other: i128)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<i16> for usize

    source§

    fn shl_assign(&mut self, other: i16)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<i32> for usize

    source§

    fn shl_assign(&mut self, other: i32)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<i64> for usize

    source§

    fn shl_assign(&mut self, other: i64)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<i8> for usize

    source§

    fn shl_assign(&mut self, other: i8)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<isize> for usize

    source§

    fn shl_assign(&mut self, other: isize)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<u128> for usize

    source§

    fn shl_assign(&mut self, other: u128)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<u16> for usize

    source§

    fn shl_assign(&mut self, other: u16)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<u32> for usize

    source§

    fn shl_assign(&mut self, other: u32)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<u64> for usize

    source§

    fn shl_assign(&mut self, other: u64)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<u8> for usize

    source§

    fn shl_assign(&mut self, other: u8)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign for usize

    source§

    fn shl_assign(&mut self, other: usize)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&i128> for usize

    §

    type Output = <usize as Shr<i128>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &i128) -> <usize as Shr<i128>>::Output

    Performs the >> operation. Read more
    ","Shr<&i128>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&i16> for usize

    §

    type Output = <usize as Shr<i16>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &i16) -> <usize as Shr<i16>>::Output

    Performs the >> operation. Read more
    ","Shr<&i16>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&i32> for usize

    §

    type Output = <usize as Shr<i32>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &i32) -> <usize as Shr<i32>>::Output

    Performs the >> operation. Read more
    ","Shr<&i32>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&i64> for usize

    §

    type Output = <usize as Shr<i64>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &i64) -> <usize as Shr<i64>>::Output

    Performs the >> operation. Read more
    ","Shr<&i64>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&i8> for usize

    §

    type Output = <usize as Shr<i8>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &i8) -> <usize as Shr<i8>>::Output

    Performs the >> operation. Read more
    ","Shr<&i8>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&isize> for usize

    §

    type Output = <usize as Shr<isize>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &isize) -> <usize as Shr<isize>>::Output

    Performs the >> operation. Read more
    ","Shr<&isize>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&u128> for usize

    §

    type Output = <usize as Shr<u128>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &u128) -> <usize as Shr<u128>>::Output

    Performs the >> operation. Read more
    ","Shr<&u128>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&u16> for usize

    §

    type Output = <usize as Shr<u16>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &u16) -> <usize as Shr<u16>>::Output

    Performs the >> operation. Read more
    ","Shr<&u16>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&u32> for usize

    §

    type Output = <usize as Shr<u32>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &u32) -> <usize as Shr<u32>>::Output

    Performs the >> operation. Read more
    ","Shr<&u32>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&u64> for usize

    §

    type Output = <usize as Shr<u64>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &u64) -> <usize as Shr<u64>>::Output

    Performs the >> operation. Read more
    ","Shr<&u64>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&u8> for usize

    §

    type Output = <usize as Shr<u8>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &u8) -> <usize as Shr<u8>>::Output

    Performs the >> operation. Read more
    ","Shr<&u8>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&usize> for usize

    §

    type Output = <usize as Shr>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &usize) -> <usize as Shr>::Output

    Performs the >> operation. Read more
    ","Shr<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<i128> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: i128) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<i16> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: i16) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<i32> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: i32) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<i64> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: i64) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<i8> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: i8) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<isize> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: isize) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<u128> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: u128) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<u16> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: u16) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<u32> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: u32) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<u64> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: u64) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<u8> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: u8) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: usize) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&i128> for usize

    source§

    fn shr_assign(&mut self, other: &i128)

    Performs the >>= operation. Read more
    ","ShrAssign<&i128>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&i16> for usize

    source§

    fn shr_assign(&mut self, other: &i16)

    Performs the >>= operation. Read more
    ","ShrAssign<&i16>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&i32> for usize

    source§

    fn shr_assign(&mut self, other: &i32)

    Performs the >>= operation. Read more
    ","ShrAssign<&i32>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&i64> for usize

    source§

    fn shr_assign(&mut self, other: &i64)

    Performs the >>= operation. Read more
    ","ShrAssign<&i64>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&i8> for usize

    source§

    fn shr_assign(&mut self, other: &i8)

    Performs the >>= operation. Read more
    ","ShrAssign<&i8>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&isize> for usize

    source§

    fn shr_assign(&mut self, other: &isize)

    Performs the >>= operation. Read more
    ","ShrAssign<&isize>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&u128> for usize

    source§

    fn shr_assign(&mut self, other: &u128)

    Performs the >>= operation. Read more
    ","ShrAssign<&u128>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&u16> for usize

    source§

    fn shr_assign(&mut self, other: &u16)

    Performs the >>= operation. Read more
    ","ShrAssign<&u16>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&u32> for usize

    source§

    fn shr_assign(&mut self, other: &u32)

    Performs the >>= operation. Read more
    ","ShrAssign<&u32>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&u64> for usize

    source§

    fn shr_assign(&mut self, other: &u64)

    Performs the >>= operation. Read more
    ","ShrAssign<&u64>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&u8> for usize

    source§

    fn shr_assign(&mut self, other: &u8)

    Performs the >>= operation. Read more
    ","ShrAssign<&u8>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&usize> for usize

    source§

    fn shr_assign(&mut self, other: &usize)

    Performs the >>= operation. Read more
    ","ShrAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<i128> for usize

    source§

    fn shr_assign(&mut self, other: i128)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<i16> for usize

    source§

    fn shr_assign(&mut self, other: i16)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<i32> for usize

    source§

    fn shr_assign(&mut self, other: i32)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<i64> for usize

    source§

    fn shr_assign(&mut self, other: i64)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<i8> for usize

    source§

    fn shr_assign(&mut self, other: i8)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<isize> for usize

    source§

    fn shr_assign(&mut self, other: isize)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<u128> for usize

    source§

    fn shr_assign(&mut self, other: u128)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<u16> for usize

    source§

    fn shr_assign(&mut self, other: u16)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<u32> for usize

    source§

    fn shr_assign(&mut self, other: u32)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<u64> for usize

    source§

    fn shr_assign(&mut self, other: u64)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<u8> for usize

    source§

    fn shr_assign(&mut self, other: u8)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign for usize

    source§

    fn shr_assign(&mut self, other: usize)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl SimdElement for usize

    §

    type Mask = isize

    🔬This is a nightly-only experimental API. (portable_simd)
    The mask element type corresponding to this element type.
    ","SimdElement","tor_interface::tor_provider::CircuitToken"],["
    1.15.0 (const: unstable) · source§

    impl<T> SliceIndex<[T]> for usize

    The methods index and index_mut panic if the index is out of bounds.

    \n
    §

    type Output = T

    The output type returned by methods.
    source§

    fn get(self, slice: &[T]) -> Option<&T>

    🔬This is a nightly-only experimental API. (slice_index_methods)
    Returns a shared reference to the output at this location, if in\nbounds.
    source§

    fn get_mut(self, slice: &mut [T]) -> Option<&mut T>

    🔬This is a nightly-only experimental API. (slice_index_methods)
    Returns a mutable reference to the output at this location, if in\nbounds.
    source§

    unsafe fn get_unchecked(self, slice: *const [T]) -> *const T

    🔬This is a nightly-only experimental API. (slice_index_methods)
    Returns a pointer to the output at this location, without\nperforming any bounds checking.\nCalling this method with an out-of-bounds index or a dangling slice pointer\nis undefined behavior even if the resulting pointer is not used.
    source§

    unsafe fn get_unchecked_mut(self, slice: *mut [T]) -> *mut T

    🔬This is a nightly-only experimental API. (slice_index_methods)
    Returns a mutable pointer to the output at this location, without\nperforming any bounds checking.\nCalling this method with an out-of-bounds index or a dangling slice pointer\nis undefined behavior even if the resulting pointer is not used.
    source§

    fn index(self, slice: &[T]) -> &T

    🔬This is a nightly-only experimental API. (slice_index_methods)
    Returns a shared reference to the output at this location, panicking\nif out of bounds.
    source§

    fn index_mut(self, slice: &mut [T]) -> &mut T

    🔬This is a nightly-only experimental API. (slice_index_methods)
    Returns a mutable reference to the output at this location, panicking\nif out of bounds.
    ","SliceIndex<[T]>","tor_interface::tor_provider::CircuitToken"],["
    §

    impl SmartDisplay for usize

    §

    type Metadata = ()

    User-provided metadata type.
    §

    fn metadata(&self, f: FormatterOptions) -> Metadata<'_, usize>

    Compute any information needed to format the value. This must, at a minimum, determine the\nwidth of the value before any padding is added by the formatter. Read more
    §

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

    Format the value using the given formatter. This is the same as Display::fmt. Read more
    §

    fn fmt_with_metadata(\n &self,\n f: &mut Formatter<'_>,\n _metadata: Metadata<'_, Self>,\n) -> Result<(), Error>

    Format the value using the given formatter and metadata. The formatted output should have\nthe width indicated by the metadata. This is before any padding is added by the\nformatter. Read more
    ","SmartDisplay","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Step for usize

    source§

    fn forward(start: usize, n: usize) -> usize

    🔬This is a nightly-only experimental API. (step_trait)
    Returns the value that would be obtained by taking the successor\nof self count times. Read more
    source§

    fn backward(start: usize, n: usize) -> usize

    🔬This is a nightly-only experimental API. (step_trait)
    Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
    source§

    unsafe fn forward_unchecked(start: usize, n: usize) -> usize

    🔬This is a nightly-only experimental API. (step_trait)
    Returns the value that would be obtained by taking the successor\nof self count times. Read more
    source§

    unsafe fn backward_unchecked(start: usize, n: usize) -> usize

    🔬This is a nightly-only experimental API. (step_trait)
    Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
    source§

    fn steps_between(start: &usize, end: &usize) -> Option<usize>

    🔬This is a nightly-only experimental API. (step_trait)
    Returns the number of successor steps required to get from start to end. Read more
    source§

    fn forward_checked(start: usize, n: usize) -> Option<usize>

    🔬This is a nightly-only experimental API. (step_trait)
    Returns the value that would be obtained by taking the successor\nof self count times. Read more
    source§

    fn backward_checked(start: usize, n: usize) -> Option<usize>

    🔬This is a nightly-only experimental API. (step_trait)
    Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
    ","Step","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Sub<&'a BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: &BigInt) -> BigInt

    Performs the - operation. Read more
    ","Sub<&'a BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Sub<&BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: &BigInt) -> BigInt

    Performs the - operation. Read more
    ","Sub<&BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Sub<&'a BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: &BigUint) -> BigUint

    Performs the - operation. Read more
    ","Sub<&'a BigUint>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Sub<&BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: &BigUint) -> BigUint

    Performs the - operation. Read more
    ","Sub<&BigUint>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Sub<&usize> for usize

    §

    type Output = <usize as Sub>::Output

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: &usize) -> <usize as Sub>::Output

    Performs the - operation. Read more
    ","Sub<&usize>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Sub<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: BigInt) -> BigInt

    Performs the - operation. Read more
    ","Sub","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Sub<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: BigInt) -> BigInt

    Performs the - operation. Read more
    ","Sub","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Sub<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: BigUint) -> BigUint

    Performs the - operation. Read more
    ","Sub","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Sub<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: BigUint) -> BigUint

    Performs the - operation. Read more
    ","Sub","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Sub for usize

    §

    type Output = usize

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: usize) -> usize

    Performs the - operation. Read more
    ","Sub","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl SubAssign<&usize> for usize

    source§

    fn sub_assign(&mut self, other: &usize)

    Performs the -= operation. Read more
    ","SubAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl SubAssign for usize

    source§

    fn sub_assign(&mut self, other: usize)

    Performs the -= operation. Read more
    ","SubAssign","tor_interface::tor_provider::CircuitToken"],["
    1.12.0 · source§

    impl<'a> Sum<&'a usize> for usize

    source§

    fn sum<I>(iter: I) -> usize
    where\n I: Iterator<Item = &'a usize>,

    Method which takes an iterator and generates Self from the elements by\n“summing up” the items.
    ","Sum<&'a usize>","tor_interface::tor_provider::CircuitToken"],["
    1.12.0 · source§

    impl Sum for usize

    source§

    fn sum<I>(iter: I) -> usize
    where\n I: Iterator<Item = usize>,

    Method which takes an iterator and generates Self from the elements by\n“summing up” the items.
    ","Sum","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ToBigInt for usize

    source§

    fn to_bigint(&self) -> Option<BigInt>

    Converts the value of self to a BigInt.
    ","ToBigInt","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ToBigInt for usize

    source§

    fn to_bigint(&self) -> Option<BigInt>

    Converts the value of self to a BigInt.
    ","ToBigInt","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ToBigUint for usize

    source§

    fn to_biguint(&self) -> Option<BigUint>

    Converts the value of self to a BigUint.
    ","ToBigUint","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ToBigUint for usize

    source§

    fn to_biguint(&self) -> Option<BigUint>

    Converts the value of self to a BigUint.
    ","ToBigUint","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ToBytes for usize

    §

    type Bytes = [u8; 8]

    source§

    fn to_be_bytes(&self) -> <usize as ToBytes>::Bytes

    Return the memory representation of this number as a byte array in big-endian byte order. Read more
    source§

    fn to_le_bytes(&self) -> <usize as ToBytes>::Bytes

    Return the memory representation of this number as a byte array in little-endian byte order. Read more
    source§

    fn to_ne_bytes(&self) -> <usize as ToBytes>::Bytes

    Return the memory representation of this number as a byte array in native byte order. Read more
    ","ToBytes","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ToPrimitive for usize

    source§

    fn to_isize(&self) -> Option<isize>

    Converts the value of self to an isize. If the value cannot be\nrepresented by an isize, then None is returned.
    source§

    fn to_i8(&self) -> Option<i8>

    Converts the value of self to an i8. If the value cannot be\nrepresented by an i8, then None is returned.
    source§

    fn to_i16(&self) -> Option<i16>

    Converts the value of self to an i16. If the value cannot be\nrepresented by an i16, then None is returned.
    source§

    fn to_i32(&self) -> Option<i32>

    Converts the value of self to an i32. If the value cannot be\nrepresented by an i32, then None is returned.
    source§

    fn to_i64(&self) -> Option<i64>

    Converts the value of self to an i64. If the value cannot be\nrepresented by an i64, then None is returned.
    source§

    fn to_i128(&self) -> Option<i128>

    Converts the value of self to an i128. If the value cannot be\nrepresented by an i128 (i64 under the default implementation), then\nNone is returned. Read more
    source§

    fn to_usize(&self) -> Option<usize>

    Converts the value of self to a usize. If the value cannot be\nrepresented by a usize, then None is returned.
    source§

    fn to_u8(&self) -> Option<u8>

    Converts the value of self to a u8. If the value cannot be\nrepresented by a u8, then None is returned.
    source§

    fn to_u16(&self) -> Option<u16>

    Converts the value of self to a u16. If the value cannot be\nrepresented by a u16, then None is returned.
    source§

    fn to_u32(&self) -> Option<u32>

    Converts the value of self to a u32. If the value cannot be\nrepresented by a u32, then None is returned.
    source§

    fn to_u64(&self) -> Option<u64>

    Converts the value of self to a u64. If the value cannot be\nrepresented by a u64, then None is returned.
    source§

    fn to_u128(&self) -> Option<u128>

    Converts the value of self to a u128. If the value cannot be\nrepresented by a u128 (u64 under the default implementation), then\nNone is returned. Read more
    source§

    fn to_f32(&self) -> Option<f32>

    Converts the value of self to an f32. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f32.
    source§

    fn to_f64(&self) -> Option<f64>

    Converts the value of self to an f64. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f64. Read more
    ","ToPrimitive","tor_interface::tor_provider::CircuitToken"],["
    §

    impl ToSql for usize

    §

    fn to_sql(&self) -> Result<ToSqlOutput<'_>, Error>

    Converts Rust value to SQLite value
    ","ToSql","tor_interface::tor_provider::CircuitToken"],["
    §

    impl ToUsize for usize

    §

    fn to_usize(&self) -> usize

    converts self to usize
    ","ToUsize","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl TryFrom<&BigInt> for usize

    §

    type Error = TryFromBigIntError<()>

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

    fn try_from(value: &BigInt) -> Result<usize, TryFromBigIntError<()>>

    Performs the conversion.
    ","TryFrom<&BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl TryFrom<&BigUint> for usize

    §

    type Error = TryFromBigIntError<()>

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

    fn try_from(value: &BigUint) -> Result<usize, TryFromBigIntError<()>>

    Performs the conversion.
    ","TryFrom<&BigUint>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl TryFrom<BigInt> for usize

    §

    type Error = TryFromBigIntError<BigInt>

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

    fn try_from(value: BigInt) -> Result<usize, TryFromBigIntError<BigInt>>

    Performs the conversion.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl TryFrom<BigUint> for usize

    §

    type Error = TryFromBigIntError<BigUint>

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

    fn try_from(value: BigUint) -> Result<usize, TryFromBigIntError<BigUint>>

    Performs the conversion.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    §

    impl<const L: i32, const H: i32> TryFrom<BoundedInt32<L, H>> for usize

    §

    type Error = Error

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

    fn try_from(\n val: BoundedInt32<L, H>,\n) -> Result<usize, <usize as TryFrom<BoundedInt32<L, H>>>::Error>

    Performs the conversion.
    ","TryFrom>","tor_interface::tor_provider::CircuitToken"],["
    §

    impl TryFrom<Length> for usize

    §

    type Error = Error

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

    fn try_from(len: Length) -> Result<usize, Error>

    Performs the conversion.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    1.34.0 · source§

    impl TryFrom<i128> for usize

    source§

    fn try_from(u: i128) -> Result<usize, <usize as TryFrom<i128>>::Error>

    Try to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

    \n
    §

    type Error = TryFromIntError

    The type returned in the event of a conversion error.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    1.34.0 · source§

    impl TryFrom<i16> for usize

    source§

    fn try_from(u: i16) -> Result<usize, <usize as TryFrom<i16>>::Error>

    Try to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

    \n
    §

    type Error = TryFromIntError

    The type returned in the event of a conversion error.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    1.34.0 · source§

    impl TryFrom<i32> for usize

    source§

    fn try_from(u: i32) -> Result<usize, <usize as TryFrom<i32>>::Error>

    Try to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

    \n
    §

    type Error = TryFromIntError

    The type returned in the event of a conversion error.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    1.34.0 · source§

    impl TryFrom<i64> for usize

    source§

    fn try_from(u: i64) -> Result<usize, <usize as TryFrom<i64>>::Error>

    Try to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

    \n
    §

    type Error = TryFromIntError

    The type returned in the event of a conversion error.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    1.34.0 · source§

    impl TryFrom<i8> for usize

    source§

    fn try_from(u: i8) -> Result<usize, <usize as TryFrom<i8>>::Error>

    Try to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

    \n
    §

    type Error = TryFromIntError

    The type returned in the event of a conversion error.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    1.34.0 · source§

    impl TryFrom<isize> for usize

    source§

    fn try_from(u: isize) -> Result<usize, <usize as TryFrom<isize>>::Error>

    Try to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

    \n
    §

    type Error = TryFromIntError

    The type returned in the event of a conversion error.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    1.34.0 · source§

    impl TryFrom<u128> for usize

    source§

    fn try_from(u: u128) -> Result<usize, <usize as TryFrom<u128>>::Error>

    Try to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

    \n
    §

    type Error = TryFromIntError

    The type returned in the event of a conversion error.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    1.34.0 · source§

    impl TryFrom<u32> for usize

    source§

    fn try_from(value: u32) -> Result<usize, <usize as TryFrom<u32>>::Error>

    Try to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

    \n
    §

    type Error = TryFromIntError

    The type returned in the event of a conversion error.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    1.34.0 · source§

    impl TryFrom<u64> for usize

    source§

    fn try_from(value: u64) -> Result<usize, <usize as TryFrom<u64>>::Error>

    Try to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

    \n
    §

    type Error = TryFromIntError

    The type returned in the event of a conversion error.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Unsigned for usize

    §

    fn is_power_of_two(self) -> bool

    Returns true if and only if self == 2^k for some k.
    §

    fn next_power_of_two(self) -> usize

    Returns the smallest power of two greater than or equal to self. Read more
    §

    fn checked_next_power_of_two(self) -> Option<usize>

    Returns the smallest power of two greater than or equal to n. If the\nnext power of two is greater than the type’s maximum value, None is\nreturned, otherwise the power of two is wrapped in Some.
    ","Unsigned","tor_interface::tor_provider::CircuitToken"],["
    1.42.0 · source§

    impl UpperExp for usize

    source§

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

    Formats the value using the given formatter. Read more
    ","UpperExp","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl UpperHex for usize

    source§

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

    Formats the value using the given formatter. Read more
    ","UpperHex","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Value for usize

    §

    fn record(&self, key: &Field, visitor: &mut dyn Visit)

    Visits this value with the given Visitor.
    ","Value","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl WrappingAdd for usize

    source§

    fn wrapping_add(&self, v: &usize) -> usize

    Wrapping (modular) addition. Computes self + other, wrapping around at the boundary of\nthe type.
    ","WrappingAdd","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl WrappingMul for usize

    source§

    fn wrapping_mul(&self, v: &usize) -> usize

    Wrapping (modular) multiplication. Computes self * other, wrapping around at the boundary\nof the type.
    ","WrappingMul","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl WrappingNeg for usize

    source§

    fn wrapping_neg(&self) -> usize

    Wrapping (modular) negation. Computes -self,\nwrapping around at the boundary of the type. Read more
    ","WrappingNeg","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl WrappingShl for usize

    source§

    fn wrapping_shl(&self, rhs: u32) -> usize

    Panic-free bitwise shift-left; yields self << mask(rhs),\nwhere mask removes any high order bits of rhs that would\ncause the shift to exceed the bitwidth of the type. Read more
    ","WrappingShl","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl WrappingShr for usize

    source§

    fn wrapping_shr(&self, rhs: u32) -> usize

    Panic-free bitwise shift-right; yields self >> mask(rhs),\nwhere mask removes any high order bits of rhs that would\ncause the shift to exceed the bitwidth of the type. Read more
    ","WrappingShr","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl WrappingSub for usize

    source§

    fn wrapping_sub(&self, v: &usize) -> usize

    Wrapping (modular) subtraction. Computes self - other, wrapping around at the boundary\nof the type.
    ","WrappingSub","tor_interface::tor_provider::CircuitToken"],["
    §

    impl WriteHex for usize

    §

    fn write_hex<W>(&self, writer: W) -> Result<(), Error>
    where\n W: Write,

    Write the value as hex.
    ","WriteHex","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Writeable for usize

    §

    fn write_to<W>(&self, sink: &mut W) -> Result<(), Error>
    where\n W: Write + ?Sized,

    Writes a string to the given sink. Errors from the sink are bubbled up.\nThe default implementation delegates to write_to_parts, and discards any\nPart annotations.
    §

    fn writeable_length_hint(&self) -> LengthHint

    Returns a hint for the number of UTF-8 bytes that will be written to the sink. Read more
    §

    fn write_to_parts<S>(&self, sink: &mut S) -> Result<(), Error>
    where\n S: PartsWrite + ?Sized,

    Write bytes and Part annotations to the given sink. Errors from the\nsink are bubbled up. The default implementation delegates to write_to,\nand doesn’t produce any Part annotations.
    §

    fn write_to_string(&self) -> Cow<'_, str>

    Creates a new String with the data from this Writeable. Like ToString,\nbut smaller and faster. Read more
    §

    fn writeable_cmp_bytes(&self, other: &[u8]) -> Ordering

    Compares the contents of this Writeable to the given bytes\nwithout allocating a String to hold the Writeable contents. Read more
    ","Writeable","tor_interface::tor_provider::CircuitToken"],["
    §

    impl<'a> Yokeable<'a> for usize

    §

    type Output = usize

    This type MUST be Self with the 'static replaced with 'a, i.e. Self<'a>
    §

    fn transform(&self) -> &<usize as Yokeable<'a>>::Output

    This method must cast self between &'a Self<'static> and &'a Self<'a>. Read more
    §

    fn transform_owned(self) -> <usize as Yokeable<'a>>::Output

    This method must cast self between Self<'static> and Self<'a>. Read more
    §

    unsafe fn make(this: <usize as Yokeable<'a>>::Output) -> usize

    This method can be used to cast away Self<'a>’s lifetime. Read more
    §

    fn transform_mut<F>(&'a mut self, f: F)
    where\n F: 'static + for<'b> FnOnce(&'b mut <usize as Yokeable<'a>>::Output),

    This method must cast self between &'a mut Self<'static> and &'a mut Self<'a>,\nand pass it to f. Read more
    ","Yokeable<'a>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Zero for usize

    source§

    fn zero() -> usize

    Returns the additive identity element of Self, 0. Read more
    source§

    fn is_zero(&self) -> bool

    Returns true if self is equal to the additive identity.
    source§

    fn set_zero(&mut self)

    Sets self to the additive identity element of Self, 0.
    ","Zero","tor_interface::tor_provider::CircuitToken"],["
    §

    impl<'a> ZeroFrom<'a, usize> for usize

    §

    fn zero_from(this: &'a usize) -> usize

    Clone the other C into a struct that may retain references into C.
    ","ZeroFrom<'a, usize>","tor_interface::tor_provider::CircuitToken"],["
    §

    impl<'a> ZeroMapKV<'a> for usize

    §

    type Container = FlexZeroVec<'a>

    The container that can be used with this type: [ZeroVec] or [VarZeroVec].
    §

    type Slice = FlexZeroSlice

    §

    type GetType = [u8]

    The type produced by Container::get() Read more
    §

    type OwnedType = usize

    The type produced by Container::replace() and Container::remove(),\nalso used during deserialization. If Self is human readable serialized,\ndeserializing to Self::OwnedType should produce the same value once\npassed through Self::owned_as_self() Read more
    ","ZeroMapKV<'a>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl usize

    1.43.0 · source

    pub const MIN: usize = 0usize

    The smallest value that can be represented by this integer type.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(usize::MIN, 0);
    \n
    1.43.0 · source

    pub const MAX: usize = 18_446_744_073_709_551_615usize

    The largest value that can be represented by this integer type\n(264 − 1 on 64-bit targets).

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(usize::MAX, 18446744073709551615);
    \n
    1.53.0 · source

    pub const BITS: u32 = 64u32

    The size of this integer type in bits.

    \n
    §Examples
    \n
    assert_eq!(usize::BITS, 64);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn count_ones(self) -> u32

    Returns the number of ones in the binary representation of self.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0b01001100usize;\n\nassert_eq!(n.count_ones(), 3);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn count_zeros(self) -> u32

    Returns the number of zeros in the binary representation of self.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(usize::MAX.count_zeros(), 0);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn leading_zeros(self) -> u32

    Returns the number of leading zeros in the binary representation of self.

    \n

    Depending on what you’re doing with the value, you might also be interested in the\nilog2 function which returns a consistent number, even if the type widens.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = usize::MAX >> 2;\n\nassert_eq!(n.leading_zeros(), 2);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn trailing_zeros(self) -> u32

    Returns the number of trailing zeros in the binary representation\nof self.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0b0101000usize;\n\nassert_eq!(n.trailing_zeros(), 3);
    \n
    1.46.0 (const: 1.46.0) · source

    pub const fn leading_ones(self) -> u32

    Returns the number of leading ones in the binary representation of self.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = !(usize::MAX >> 2);\n\nassert_eq!(n.leading_ones(), 2);
    \n
    1.46.0 (const: 1.46.0) · source

    pub const fn trailing_ones(self) -> u32

    Returns the number of trailing ones in the binary representation\nof self.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0b1010111usize;\n\nassert_eq!(n.trailing_ones(), 3);
    \n
    source

    pub const fn cast_signed(self) -> isize

    🔬This is a nightly-only experimental API. (integer_sign_cast)

    Returns the bit pattern of self reinterpreted as a signed integer of the same size.

    \n

    This produces the same result as an as cast, but ensures that the bit-width remains\nthe same.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(integer_sign_cast)]\n\nlet n = usize::MAX;\n\nassert_eq!(n.cast_signed(), -1isize);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn rotate_left(self, n: u32) -> usize

    Shifts the bits to the left by a specified amount, n,\nwrapping the truncated bits to the end of the resulting integer.

    \n

    Please note this isn’t the same operation as the << shifting operator!

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0xaa00000000006e1usize;\nlet m = 0x6e10aa;\n\nassert_eq!(n.rotate_left(12), m);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn rotate_right(self, n: u32) -> usize

    Shifts the bits to the right by a specified amount, n,\nwrapping the truncated bits to the beginning of the resulting\ninteger.

    \n

    Please note this isn’t the same operation as the >> shifting operator!

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0x6e10aausize;\nlet m = 0xaa00000000006e1;\n\nassert_eq!(n.rotate_right(12), m);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn swap_bytes(self) -> usize

    Reverses the byte order of the integer.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0x1234567890123456usize;\nlet m = n.swap_bytes();\n\nassert_eq!(m, 0x5634129078563412);
    \n
    1.37.0 (const: 1.37.0) · source

    pub const fn reverse_bits(self) -> usize

    Reverses the order of bits in the integer. The least significant bit becomes the most significant bit,\nsecond least-significant bit becomes second most-significant bit, etc.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0x1234567890123456usize;\nlet m = n.reverse_bits();\n\nassert_eq!(m, 0x6a2c48091e6a2c48);\nassert_eq!(0, 0usize.reverse_bits());
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn from_be(x: usize) -> usize

    Converts an integer from big endian to the target’s endianness.

    \n

    On big endian this is a no-op. On little endian the bytes are\nswapped.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0x1Ausize;\n\nif cfg!(target_endian = \"big\") {\n    assert_eq!(usize::from_be(n), n)\n} else {\n    assert_eq!(usize::from_be(n), n.swap_bytes())\n}
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn from_le(x: usize) -> usize

    Converts an integer from little endian to the target’s endianness.

    \n

    On little endian this is a no-op. On big endian the bytes are\nswapped.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0x1Ausize;\n\nif cfg!(target_endian = \"little\") {\n    assert_eq!(usize::from_le(n), n)\n} else {\n    assert_eq!(usize::from_le(n), n.swap_bytes())\n}
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn to_be(self) -> usize

    Converts self to big endian from the target’s endianness.

    \n

    On big endian this is a no-op. On little endian the bytes are\nswapped.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0x1Ausize;\n\nif cfg!(target_endian = \"big\") {\n    assert_eq!(n.to_be(), n)\n} else {\n    assert_eq!(n.to_be(), n.swap_bytes())\n}
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn to_le(self) -> usize

    Converts self to little endian from the target’s endianness.

    \n

    On little endian this is a no-op. On big endian the bytes are\nswapped.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0x1Ausize;\n\nif cfg!(target_endian = \"little\") {\n    assert_eq!(n.to_le(), n)\n} else {\n    assert_eq!(n.to_le(), n.swap_bytes())\n}
    \n
    1.0.0 (const: 1.47.0) · source

    pub const fn checked_add(self, rhs: usize) -> Option<usize>

    Checked integer addition. Computes self + rhs, returning None\nif overflow occurred.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!((usize::MAX - 2).checked_add(1), Some(usize::MAX - 1));\nassert_eq!((usize::MAX - 2).checked_add(3), None);
    \n
    source

    pub const fn strict_add(self, rhs: usize) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict integer addition. Computes self + rhs, panicking\nif overflow occurred.

    \n
    §Panics
    §Overflow behavior
    \n

    This function will always panic on overflow, regardless of whether overflow checks are enabled.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!((usize::MAX - 2).strict_add(1), usize::MAX - 1);
    \n

    The following panics because of overflow:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = (usize::MAX - 2).strict_add(3);
    \n
    1.79.0 (const: 1.79.0) · source

    pub const unsafe fn unchecked_add(self, rhs: usize) -> usize

    Unchecked integer addition. Computes self + rhs, assuming overflow\ncannot occur.

    \n

    Calling x.unchecked_add(y) is semantically equivalent to calling\nx.checked_add(y).unwrap_unchecked().

    \n

    If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_add.

    \n
    §Safety
    \n

    This results in undefined behavior when\nself + rhs > usize::MAX or self + rhs < usize::MIN,\ni.e. when checked_add would return None.

    \n
    1.66.0 (const: 1.66.0) · source

    pub const fn checked_add_signed(self, rhs: isize) -> Option<usize>

    Checked addition with a signed integer. Computes self + rhs,\nreturning None if overflow occurred.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(1usize.checked_add_signed(2), Some(3));\nassert_eq!(1usize.checked_add_signed(-2), None);\nassert_eq!((usize::MAX - 2).checked_add_signed(3), None);
    \n
    source

    pub const fn strict_add_signed(self, rhs: isize) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict addition with a signed integer. Computes self + rhs,\npanicking if overflow occurred.

    \n
    §Panics
    §Overflow behavior
    \n

    This function will always panic on overflow, regardless of whether overflow checks are enabled.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(1usize.strict_add_signed(2), 3);
    \n

    The following panic because of overflow:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = 1usize.strict_add_signed(-2);
    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = (usize::MAX - 2).strict_add_signed(3);
    \n
    1.0.0 (const: 1.47.0) · source

    pub const fn checked_sub(self, rhs: usize) -> Option<usize>

    Checked integer subtraction. Computes self - rhs, returning\nNone if overflow occurred.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(1usize.checked_sub(1), Some(0));\nassert_eq!(0usize.checked_sub(1), None);
    \n
    source

    pub const fn strict_sub(self, rhs: usize) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict integer subtraction. Computes self - rhs, panicking if\noverflow occurred.

    \n
    §Panics
    §Overflow behavior
    \n

    This function will always panic on overflow, regardless of whether overflow checks are enabled.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(1usize.strict_sub(1), 0);
    \n

    The following panics because of overflow:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = 0usize.strict_sub(1);
    \n
    1.79.0 (const: 1.79.0) · source

    pub const unsafe fn unchecked_sub(self, rhs: usize) -> usize

    Unchecked integer subtraction. Computes self - rhs, assuming overflow\ncannot occur.

    \n

    Calling x.unchecked_sub(y) is semantically equivalent to calling\nx.checked_sub(y).unwrap_unchecked().

    \n

    If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_sub.

    \n

    If you find yourself writing code like this:

    \n\n
    if foo >= bar {\n    // SAFETY: just checked it will not overflow\n    let diff = unsafe { foo.unchecked_sub(bar) };\n    // ... use diff ...\n}
    \n

    Consider changing it to

    \n\n
    if let Some(diff) = foo.checked_sub(bar) {\n    // ... use diff ...\n}
    \n

    As that does exactly the same thing – including telling the optimizer\nthat the subtraction cannot overflow – but avoids needing unsafe.

    \n
    §Safety
    \n

    This results in undefined behavior when\nself - rhs > usize::MAX or self - rhs < usize::MIN,\ni.e. when checked_sub would return None.

    \n
    1.0.0 (const: 1.47.0) · source

    pub const fn checked_mul(self, rhs: usize) -> Option<usize>

    Checked integer multiplication. Computes self * rhs, returning\nNone if overflow occurred.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(5usize.checked_mul(1), Some(5));\nassert_eq!(usize::MAX.checked_mul(2), None);
    \n
    source

    pub const fn strict_mul(self, rhs: usize) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict integer multiplication. Computes self * rhs, panicking if\noverflow occurred.

    \n
    §Panics
    §Overflow behavior
    \n

    This function will always panic on overflow, regardless of whether overflow checks are enabled.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(5usize.strict_mul(1), 5);
    \n

    The following panics because of overflow:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = usize::MAX.strict_mul(2);
    \n
    1.79.0 (const: 1.79.0) · source

    pub const unsafe fn unchecked_mul(self, rhs: usize) -> usize

    Unchecked integer multiplication. Computes self * rhs, assuming overflow\ncannot occur.

    \n

    Calling x.unchecked_mul(y) is semantically equivalent to calling\nx.checked_mul(y).unwrap_unchecked().

    \n

    If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_mul.

    \n
    §Safety
    \n

    This results in undefined behavior when\nself * rhs > usize::MAX or self * rhs < usize::MIN,\ni.e. when checked_mul would return None.

    \n
    1.0.0 (const: 1.52.0) · source

    pub const fn checked_div(self, rhs: usize) -> Option<usize>

    Checked integer division. Computes self / rhs, returning None\nif rhs == 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(128usize.checked_div(2), Some(64));\nassert_eq!(1usize.checked_div(0), None);
    \n
    source

    pub const fn strict_div(self, rhs: usize) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict integer division. Computes self / rhs.\nStrict division on unsigned types is just normal division.\nThere’s no way overflow could ever happen.\nThis function exists, so that all operations\nare accounted for in the strict operations.

    \n
    §Panics
    \n

    This function will panic if rhs is zero.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(100usize.strict_div(10), 10);
    \n

    The following panics because of division by zero:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = (1usize).strict_div(0);
    \n
    1.38.0 (const: 1.52.0) · source

    pub const fn checked_div_euclid(self, rhs: usize) -> Option<usize>

    Checked Euclidean division. Computes self.div_euclid(rhs), returning None\nif rhs == 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(128usize.checked_div_euclid(2), Some(64));\nassert_eq!(1usize.checked_div_euclid(0), None);
    \n
    source

    pub const fn strict_div_euclid(self, rhs: usize) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict Euclidean division. Computes self.div_euclid(rhs).\nStrict division on unsigned types is just normal division.\nThere’s no way overflow could ever happen.\nThis function exists, so that all operations\nare accounted for in the strict operations.\nSince, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self.strict_div(rhs).

    \n
    §Panics
    \n

    This function will panic if rhs is zero.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(100usize.strict_div_euclid(10), 10);
    \n

    The following panics because of division by zero:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = (1usize).strict_div_euclid(0);
    \n
    1.7.0 (const: 1.52.0) · source

    pub const fn checked_rem(self, rhs: usize) -> Option<usize>

    Checked integer remainder. Computes self % rhs, returning None\nif rhs == 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(5usize.checked_rem(2), Some(1));\nassert_eq!(5usize.checked_rem(0), None);
    \n
    source

    pub const fn strict_rem(self, rhs: usize) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict integer remainder. Computes self % rhs.\nStrict remainder calculation on unsigned types is\njust the regular remainder calculation.\nThere’s no way overflow could ever happen.\nThis function exists, so that all operations\nare accounted for in the strict operations.

    \n
    §Panics
    \n

    This function will panic if rhs is zero.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(100usize.strict_rem(10), 0);
    \n

    The following panics because of division by zero:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = 5usize.strict_rem(0);
    \n
    1.38.0 (const: 1.52.0) · source

    pub const fn checked_rem_euclid(self, rhs: usize) -> Option<usize>

    Checked Euclidean modulo. Computes self.rem_euclid(rhs), returning None\nif rhs == 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(5usize.checked_rem_euclid(2), Some(1));\nassert_eq!(5usize.checked_rem_euclid(0), None);
    \n
    source

    pub const fn strict_rem_euclid(self, rhs: usize) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict Euclidean modulo. Computes self.rem_euclid(rhs).\nStrict modulo calculation on unsigned types is\njust the regular remainder calculation.\nThere’s no way overflow could ever happen.\nThis function exists, so that all operations\nare accounted for in the strict operations.\nSince, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self.strict_rem(rhs).

    \n
    §Panics
    \n

    This function will panic if rhs is zero.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(100usize.strict_rem_euclid(10), 0);
    \n

    The following panics because of division by zero:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = 5usize.strict_rem_euclid(0);
    \n
    1.67.0 (const: 1.67.0) · source

    pub const fn ilog(self, base: usize) -> u32

    Returns the logarithm of the number with respect to an arbitrary base,\nrounded down.

    \n

    This method might not be optimized owing to implementation details;\nilog2 can produce results more efficiently for base 2, and ilog10\ncan produce results more efficiently for base 10.

    \n
    §Panics
    \n

    This function will panic if self is zero, or if base is less than 2.

    \n
    §Examples
    \n
    assert_eq!(5usize.ilog(5), 1);
    \n
    1.67.0 (const: 1.67.0) · source

    pub const fn ilog2(self) -> u32

    Returns the base 2 logarithm of the number, rounded down.

    \n
    §Panics
    \n

    This function will panic if self is zero.

    \n
    §Examples
    \n
    assert_eq!(2usize.ilog2(), 1);
    \n
    1.67.0 (const: 1.67.0) · source

    pub const fn ilog10(self) -> u32

    Returns the base 10 logarithm of the number, rounded down.

    \n
    §Panics
    \n

    This function will panic if self is zero.

    \n
    §Example
    \n
    assert_eq!(10usize.ilog10(), 1);
    \n
    1.67.0 (const: 1.67.0) · source

    pub const fn checked_ilog(self, base: usize) -> Option<u32>

    Returns the logarithm of the number with respect to an arbitrary base,\nrounded down.

    \n

    Returns None if the number is zero, or if the base is not at least 2.

    \n

    This method might not be optimized owing to implementation details;\nchecked_ilog2 can produce results more efficiently for base 2, and\nchecked_ilog10 can produce results more efficiently for base 10.

    \n
    §Examples
    \n
    assert_eq!(5usize.checked_ilog(5), Some(1));
    \n
    1.67.0 (const: 1.67.0) · source

    pub const fn checked_ilog2(self) -> Option<u32>

    Returns the base 2 logarithm of the number, rounded down.

    \n

    Returns None if the number is zero.

    \n
    §Examples
    \n
    assert_eq!(2usize.checked_ilog2(), Some(1));
    \n
    1.67.0 (const: 1.67.0) · source

    pub const fn checked_ilog10(self) -> Option<u32>

    Returns the base 10 logarithm of the number, rounded down.

    \n

    Returns None if the number is zero.

    \n
    §Examples
    \n
    assert_eq!(10usize.checked_ilog10(), Some(1));
    \n
    1.7.0 (const: 1.47.0) · source

    pub const fn checked_neg(self) -> Option<usize>

    Checked negation. Computes -self, returning None unless self == 0.

    \n

    Note that negating any positive integer will overflow.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(0usize.checked_neg(), Some(0));\nassert_eq!(1usize.checked_neg(), None);
    \n
    source

    pub const fn strict_neg(self) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict negation. Computes -self, panicking unless self == 0.

    \n

    Note that negating any positive integer will overflow.

    \n
    §Panics
    §Overflow behavior
    \n

    This function will always panic on overflow, regardless of whether overflow checks are enabled.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(0usize.strict_neg(), 0);
    \n

    The following panics because of overflow:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = 1usize.strict_neg();
    \n
    1.7.0 (const: 1.47.0) · source

    pub const fn checked_shl(self, rhs: u32) -> Option<usize>

    Checked shift left. Computes self << rhs, returning None\nif rhs is larger than or equal to the number of bits in self.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(0x1usize.checked_shl(4), Some(0x10));\nassert_eq!(0x10usize.checked_shl(129), None);
    \n
    source

    pub const fn strict_shl(self, rhs: u32) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict shift left. Computes self << rhs, panicking if rhs is larger\nthan or equal to the number of bits in self.

    \n
    §Panics
    §Overflow behavior
    \n

    This function will always panic on overflow, regardless of whether overflow checks are enabled.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(0x1usize.strict_shl(4), 0x10);
    \n

    The following panics because of overflow:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = 0x10usize.strict_shl(129);
    \n
    source

    pub const unsafe fn unchecked_shl(self, rhs: u32) -> usize

    🔬This is a nightly-only experimental API. (unchecked_shifts)

    Unchecked shift left. Computes self << rhs, assuming that\nrhs is less than the number of bits in self.

    \n
    §Safety
    \n

    This results in undefined behavior if rhs is larger than\nor equal to the number of bits in self,\ni.e. when checked_shl would return None.

    \n
    1.7.0 (const: 1.47.0) · source

    pub const fn checked_shr(self, rhs: u32) -> Option<usize>

    Checked shift right. Computes self >> rhs, returning None\nif rhs is larger than or equal to the number of bits in self.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(0x10usize.checked_shr(4), Some(0x1));\nassert_eq!(0x10usize.checked_shr(129), None);
    \n
    source

    pub const fn strict_shr(self, rhs: u32) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict shift right. Computes self >> rhs, panicking rhs is\nlarger than or equal to the number of bits in self.

    \n
    §Panics
    §Overflow behavior
    \n

    This function will always panic on overflow, regardless of whether overflow checks are enabled.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(0x10usize.strict_shr(4), 0x1);
    \n

    The following panics because of overflow:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = 0x10usize.strict_shr(129);
    \n
    source

    pub const unsafe fn unchecked_shr(self, rhs: u32) -> usize

    🔬This is a nightly-only experimental API. (unchecked_shifts)

    Unchecked shift right. Computes self >> rhs, assuming that\nrhs is less than the number of bits in self.

    \n
    §Safety
    \n

    This results in undefined behavior if rhs is larger than\nor equal to the number of bits in self,\ni.e. when checked_shr would return None.

    \n
    1.34.0 (const: 1.50.0) · source

    pub const fn checked_pow(self, exp: u32) -> Option<usize>

    Checked exponentiation. Computes self.pow(exp), returning None if\noverflow occurred.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(2usize.checked_pow(5), Some(32));\nassert_eq!(usize::MAX.checked_pow(2), None);
    \n
    source

    pub const fn strict_pow(self, exp: u32) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict exponentiation. Computes self.pow(exp), panicking if\noverflow occurred.

    \n
    §Panics
    §Overflow behavior
    \n

    This function will always panic on overflow, regardless of whether overflow checks are enabled.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(2usize.strict_pow(5), 32);
    \n

    The following panics because of overflow:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = usize::MAX.strict_pow(2);
    \n
    1.0.0 (const: 1.47.0) · source

    pub const fn saturating_add(self, rhs: usize) -> usize

    Saturating integer addition. Computes self + rhs, saturating at\nthe numeric bounds instead of overflowing.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(100usize.saturating_add(1), 101);\nassert_eq!(usize::MAX.saturating_add(127), usize::MAX);
    \n
    1.66.0 (const: 1.66.0) · source

    pub const fn saturating_add_signed(self, rhs: isize) -> usize

    Saturating addition with a signed integer. Computes self + rhs,\nsaturating at the numeric bounds instead of overflowing.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(1usize.saturating_add_signed(2), 3);\nassert_eq!(1usize.saturating_add_signed(-2), 0);\nassert_eq!((usize::MAX - 2).saturating_add_signed(4), usize::MAX);
    \n
    1.0.0 (const: 1.47.0) · source

    pub const fn saturating_sub(self, rhs: usize) -> usize

    Saturating integer subtraction. Computes self - rhs, saturating\nat the numeric bounds instead of overflowing.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(100usize.saturating_sub(27), 73);\nassert_eq!(13usize.saturating_sub(127), 0);
    \n
    1.7.0 (const: 1.47.0) · source

    pub const fn saturating_mul(self, rhs: usize) -> usize

    Saturating integer multiplication. Computes self * rhs,\nsaturating at the numeric bounds instead of overflowing.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(2usize.saturating_mul(10), 20);\nassert_eq!((usize::MAX).saturating_mul(10), usize::MAX);
    \n
    1.58.0 (const: 1.58.0) · source

    pub const fn saturating_div(self, rhs: usize) -> usize

    Saturating integer division. Computes self / rhs, saturating at the\nnumeric bounds instead of overflowing.

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(5usize.saturating_div(2), 2);\n
    \n
    1.34.0 (const: 1.50.0) · source

    pub const fn saturating_pow(self, exp: u32) -> usize

    Saturating integer exponentiation. Computes self.pow(exp),\nsaturating at the numeric bounds instead of overflowing.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(4usize.saturating_pow(3), 64);\nassert_eq!(usize::MAX.saturating_pow(2), usize::MAX);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn wrapping_add(self, rhs: usize) -> usize

    Wrapping (modular) addition. Computes self + rhs,\nwrapping around at the boundary of the type.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(200usize.wrapping_add(55), 255);\nassert_eq!(200usize.wrapping_add(usize::MAX), 199);
    \n
    1.66.0 (const: 1.66.0) · source

    pub const fn wrapping_add_signed(self, rhs: isize) -> usize

    Wrapping (modular) addition with a signed integer. Computes\nself + rhs, wrapping around at the boundary of the type.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(1usize.wrapping_add_signed(2), 3);\nassert_eq!(1usize.wrapping_add_signed(-2), usize::MAX);\nassert_eq!((usize::MAX - 2).wrapping_add_signed(4), 1);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn wrapping_sub(self, rhs: usize) -> usize

    Wrapping (modular) subtraction. Computes self - rhs,\nwrapping around at the boundary of the type.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(100usize.wrapping_sub(100), 0);\nassert_eq!(100usize.wrapping_sub(usize::MAX), 101);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn wrapping_mul(self, rhs: usize) -> usize

    Wrapping (modular) multiplication. Computes self * rhs, wrapping around at the boundary of the type.

    \n
    §Examples
    \n

    Basic usage:

    \n

    Please note that this example is shared between integer types.\nWhich explains why u8 is used here.

    \n\n
    assert_eq!(10u8.wrapping_mul(12), 120);\nassert_eq!(25u8.wrapping_mul(12), 44);
    \n
    1.2.0 (const: 1.52.0) · source

    pub const fn wrapping_div(self, rhs: usize) -> usize

    Wrapping (modular) division. Computes self / rhs.\nWrapped division on unsigned types is just normal division.\nThere’s no way wrapping could ever happen.\nThis function exists, so that all operations\nare accounted for in the wrapping operations.

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(100usize.wrapping_div(10), 10);
    \n
    1.38.0 (const: 1.52.0) · source

    pub const fn wrapping_div_euclid(self, rhs: usize) -> usize

    Wrapping Euclidean division. Computes self.div_euclid(rhs).\nWrapped division on unsigned types is just normal division.\nThere’s no way wrapping could ever happen.\nThis function exists, so that all operations\nare accounted for in the wrapping operations.\nSince, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self.wrapping_div(rhs).

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(100usize.wrapping_div_euclid(10), 10);
    \n
    1.2.0 (const: 1.52.0) · source

    pub const fn wrapping_rem(self, rhs: usize) -> usize

    Wrapping (modular) remainder. Computes self % rhs.\nWrapped remainder calculation on unsigned types is\njust the regular remainder calculation.\nThere’s no way wrapping could ever happen.\nThis function exists, so that all operations\nare accounted for in the wrapping operations.

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(100usize.wrapping_rem(10), 0);
    \n
    1.38.0 (const: 1.52.0) · source

    pub const fn wrapping_rem_euclid(self, rhs: usize) -> usize

    Wrapping Euclidean modulo. Computes self.rem_euclid(rhs).\nWrapped modulo calculation on unsigned types is\njust the regular remainder calculation.\nThere’s no way wrapping could ever happen.\nThis function exists, so that all operations\nare accounted for in the wrapping operations.\nSince, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self.wrapping_rem(rhs).

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(100usize.wrapping_rem_euclid(10), 0);
    \n
    1.2.0 (const: 1.32.0) · source

    pub const fn wrapping_neg(self) -> usize

    Wrapping (modular) negation. Computes -self,\nwrapping around at the boundary of the type.

    \n

    Since unsigned types do not have negative equivalents\nall applications of this function will wrap (except for -0).\nFor values smaller than the corresponding signed type’s maximum\nthe result is the same as casting the corresponding signed value.\nAny larger values are equivalent to MAX + 1 - (val - MAX - 1) where\nMAX is the corresponding signed type’s maximum.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(0_usize.wrapping_neg(), 0);\nassert_eq!(usize::MAX.wrapping_neg(), 1);\nassert_eq!(13_usize.wrapping_neg(), (!13) + 1);\nassert_eq!(42_usize.wrapping_neg(), !(42 - 1));
    \n
    1.2.0 (const: 1.32.0) · source

    pub const fn wrapping_shl(self, rhs: u32) -> usize

    Panic-free bitwise shift-left; yields self << mask(rhs),\nwhere mask removes any high-order bits of rhs that\nwould cause the shift to exceed the bitwidth of the type.

    \n

    Note that this is not the same as a rotate-left; the\nRHS of a wrapping shift-left is restricted to the range\nof the type, rather than the bits shifted out of the LHS\nbeing returned to the other end. The primitive integer\ntypes all implement a rotate_left function,\nwhich may be what you want instead.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(1usize.wrapping_shl(7), 128);\nassert_eq!(1usize.wrapping_shl(128), 1);
    \n
    1.2.0 (const: 1.32.0) · source

    pub const fn wrapping_shr(self, rhs: u32) -> usize

    Panic-free bitwise shift-right; yields self >> mask(rhs),\nwhere mask removes any high-order bits of rhs that\nwould cause the shift to exceed the bitwidth of the type.

    \n

    Note that this is not the same as a rotate-right; the\nRHS of a wrapping shift-right is restricted to the range\nof the type, rather than the bits shifted out of the LHS\nbeing returned to the other end. The primitive integer\ntypes all implement a rotate_right function,\nwhich may be what you want instead.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(128usize.wrapping_shr(7), 1);\nassert_eq!(128usize.wrapping_shr(128), 128);
    \n
    1.34.0 (const: 1.50.0) · source

    pub const fn wrapping_pow(self, exp: u32) -> usize

    Wrapping (modular) exponentiation. Computes self.pow(exp),\nwrapping around at the boundary of the type.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(3usize.wrapping_pow(5), 243);\nassert_eq!(3u8.wrapping_pow(6), 217);
    \n
    1.7.0 (const: 1.32.0) · source

    pub const fn overflowing_add(self, rhs: usize) -> (usize, bool)

    Calculates self + rhs

    \n

    Returns a tuple of the addition along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

    \n
    §Examples
    \n

    Basic usage

    \n\n
    assert_eq!(5usize.overflowing_add(2), (7, false));\nassert_eq!(usize::MAX.overflowing_add(1), (0, true));
    \n
    source

    pub const fn carrying_add(self, rhs: usize, carry: bool) -> (usize, bool)

    🔬This is a nightly-only experimental API. (bigint_helper_methods)

    Calculates self + rhs + carry and returns a tuple containing\nthe sum and the output carry.

    \n

    Performs “ternary addition” of two integer operands and a carry-in\nbit, and returns an output integer and a carry-out bit. This allows\nchaining together multiple additions to create a wider addition, and\ncan be useful for bignum addition.

    \n

    This can be thought of as a 64-bit “full adder”, in the electronics sense.

    \n

    If the input carry is false, this method is equivalent to\noverflowing_add, and the output carry is\nequal to the overflow flag. Note that although carry and overflow\nflags are similar for unsigned integers, they are different for\nsigned integers.

    \n
    §Examples
    \n
    #![feature(bigint_helper_methods)]\n\n//    3  MAX    (a = 3 × 2^64 + 2^64 - 1)\n// +  5    7    (b = 5 × 2^64 + 7)\n// ---------\n//    9    6    (sum = 9 × 2^64 + 6)\n\nlet (a1, a0): (usize, usize) = (3, usize::MAX);\nlet (b1, b0): (usize, usize) = (5, 7);\nlet carry0 = false;\n\nlet (sum0, carry1) = a0.carrying_add(b0, carry0);\nassert_eq!(carry1, true);\nlet (sum1, carry2) = a1.carrying_add(b1, carry1);\nassert_eq!(carry2, false);\n\nassert_eq!((sum1, sum0), (9, 6));
    \n
    1.66.0 (const: 1.66.0) · source

    pub const fn overflowing_add_signed(self, rhs: isize) -> (usize, bool)

    Calculates self + rhs with a signed rhs

    \n

    Returns a tuple of the addition along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(1usize.overflowing_add_signed(2), (3, false));\nassert_eq!(1usize.overflowing_add_signed(-2), (usize::MAX, true));\nassert_eq!((usize::MAX - 2).overflowing_add_signed(4), (1, true));
    \n
    1.7.0 (const: 1.32.0) · source

    pub const fn overflowing_sub(self, rhs: usize) -> (usize, bool)

    Calculates self - rhs

    \n

    Returns a tuple of the subtraction along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

    \n
    §Examples
    \n

    Basic usage

    \n\n
    assert_eq!(5usize.overflowing_sub(2), (3, false));\nassert_eq!(0usize.overflowing_sub(1), (usize::MAX, true));
    \n
    source

    pub const fn borrowing_sub(self, rhs: usize, borrow: bool) -> (usize, bool)

    🔬This is a nightly-only experimental API. (bigint_helper_methods)

    Calculates selfrhsborrow and returns a tuple\ncontaining the difference and the output borrow.

    \n

    Performs “ternary subtraction” by subtracting both an integer\noperand and a borrow-in bit from self, and returns an output\ninteger and a borrow-out bit. This allows chaining together multiple\nsubtractions to create a wider subtraction, and can be useful for\nbignum subtraction.

    \n
    §Examples
    \n
    #![feature(bigint_helper_methods)]\n\n//    9    6    (a = 9 × 2^64 + 6)\n// -  5    7    (b = 5 × 2^64 + 7)\n// ---------\n//    3  MAX    (diff = 3 × 2^64 + 2^64 - 1)\n\nlet (a1, a0): (usize, usize) = (9, 6);\nlet (b1, b0): (usize, usize) = (5, 7);\nlet borrow0 = false;\n\nlet (diff0, borrow1) = a0.borrowing_sub(b0, borrow0);\nassert_eq!(borrow1, true);\nlet (diff1, borrow2) = a1.borrowing_sub(b1, borrow1);\nassert_eq!(borrow2, false);\n\nassert_eq!((diff1, diff0), (3, usize::MAX));
    \n
    1.60.0 (const: 1.60.0) · source

    pub const fn abs_diff(self, other: usize) -> usize

    Computes the absolute difference between self and other.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(100usize.abs_diff(80), 20usize);\nassert_eq!(100usize.abs_diff(110), 10usize);
    \n
    1.7.0 (const: 1.32.0) · source

    pub const fn overflowing_mul(self, rhs: usize) -> (usize, bool)

    Calculates the multiplication of self and rhs.

    \n

    Returns a tuple of the multiplication along with a boolean\nindicating whether an arithmetic overflow would occur. If an\noverflow would have occurred then the wrapped value is returned.

    \n
    §Examples
    \n

    Basic usage:

    \n

    Please note that this example is shared between integer types.\nWhich explains why u32 is used here.

    \n\n
    assert_eq!(5u32.overflowing_mul(2), (10, false));\nassert_eq!(1_000_000_000u32.overflowing_mul(10), (1410065408, true));
    \n
    1.7.0 (const: 1.52.0) · source

    pub const fn overflowing_div(self, rhs: usize) -> (usize, bool)

    Calculates the divisor when self is divided by rhs.

    \n

    Returns a tuple of the divisor along with a boolean indicating\nwhether an arithmetic overflow would occur. Note that for unsigned\nintegers overflow never occurs, so the second value is always\nfalse.

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage

    \n\n
    assert_eq!(5usize.overflowing_div(2), (2, false));
    \n
    1.38.0 (const: 1.52.0) · source

    pub const fn overflowing_div_euclid(self, rhs: usize) -> (usize, bool)

    Calculates the quotient of Euclidean division self.div_euclid(rhs).

    \n

    Returns a tuple of the divisor along with a boolean indicating\nwhether an arithmetic overflow would occur. Note that for unsigned\nintegers overflow never occurs, so the second value is always\nfalse.\nSince, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self.overflowing_div(rhs).

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage

    \n\n
    assert_eq!(5usize.overflowing_div_euclid(2), (2, false));
    \n
    1.7.0 (const: 1.52.0) · source

    pub const fn overflowing_rem(self, rhs: usize) -> (usize, bool)

    Calculates the remainder when self is divided by rhs.

    \n

    Returns a tuple of the remainder after dividing along with a boolean\nindicating whether an arithmetic overflow would occur. Note that for\nunsigned integers overflow never occurs, so the second value is\nalways false.

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage

    \n\n
    assert_eq!(5usize.overflowing_rem(2), (1, false));
    \n
    1.38.0 (const: 1.52.0) · source

    pub const fn overflowing_rem_euclid(self, rhs: usize) -> (usize, bool)

    Calculates the remainder self.rem_euclid(rhs) as if by Euclidean division.

    \n

    Returns a tuple of the modulo after dividing along with a boolean\nindicating whether an arithmetic overflow would occur. Note that for\nunsigned integers overflow never occurs, so the second value is\nalways false.\nSince, for the positive integers, all common\ndefinitions of division are equal, this operation\nis exactly equal to self.overflowing_rem(rhs).

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage

    \n\n
    assert_eq!(5usize.overflowing_rem_euclid(2), (1, false));
    \n
    1.7.0 (const: 1.32.0) · source

    pub const fn overflowing_neg(self) -> (usize, bool)

    Negates self in an overflowing fashion.

    \n

    Returns !self + 1 using wrapping operations to return the value\nthat represents the negation of this unsigned value. Note that for\npositive unsigned values overflow always occurs, but negating 0 does\nnot overflow.

    \n
    §Examples
    \n

    Basic usage

    \n\n
    assert_eq!(0usize.overflowing_neg(), (0, false));\nassert_eq!(2usize.overflowing_neg(), (-2i32 as usize, true));
    \n
    1.7.0 (const: 1.32.0) · source

    pub const fn overflowing_shl(self, rhs: u32) -> (usize, bool)

    Shifts self left by rhs bits.

    \n

    Returns a tuple of the shifted version of self along with a boolean\nindicating whether the shift value was larger than or equal to the\nnumber of bits. If the shift value is too large, then value is\nmasked (N-1) where N is the number of bits, and this value is then\nused to perform the shift.

    \n
    §Examples
    \n

    Basic usage

    \n\n
    assert_eq!(0x1usize.overflowing_shl(4), (0x10, false));\nassert_eq!(0x1usize.overflowing_shl(132), (0x10, true));
    \n
    1.7.0 (const: 1.32.0) · source

    pub const fn overflowing_shr(self, rhs: u32) -> (usize, bool)

    Shifts self right by rhs bits.

    \n

    Returns a tuple of the shifted version of self along with a boolean\nindicating whether the shift value was larger than or equal to the\nnumber of bits. If the shift value is too large, then value is\nmasked (N-1) where N is the number of bits, and this value is then\nused to perform the shift.

    \n
    §Examples
    \n

    Basic usage

    \n\n
    assert_eq!(0x10usize.overflowing_shr(4), (0x1, false));\nassert_eq!(0x10usize.overflowing_shr(132), (0x1, true));
    \n
    1.34.0 (const: 1.50.0) · source

    pub const fn overflowing_pow(self, exp: u32) -> (usize, bool)

    Raises self to the power of exp, using exponentiation by squaring.

    \n

    Returns a tuple of the exponentiation along with a bool indicating\nwhether an overflow happened.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(3usize.overflowing_pow(5), (243, false));\nassert_eq!(3u8.overflowing_pow(6), (217, true));
    \n
    1.0.0 (const: 1.50.0) · source

    pub const fn pow(self, exp: u32) -> usize

    Raises self to the power of exp, using exponentiation by squaring.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(2usize.pow(5), 32);
    \n
    source

    pub const fn isqrt(self) -> usize

    🔬This is a nightly-only experimental API. (isqrt)

    Returns the square root of the number, rounded down.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(isqrt)]\nassert_eq!(10usize.isqrt(), 3);
    \n
    1.38.0 (const: 1.52.0) · source

    pub const fn div_euclid(self, rhs: usize) -> usize

    Performs Euclidean division.

    \n

    Since, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self / rhs.

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(7usize.div_euclid(4), 1); // or any other integer type
    \n
    1.38.0 (const: 1.52.0) · source

    pub const fn rem_euclid(self, rhs: usize) -> usize

    Calculates the least remainder of self (mod rhs).

    \n

    Since, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self % rhs.

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(7usize.rem_euclid(4), 3); // or any other integer type
    \n
    source

    pub const fn div_floor(self, rhs: usize) -> usize

    🔬This is a nightly-only experimental API. (int_roundings)

    Calculates the quotient of self and rhs, rounding the result towards negative infinity.

    \n

    This is the same as performing self / rhs for all unsigned integers.

    \n
    §Panics
    \n

    This function will panic if rhs is zero.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(int_roundings)]\nassert_eq!(7_usize.div_floor(4), 1);
    \n
    1.73.0 (const: 1.73.0) · source

    pub const fn div_ceil(self, rhs: usize) -> usize

    Calculates the quotient of self and rhs, rounding the result towards positive infinity.

    \n
    §Panics
    \n

    This function will panic if rhs is zero.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(7_usize.div_ceil(4), 2);
    \n
    1.73.0 (const: 1.73.0) · source

    pub const fn next_multiple_of(self, rhs: usize) -> usize

    Calculates the smallest value greater than or equal to self that\nis a multiple of rhs.

    \n
    §Panics
    \n

    This function will panic if rhs is zero.

    \n
    §Overflow behavior
    \n

    On overflow, this function will panic if overflow checks are enabled (default in debug\nmode) and wrap if overflow checks are disabled (default in release mode).

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(16_usize.next_multiple_of(8), 16);\nassert_eq!(23_usize.next_multiple_of(8), 24);
    \n
    1.73.0 (const: 1.73.0) · source

    pub const fn checked_next_multiple_of(self, rhs: usize) -> Option<usize>

    Calculates the smallest value greater than or equal to self that\nis a multiple of rhs. Returns None if rhs is zero or the\noperation would result in overflow.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(16_usize.checked_next_multiple_of(8), Some(16));\nassert_eq!(23_usize.checked_next_multiple_of(8), Some(24));\nassert_eq!(1_usize.checked_next_multiple_of(0), None);\nassert_eq!(usize::MAX.checked_next_multiple_of(2), None);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn is_power_of_two(self) -> bool

    Returns true if and only if self == 2^k for some k.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert!(16usize.is_power_of_two());\nassert!(!10usize.is_power_of_two());
    \n
    1.0.0 (const: 1.50.0) · source

    pub const fn next_power_of_two(self) -> usize

    Returns the smallest power of two greater than or equal to self.

    \n

    When return value overflows (i.e., self > (1 << (N-1)) for type\nuN), it panics in debug mode and the return value is wrapped to 0 in\nrelease mode (the only situation in which this method can return 0).

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(2usize.next_power_of_two(), 2);\nassert_eq!(3usize.next_power_of_two(), 4);\nassert_eq!(0usize.next_power_of_two(), 1);
    \n
    1.0.0 (const: 1.50.0) · source

    pub const fn checked_next_power_of_two(self) -> Option<usize>

    Returns the smallest power of two greater than or equal to self. If\nthe next power of two is greater than the type’s maximum value,\nNone is returned, otherwise the power of two is wrapped in Some.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(2usize.checked_next_power_of_two(), Some(2));\nassert_eq!(3usize.checked_next_power_of_two(), Some(4));\nassert_eq!(usize::MAX.checked_next_power_of_two(), None);
    \n
    source

    pub const fn wrapping_next_power_of_two(self) -> usize

    🔬This is a nightly-only experimental API. (wrapping_next_power_of_two)

    Returns the smallest power of two greater than or equal to n. If\nthe next power of two is greater than the type’s maximum value,\nthe return value is wrapped to 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(wrapping_next_power_of_two)]\n\nassert_eq!(2usize.wrapping_next_power_of_two(), 2);\nassert_eq!(3usize.wrapping_next_power_of_two(), 4);\nassert_eq!(usize::MAX.wrapping_next_power_of_two(), 0);
    \n
    1.32.0 (const: 1.44.0) · source

    pub const fn to_be_bytes(self) -> [u8; 8]

    Return the memory representation of this integer as a byte array in\nbig-endian (network) byte order.

    \n

    Note: This function returns an array of length 2, 4 or 8 bytes\ndepending on the target pointer size.

    \n
    §Examples
    \n
    let bytes = 0x1234567890123456usize.to_be_bytes();\nassert_eq!(bytes, [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]);
    \n
    1.32.0 (const: 1.44.0) · source

    pub const fn to_le_bytes(self) -> [u8; 8]

    Return the memory representation of this integer as a byte array in\nlittle-endian byte order.

    \n

    Note: This function returns an array of length 2, 4 or 8 bytes\ndepending on the target pointer size.

    \n
    §Examples
    \n
    let bytes = 0x1234567890123456usize.to_le_bytes();\nassert_eq!(bytes, [0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]);
    \n
    1.32.0 (const: 1.44.0) · source

    pub const fn to_ne_bytes(self) -> [u8; 8]

    Return the memory representation of this integer as a byte array in\nnative byte order.

    \n

    As the target platform’s native endianness is used, portable code\nshould use to_be_bytes or to_le_bytes, as appropriate,\ninstead.

    \n

    Note: This function returns an array of length 2, 4 or 8 bytes\ndepending on the target pointer size.

    \n
    §Examples
    \n
    let bytes = 0x1234567890123456usize.to_ne_bytes();\nassert_eq!(\n    bytes,\n    if cfg!(target_endian = \"big\") {\n        [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]\n    } else {\n        [0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]\n    }\n);
    \n
    1.32.0 (const: 1.44.0) · source

    pub const fn from_be_bytes(bytes: [u8; 8]) -> usize

    Create a native endian integer value from its representation\nas a byte array in big endian.

    \n

    Note: This function takes an array of length 2, 4 or 8 bytes\ndepending on the target pointer size.

    \n
    §Examples
    \n
    let value = usize::from_be_bytes([0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]);\nassert_eq!(value, 0x1234567890123456);
    \n

    When starting from a slice rather than an array, fallible conversion APIs can be used:

    \n\n
    fn read_be_usize(input: &mut &[u8]) -> usize {\n    let (int_bytes, rest) = input.split_at(std::mem::size_of::<usize>());\n    *input = rest;\n    usize::from_be_bytes(int_bytes.try_into().unwrap())\n}
    \n
    1.32.0 (const: 1.44.0) · source

    pub const fn from_le_bytes(bytes: [u8; 8]) -> usize

    Create a native endian integer value from its representation\nas a byte array in little endian.

    \n

    Note: This function takes an array of length 2, 4 or 8 bytes\ndepending on the target pointer size.

    \n
    §Examples
    \n
    let value = usize::from_le_bytes([0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]);\nassert_eq!(value, 0x1234567890123456);
    \n

    When starting from a slice rather than an array, fallible conversion APIs can be used:

    \n\n
    fn read_le_usize(input: &mut &[u8]) -> usize {\n    let (int_bytes, rest) = input.split_at(std::mem::size_of::<usize>());\n    *input = rest;\n    usize::from_le_bytes(int_bytes.try_into().unwrap())\n}
    \n
    1.32.0 (const: 1.44.0) · source

    pub const fn from_ne_bytes(bytes: [u8; 8]) -> usize

    Create a native endian integer value from its memory representation\nas a byte array in native endianness.

    \n

    As the target platform’s native endianness is used, portable code\nlikely wants to use from_be_bytes or from_le_bytes, as\nappropriate instead.

    \n

    Note: This function takes an array of length 2, 4 or 8 bytes\ndepending on the target pointer size.

    \n
    §Examples
    \n
    let value = usize::from_ne_bytes(if cfg!(target_endian = \"big\") {\n    [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]\n} else {\n    [0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]\n});\nassert_eq!(value, 0x1234567890123456);
    \n

    When starting from a slice rather than an array, fallible conversion APIs can be used:

    \n\n
    fn read_ne_usize(input: &mut &[u8]) -> usize {\n    let (int_bytes, rest) = input.split_at(std::mem::size_of::<usize>());\n    *input = rest;\n    usize::from_ne_bytes(int_bytes.try_into().unwrap())\n}
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn min_value() -> usize

    👎Deprecating in a future version: replaced by the MIN associated constant on this type

    New code should prefer to use\nusize::MIN instead.

    \n

    Returns the smallest value that can be represented by this integer type.

    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn max_value() -> usize

    👎Deprecating in a future version: replaced by the MAX associated constant on this type

    New code should prefer to use\nusize::MAX instead.

    \n

    Returns the largest value that can be represented by this integer type.

    \n
    source

    pub const fn widening_mul(self, rhs: usize) -> (usize, usize)

    🔬This is a nightly-only experimental API. (bigint_helper_methods)

    Calculates the complete product self * rhs without the possibility to overflow.

    \n

    This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order.

    \n

    If you also need to add a carry to the wide result, then you want\nSelf::carrying_mul instead.

    \n
    §Examples
    \n

    Basic usage:

    \n

    Please note that this example is shared between integer types.\nWhich explains why u32 is used here.

    \n\n
    #![feature(bigint_helper_methods)]\nassert_eq!(5u32.widening_mul(2), (10, 0));\nassert_eq!(1_000_000_000u32.widening_mul(10), (1410065408, 2));
    \n
    source

    pub const fn carrying_mul(self, rhs: usize, carry: usize) -> (usize, usize)

    🔬This is a nightly-only experimental API. (bigint_helper_methods)

    Calculates the “full multiplication” self * rhs + carry\nwithout the possibility to overflow.

    \n

    This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order.

    \n

    Performs “long multiplication” which takes in an extra amount to add, and may return an\nadditional amount of overflow. This allows for chaining together multiple\nmultiplications to create “big integers” which represent larger values.

    \n

    If you don’t need the carry, then you can use Self::widening_mul instead.

    \n
    §Examples
    \n

    Basic usage:

    \n

    Please note that this example is shared between integer types.\nWhich explains why u32 is used here.

    \n\n
    #![feature(bigint_helper_methods)]\nassert_eq!(5u32.carrying_mul(2, 0), (10, 0));\nassert_eq!(5u32.carrying_mul(2, 10), (20, 0));\nassert_eq!(1_000_000_000u32.carrying_mul(10, 0), (1410065408, 2));\nassert_eq!(1_000_000_000u32.carrying_mul(10, 10), (1410065418, 2));\nassert_eq!(usize::MAX.carrying_mul(usize::MAX, usize::MAX), (0, usize::MAX));
    \n

    This is the core operation needed for scalar multiplication when\nimplementing it for wider-than-native types.

    \n\n
    #![feature(bigint_helper_methods)]\nfn scalar_mul_eq(little_endian_digits: &mut Vec<u16>, multiplicand: u16) {\n    let mut carry = 0;\n    for d in little_endian_digits.iter_mut() {\n        (*d, carry) = d.carrying_mul(multiplicand, carry);\n    }\n    if carry != 0 {\n        little_endian_digits.push(carry);\n    }\n}\n\nlet mut v = vec![10, 20];\nscalar_mul_eq(&mut v, 3);\nassert_eq!(v, [30, 60]);\n\nassert_eq!(0x87654321_u64 * 0xFEED, 0x86D3D159E38D);\nlet mut v = vec![0x4321, 0x8765];\nscalar_mul_eq(&mut v, 0xFEED);\nassert_eq!(v, [0xE38D, 0xD159, 0x86D3]);
    \n

    If carry is zero, this is similar to overflowing_mul,\nexcept that it gives the value of the overflow instead of just whether one happened:

    \n\n
    #![feature(bigint_helper_methods)]\nlet r = u8::carrying_mul(7, 13, 0);\nassert_eq!((r.0, r.1 != 0), u8::overflowing_mul(7, 13));\nlet r = u8::carrying_mul(13, 42, 0);\nassert_eq!((r.0, r.1 != 0), u8::overflowing_mul(13, 42));
    \n

    The value of the first field in the returned tuple matches what you’d get\nby combining the wrapping_mul and\nwrapping_add methods:

    \n\n
    #![feature(bigint_helper_methods)]\nassert_eq!(\n    789_u16.carrying_mul(456, 123).0,\n    789_u16.wrapping_mul(456).wrapping_add(123),\n);
    \n
    source

    pub const fn midpoint(self, rhs: usize) -> usize

    🔬This is a nightly-only experimental API. (num_midpoint)

    Calculates the middle point of self and rhs.

    \n

    midpoint(a, b) is (a + b) >> 1 as if it were performed in a\nsufficiently-large signed integral type. This implies that the result is\nalways rounded towards negative infinity and that no overflow will ever occur.

    \n
    §Examples
    \n
    #![feature(num_midpoint)]\nassert_eq!(0usize.midpoint(4), 2);\nassert_eq!(1usize.midpoint(4), 2);
    \n
    ",0,"tor_interface::tor_provider::CircuitToken"],["
    source§

    impl usize

    1.0.0 (const: unstable) · source

    pub fn from_str_radix(src: &str, radix: u32) -> Result<usize, ParseIntError>

    Converts a string slice in a given base to an integer.

    \n

    The string is expected to be an optional + sign\nfollowed by digits.\nLeading and trailing whitespace represent an error.\nDigits are a subset of these characters, depending on radix:

    \n
      \n
    • 0-9
    • \n
    • a-z
    • \n
    • A-Z
    • \n
    \n
    §Panics
    \n

    This function panics if radix is not in the range from 2 to 36.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(usize::from_str_radix(\"A\", 16), Ok(10));
    \n
    ",0,"tor_interface::tor_provider::CircuitToken"],["
    §

    impl AtLeast16 for usize

    ","AtLeast16","tor_interface::tor_provider::CircuitToken"],["
    §

    impl AtLeast32 for usize

    ","AtLeast32","tor_interface::tor_provider::CircuitToken"],["
    §

    impl AtLeast64 for usize

    ","AtLeast64","tor_interface::tor_provider::CircuitToken"],["
    §

    impl AtLeast8 for usize

    ","AtLeast8","tor_interface::tor_provider::CircuitToken"],["
    §

    impl AtMost128 for usize

    ","AtMost128","tor_interface::tor_provider::CircuitToken"],["
    §

    impl AtMost64 for usize

    ","AtMost64","tor_interface::tor_provider::CircuitToken"],["
    §

    impl BitOps for usize

    ","BitOps","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ConstParamTy for usize

    ","ConstParamTy","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Copy for usize

    ","Copy","tor_interface::tor_provider::CircuitToken"],["
    §

    impl DefaultIsZeroes for usize

    ","DefaultIsZeroes","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Eq for usize

    ","Eq","tor_interface::tor_provider::CircuitToken"],["
    §

    impl ExtendTarget<usize> for usize

    ","ExtendTarget","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Index for usize

    ","Index","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Index for usize

    ","Index","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Integer for usize

    ","Integer","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Is64 for usize

    ","Is64","tor_interface::tor_provider::CircuitToken"],["
    §

    impl NotAutoValue for usize

    ","NotAutoValue","tor_interface::tor_provider::CircuitToken"],["
    §

    impl NumericOps for usize

    ","NumericOps","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl SimdCast for usize

    ","SimdCast","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl StructuralPartialEq for usize

    ","StructuralPartialEq","tor_interface::tor_provider::CircuitToken"],["
    §

    impl TruncateTarget<u16> for usize

    ","TruncateTarget","tor_interface::tor_provider::CircuitToken"],["
    §

    impl TruncateTarget<u8> for usize

    ","TruncateTarget","tor_interface::tor_provider::CircuitToken"],["
    §

    impl TruncateTarget<usize> for usize

    ","TruncateTarget","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl TrustedStep for usize

    ","TrustedStep","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Uint for usize

    ","Uint","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Unsigned for usize

    ","Unsigned","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Weight for usize

    ","Weight","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ZeroablePrimitive for usize

    ","ZeroablePrimitive","tor_interface::tor_provider::CircuitToken"]] +"tor_interface":[["
    §

    impl<T> Accumulate<T> for usize

    §

    fn initial(_capacity: Option<usize>) -> usize

    Create a new Extend of the correct type
    §

    fn accumulate(&mut self, _acc: T)

    Accumulate the input into an accumulator
    ","Accumulate","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Add<&'a BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the + operator.
    source§

    fn add(self, other: &BigInt) -> BigInt

    Performs the + operation. Read more
    ","Add<&'a BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Add<&BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the + operator.
    source§

    fn add(self, other: &BigInt) -> BigInt

    Performs the + operation. Read more
    ","Add<&BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Add<&'a BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the + operator.
    source§

    fn add(self, other: &BigUint) -> BigUint

    Performs the + operation. Read more
    ","Add<&'a BigUint>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Add<&BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the + operator.
    source§

    fn add(self, other: &BigUint) -> BigUint

    Performs the + operation. Read more
    ","Add<&BigUint>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Add<&usize> for usize

    §

    type Output = <usize as Add>::Output

    The resulting type after applying the + operator.
    source§

    fn add(self, other: &usize) -> <usize as Add>::Output

    Performs the + operation. Read more
    ","Add<&usize>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Add<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the + operator.
    source§

    fn add(self, other: BigInt) -> BigInt

    Performs the + operation. Read more
    ","Add","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Add<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the + operator.
    source§

    fn add(self, other: BigInt) -> BigInt

    Performs the + operation. Read more
    ","Add","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Add<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the + operator.
    source§

    fn add(self, other: BigUint) -> BigUint

    Performs the + operation. Read more
    ","Add","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Add<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the + operator.
    source§

    fn add(self, other: BigUint) -> BigUint

    Performs the + operation. Read more
    ","Add","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Add for usize

    §

    type Output = usize

    The resulting type after applying the + operator.
    source§

    fn add(self, other: usize) -> usize

    Performs the + operation. Read more
    ","Add","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl AddAssign<&usize> for usize

    source§

    fn add_assign(&mut self, other: &usize)

    Performs the += operation. Read more
    ","AddAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl AddAssign for usize

    source§

    fn add_assign(&mut self, other: usize)

    Performs the += operation. Read more
    ","AddAssign","tor_interface::tor_provider::CircuitToken"],["
    §

    impl AsAny for usize

    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Returns thick pointer of &dyn Any type, that can be later downcasted\nback to a reference of the original type.
    ","AsAny","tor_interface::tor_provider::CircuitToken"],["
    §

    impl AsBytes for usize

    §

    fn as_bytes(&self) -> &[u8]

    Gets the bytes of this value. Read more
    §

    fn as_bytes_mut(&mut self) -> &mut [u8]
    where\n Self: FromBytes,

    Gets the bytes of this value mutably. Read more
    §

    fn write_to(&self, bytes: &mut [u8]) -> Option<()>

    Writes a copy of self to bytes. Read more
    §

    fn write_to_prefix(&self, bytes: &mut [u8]) -> Option<()>

    Writes a copy of self to the prefix of bytes. Read more
    §

    fn write_to_suffix(&self, bytes: &mut [u8]) -> Option<()>

    Writes a copy of self to the suffix of bytes. Read more
    ","AsBytes","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<f32> for usize

    source§

    fn as_(self) -> f32

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<f64> for usize

    source§

    fn as_(self) -> f64

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<i128> for usize

    source§

    fn as_(self) -> i128

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<i16> for usize

    source§

    fn as_(self) -> i16

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<i32> for usize

    source§

    fn as_(self) -> i32

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<i64> for usize

    source§

    fn as_(self) -> i64

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<i8> for usize

    source§

    fn as_(self) -> i8

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<isize> for usize

    source§

    fn as_(self) -> isize

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<u128> for usize

    source§

    fn as_(self) -> u128

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<u16> for usize

    source§

    fn as_(self) -> u16

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<u32> for usize

    source§

    fn as_(self) -> u32

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<u64> for usize

    source§

    fn as_(self) -> u64

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<u8> for usize

    source§

    fn as_(self) -> u8

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl AsPrimitive<usize> for usize

    source§

    fn as_(self) -> usize

    Convert a value to another, using the as operator.
    ","AsPrimitive","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Binary for usize

    source§

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

    Formats the value using the given formatter. Read more
    ","Binary","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl BitAnd<&usize> for usize

    §

    type Output = <usize as BitAnd>::Output

    The resulting type after applying the & operator.
    source§

    fn bitand(self, other: &usize) -> <usize as BitAnd>::Output

    Performs the & operation. Read more
    ","BitAnd<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl BitAnd for usize

    §

    type Output = usize

    The resulting type after applying the & operator.
    source§

    fn bitand(self, rhs: usize) -> usize

    Performs the & operation. Read more
    ","BitAnd","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl BitAndAssign<&usize> for usize

    source§

    fn bitand_assign(&mut self, other: &usize)

    Performs the &= operation. Read more
    ","BitAndAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl BitAndAssign for usize

    source§

    fn bitand_assign(&mut self, other: usize)

    Performs the &= operation. Read more
    ","BitAndAssign","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl BitOr<&usize> for usize

    §

    type Output = <usize as BitOr>::Output

    The resulting type after applying the | operator.
    source§

    fn bitor(self, other: &usize) -> <usize as BitOr>::Output

    Performs the | operation. Read more
    ","BitOr<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl BitOr for usize

    §

    type Output = usize

    The resulting type after applying the | operator.
    source§

    fn bitor(self, rhs: usize) -> usize

    Performs the | operation. Read more
    ","BitOr","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl BitOrAssign<&usize> for usize

    source§

    fn bitor_assign(&mut self, other: &usize)

    Performs the |= operation. Read more
    ","BitOrAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl BitOrAssign for usize

    source§

    fn bitor_assign(&mut self, other: usize)

    Performs the |= operation. Read more
    ","BitOrAssign","tor_interface::tor_provider::CircuitToken"],["
    §

    impl BitRegister for usize

    §

    const ALL: usize = 18_446_744_073_709_551_615usize

    The literal !0.
    §

    const INDX: u8 = _

    The number of bits required to store an index in the range 0 .. BITS.
    §

    const MASK: u8 = _

    A mask over all bits that can be used as an index within the element.\nThis is the value with the least significant INDX-many bits set high.
    ","BitRegister","tor_interface::tor_provider::CircuitToken"],["
    §

    impl<'a, T, O> BitSliceIndex<'a, T, O> for usize
    where\n T: BitStore,\n O: BitOrder,

    §

    type Immut = BitRef<'a, Const, T, O>

    The output type of immutable access.
    §

    type Mut = BitRef<'a, Mut, T, O>

    The output type of mutable access.
    §

    fn get(\n self,\n bits: &'a BitSlice<T, O>,\n) -> Option<<usize as BitSliceIndex<'a, T, O>>::Immut>

    Immutably indexes into a bit-slice, returning None if self is out of\nbounds. Read more
    §

    fn get_mut(\n self,\n bits: &'a mut BitSlice<T, O>,\n) -> Option<<usize as BitSliceIndex<'a, T, O>>::Mut>

    Mutably indexes into a bit-slice, returning None if self is out of\nbounds. Read more
    §

    unsafe fn get_unchecked(\n self,\n bits: &'a BitSlice<T, O>,\n) -> <usize as BitSliceIndex<'a, T, O>>::Immut

    Immutably indexes into a bit-slice without doing any bounds checking. Read more
    §

    unsafe fn get_unchecked_mut(\n self,\n bits: &'a mut BitSlice<T, O>,\n) -> <usize as BitSliceIndex<'a, T, O>>::Mut

    Mutably indexes into a bit-slice without doing any bounds checking. Read more
    §

    fn index(\n self,\n bits: &'a BitSlice<T, O>,\n) -> <usize as BitSliceIndex<'a, T, O>>::Immut

    Immutably indexes into a bit-slice, panicking if self is out of\nbounds. Read more
    §

    fn index_mut(\n self,\n bits: &'a mut BitSlice<T, O>,\n) -> <usize as BitSliceIndex<'a, T, O>>::Mut

    Mutably indexes into a bit-slice, panicking if self is out of bounds. Read more
    ","BitSliceIndex<'a, T, O>","tor_interface::tor_provider::CircuitToken"],["
    §

    impl BitStore for usize

    §

    type Access = Cell<usize>

    The unsigned integers will only be BitStore type parameters\nfor handles to unaliased memory, following the normal Rust\nreference rules.

    \n
    §

    type Mem = usize

    The element type used in the memory region underlying a BitSlice. It\nis always one of the unsigned integer fundamentals.
    §

    type Alias = BitSafeUsize

    A sibling BitStore implementor that is known to be alias-safe. It is\nused when a BitSlice introduces multiple handles that view the same\nmemory location, and at least one of them has write capabilities to it.\nIt must have the same underlying memory type, and can only change access\npatterns or public-facing usage.
    §

    type Unalias = usize

    The inverse of ::Alias. It is used when a BitSlice removes the\nconditions that required a T -> T::Alias transition.
    §

    const ZERO: usize = 0usize

    The zero constant.
    §

    fn new(value: <usize as BitStore>::Mem) -> usize

    Wraps a raw memory value as a BitStore type.
    §

    fn load_value(&self) -> <usize as BitStore>::Mem

    Loads a value out of the memory system according to the ::Access\nrules. This may be called when the value is aliased by a write-capable\nreference.
    §

    fn store_value(&mut self, value: <usize as BitStore>::Mem)

    Stores a value into the memory system. This is only called when there\nare no other handles to the value, and it may bypass ::Access\nconstraints.
    §

    const ALIGNED_TO_SIZE: [(); 1] = _

    All implementors are required to have their alignment match their size. Read more
    §

    const ALIAS_WIDTH: [(); 1] = _

    All implementors are required to have Self and Self::Alias be equal\nin representation. This is true by fiat for all types except the\nunsigned integers. Read more
    §

    fn get_bit<O>(&self, index: BitIdx<Self::Mem>) -> bool
    where\n O: BitOrder,

    Reads a single bit out of the memory system according to the ::Access\nrules. This is lifted from BitAccess so that it can be used\nelsewhere without additional casts. Read more
    ","BitStore","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl BitXor<&usize> for usize

    §

    type Output = <usize as BitXor>::Output

    The resulting type after applying the ^ operator.
    source§

    fn bitxor(self, other: &usize) -> <usize as BitXor>::Output

    Performs the ^ operation. Read more
    ","BitXor<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl BitXor for usize

    §

    type Output = usize

    The resulting type after applying the ^ operator.
    source§

    fn bitxor(self, other: usize) -> usize

    Performs the ^ operation. Read more
    ","BitXor","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl BitXorAssign<&usize> for usize

    source§

    fn bitxor_assign(&mut self, other: &usize)

    Performs the ^= operation. Read more
    ","BitXorAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl BitXorAssign for usize

    source§

    fn bitxor_assign(&mut self, other: usize)

    Performs the ^= operation. Read more
    ","BitXorAssign","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Bits for usize

    §

    const EMPTY: usize = 0usize

    A value with all bits unset.
    §

    const ALL: usize = 18_446_744_073_709_551_615usize

    A value with all bits set.
    ","Bits","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Bounded for usize

    source§

    fn min_value() -> usize

    Returns the smallest finite number this type can represent
    source§

    fn max_value() -> usize

    Returns the largest finite number this type can represent
    ","Bounded","tor_interface::tor_provider::CircuitToken"],["
    §

    impl CastSigned for usize

    §

    type Signed = isize

    The signed integer type with the same size as Self.
    §

    fn cast_signed(self) -> <usize as CastSigned>::Signed

    Cast an integer to the signed integer of the same size.
    ","CastSigned","tor_interface::tor_provider::CircuitToken"],["
    §

    impl CastUnsigned for usize

    §

    type Unsigned = usize

    The unsigned integer type with the same size as Self.
    §

    fn cast_unsigned(self) -> <usize as CastUnsigned>::Unsigned

    Cast an integer to the unsigned integer of the same size.
    ","CastUnsigned","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl CheckedAdd for usize

    source§

    fn checked_add(&self, v: &usize) -> Option<usize>

    Adds two numbers, checking for overflow. If overflow happens, None is\nreturned.
    ","CheckedAdd","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl CheckedDiv for usize

    source§

    fn checked_div(&self, v: &usize) -> Option<usize>

    Divides two numbers, checking for underflow, overflow and division by\nzero. If any of that happens, None is returned.
    ","CheckedDiv","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl CheckedEuclid for usize

    source§

    fn checked_div_euclid(&self, v: &usize) -> Option<usize>

    Performs euclid division that returns None instead of panicking on division by zero\nand instead of wrapping around on underflow and overflow.
    source§

    fn checked_rem_euclid(&self, v: &usize) -> Option<usize>

    Finds the euclid remainder of dividing two numbers, checking for underflow, overflow and\ndivision by zero. If any of that happens, None is returned.
    source§

    fn checked_div_rem_euclid(&self, v: &Self) -> Option<(Self, Self)>

    Returns both the quotient and remainder from checked Euclidean division. Read more
    ","CheckedEuclid","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl CheckedMul for usize

    source§

    fn checked_mul(&self, v: &usize) -> Option<usize>

    Multiplies two numbers, checking for underflow or overflow. If underflow\nor overflow happens, None is returned.
    ","CheckedMul","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl CheckedNeg for usize

    source§

    fn checked_neg(&self) -> Option<usize>

    Negates a number, returning None for results that can’t be represented, like signed MIN\nvalues that can’t be positive, or non-zero unsigned values that can’t be negative. Read more
    ","CheckedNeg","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl CheckedRem for usize

    source§

    fn checked_rem(&self, v: &usize) -> Option<usize>

    Finds the remainder of dividing two numbers, checking for underflow, overflow and division\nby zero. If any of that happens, None is returned. Read more
    ","CheckedRem","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl CheckedShl for usize

    source§

    fn checked_shl(&self, rhs: u32) -> Option<usize>

    Checked shift left. Computes self << rhs, returning None\nif rhs is larger than or equal to the number of bits in self. Read more
    ","CheckedShl","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl CheckedShr for usize

    source§

    fn checked_shr(&self, rhs: u32) -> Option<usize>

    Checked shift right. Computes self >> rhs, returning None\nif rhs is larger than or equal to the number of bits in self. Read more
    ","CheckedShr","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl CheckedSub for usize

    source§

    fn checked_sub(&self, v: &usize) -> Option<usize>

    Subtracts two numbers, checking for underflow. If underflow happens,\nNone is returned.
    ","CheckedSub","tor_interface::tor_provider::CircuitToken"],["
    §

    impl<T> CheckedSum<usize> for T
    where\n T: IntoIterator<Item = usize>,

    §

    fn checked_sum(self) -> Result<usize, Error>

    Iterate over the values of this type, computing a checked sum. Read more
    ","CheckedSum","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Clone for usize

    source§

    fn clone(&self) -> usize

    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
    ","Clone","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ConstOne for usize

    source§

    const ONE: usize = 1usize

    The multiplicative identity element of Self, 1.
    ","ConstOne","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ConstZero for usize

    source§

    const ZERO: usize = 0usize

    The additive identity element of Self, 0.
    ","ConstZero","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ConstantTimeEq for usize

    source§

    fn ct_eq(&self, other: &usize) -> Choice

    Determine if two items are equal. Read more
    source§

    fn ct_ne(&self, other: &Self) -> Choice

    Determine if two items are NOT equal. Read more
    ","ConstantTimeEq","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Debug for usize

    source§

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

    Formats the value using the given formatter. Read more
    ","Debug","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Decode for usize

    Decode a usize.

    \n

    Uses [Decode] impl on u32 and then converts to a usize, handling\npotential overflow if usize is smaller than u32.

    \n

    Enforces a library-internal limit of 1048575, as the main use case for\nusize is length prefixes.

    \n
    §

    type Error = Error

    Type returned in the event of a decoding error.
    §

    fn decode(reader: &mut impl Reader) -> Result<usize, Error>

    Attempt to decode a value of this type using the provided [Reader].
    ","Decode","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Default for usize

    source§

    fn default() -> usize

    Returns the default value of 0

    \n
    ","Default","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'de> Deserialize<'de> for usize

    source§

    fn deserialize<D>(\n deserializer: D,\n) -> Result<usize, <D as Deserializer<'de>>::Error>
    where\n D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    ","Deserialize<'de>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Display for usize

    source§

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

    Formats the value using the given formatter. Read more
    ","Display","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Div<&'a BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the / operator.
    source§

    fn div(self, other: &BigInt) -> BigInt

    Performs the / operation. Read more
    ","Div<&'a BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Div<&BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the / operator.
    source§

    fn div(self, other: &BigInt) -> BigInt

    Performs the / operation. Read more
    ","Div<&BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Div<&'a BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the / operator.
    source§

    fn div(self, other: &BigUint) -> BigUint

    Performs the / operation. Read more
    ","Div<&'a BigUint>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Div<&BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the / operator.
    source§

    fn div(self, other: &BigUint) -> BigUint

    Performs the / operation. Read more
    ","Div<&BigUint>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Div<&usize> for usize

    §

    type Output = <usize as Div>::Output

    The resulting type after applying the / operator.
    source§

    fn div(self, other: &usize) -> <usize as Div>::Output

    Performs the / operation. Read more
    ","Div<&usize>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Div<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the / operator.
    source§

    fn div(self, other: BigInt) -> BigInt

    Performs the / operation. Read more
    ","Div","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Div<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the / operator.
    source§

    fn div(self, other: BigInt) -> BigInt

    Performs the / operation. Read more
    ","Div","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Div<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the / operator.
    source§

    fn div(self, other: BigUint) -> BigUint

    Performs the / operation. Read more
    ","Div","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Div<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the / operator.
    source§

    fn div(self, other: BigUint) -> BigUint

    Performs the / operation. Read more
    ","Div","tor_interface::tor_provider::CircuitToken"],["
    1.51.0 · source§

    impl Div<NonZero<usize>> for usize

    source§

    fn div(self, other: NonZero<usize>) -> usize

    This operation rounds towards zero, truncating any fractional\npart of the exact result, and cannot panic.

    \n
    §

    type Output = usize

    The resulting type after applying the / operator.
    ","Div>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Div for usize

    This operation rounds towards zero, truncating any\nfractional part of the exact result.

    \n

    §Panics

    \n

    This operation will panic if other == 0.

    \n
    §

    type Output = usize

    The resulting type after applying the / operator.
    source§

    fn div(self, other: usize) -> usize

    Performs the / operation. Read more
    ","Div","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl DivAssign<&usize> for usize

    source§

    fn div_assign(&mut self, other: &usize)

    Performs the /= operation. Read more
    ","DivAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.79.0 · source§

    impl DivAssign<NonZero<usize>> for usize

    source§

    fn div_assign(&mut self, other: NonZero<usize>)

    This operation rounds towards zero, truncating any fractional\npart of the exact result, and cannot panic.

    \n
    ","DivAssign>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl DivAssign for usize

    source§

    fn div_assign(&mut self, other: usize)

    Performs the /= operation. Read more
    ","DivAssign","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Encode for usize

    Encode a usize as a uint32 as described in RFC4251 § 5.

    \n

    Uses [Encode] impl on u32 after converting from a usize, handling\npotential overflow if usize is bigger than u32.

    \n
    §

    fn encoded_len(&self) -> Result<usize, Error>

    Get the length of this type encoded in bytes, prior to Base64 encoding.
    §

    fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>

    Encode this value using the provided [Writer].
    §

    fn encoded_len_prefixed(&self) -> Result<usize, Error>

    Return the length of this type after encoding when prepended with a\nuint32 length prefix.
    §

    fn encode_prefixed(&self, writer: &mut impl Writer) -> Result<(), Error>

    Encode this value, first prepending a uint32 length prefix\nset to [Encode::encoded_len].
    ","Encode","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Euclid for usize

    source§

    fn div_euclid(&self, v: &usize) -> usize

    Calculates Euclidean division, the matching method for rem_euclid. Read more
    source§

    fn rem_euclid(&self, v: &usize) -> usize

    Calculates the least nonnegative remainder of self (mod v). Read more
    source§

    fn div_rem_euclid(&self, v: &Self) -> (Self, Self)

    Returns both the quotient and remainder from Euclidean division. Read more
    ","Euclid","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl FmtConst for usize

    source§

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

    Print a const expression representing this value.
    ","FmtConst","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl From<Alignment> for usize

    source§

    fn from(align: Alignment) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<ByteQty> for usize

    §

    fn from(value: ByteQty) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<HopNum> for usize

    §

    fn from(hop: HopNum) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<HsDirPos> for usize

    §

    fn from(value: HsDirPos) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<IntroPtIndex> for usize

    §

    fn from(value: IntroPtIndex) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl<const MIN: usize, const MAX: usize> From<RangedUsize<MIN, MAX>> for usize

    §

    fn from(value: RangedUsize<MIN, MAX>) -> usize

    Converts to this type from the input type.
    ","From>","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<RouterStatusIdx> for usize

    §

    fn from(value: RouterStatusIdx) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<State> for usize

    §

    fn from(src: State) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<Token> for usize

    §

    fn from(val: Token) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<Token> for usize

    §

    fn from(val: Token) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl<O> From<U16<O>> for usize
    where\n O: ByteOrder,

    §

    fn from(x: U16<O>) -> usize

    Converts to this type from the input type.
    ","From>","tor_interface::tor_provider::CircuitToken"],["
    1.28.0 · source§

    impl From<bool> for usize

    source§

    fn from(small: bool) -> usize

    Converts a bool to usize losslessly.\nThe resulting value is 0 for false and 1 for true values.

    \n
    §Examples
    \n
    assert_eq!(usize::from(true), 1);\nassert_eq!(usize::from(false), 0);
    \n
    ","From","tor_interface::tor_provider::CircuitToken"],["
    1.26.0 · source§

    impl From<u16> for usize

    source§

    fn from(small: u16) -> usize

    Converts u16 to usize losslessly.

    \n
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<u24> for usize

    §

    fn from(val: u24) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<u40> for usize

    §

    fn from(val: u40) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<u48> for usize

    §

    fn from(val: u48) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    §

    impl From<u56> for usize

    §

    fn from(val: u56) -> usize

    Converts to this type from the input type.
    ","From","tor_interface::tor_provider::CircuitToken"],["
    1.5.0 · source§

    impl From<u8> for usize

    source§

    fn from(small: u8) -> usize

    Converts u8 to usize losslessly.

    \n
    ","From","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl FromBytes for usize

    §

    type Bytes = [u8; 8]

    source§

    fn from_be_bytes(bytes: &<usize as FromBytes>::Bytes) -> usize

    Create a number from its representation as a byte array in big endian. Read more
    source§

    fn from_le_bytes(bytes: &<usize as FromBytes>::Bytes) -> usize

    Create a number from its representation as a byte array in little endian. Read more
    source§

    fn from_ne_bytes(bytes: &<usize as FromBytes>::Bytes) -> usize

    Create a number from its memory representation as a byte array in native endianness. Read more
    ","FromBytes","tor_interface::tor_provider::CircuitToken"],["
    §

    impl FromBytes for usize

    §

    fn ref_from(bytes: &[u8]) -> Option<&Self>
    where\n Self: Sized,

    Interprets the given bytes as a &Self without copying. Read more
    §

    fn ref_from_prefix(bytes: &[u8]) -> Option<&Self>
    where\n Self: Sized,

    Interprets the prefix of the given bytes as a &Self without copying. Read more
    §

    fn ref_from_suffix(bytes: &[u8]) -> Option<&Self>
    where\n Self: Sized,

    Interprets the suffix of the given bytes as a &Self without copying. Read more
    §

    fn mut_from(bytes: &mut [u8]) -> Option<&mut Self>
    where\n Self: Sized + AsBytes,

    Interprets the given bytes as a &mut Self without copying. Read more
    §

    fn mut_from_prefix(bytes: &mut [u8]) -> Option<&mut Self>
    where\n Self: Sized + AsBytes,

    Interprets the prefix of the given bytes as a &mut Self without\ncopying. Read more
    §

    fn mut_from_suffix(bytes: &mut [u8]) -> Option<&mut Self>
    where\n Self: Sized + AsBytes,

    Interprets the suffix of the given bytes as a &mut Self without copying. Read more
    §

    fn slice_from(bytes: &[u8]) -> Option<&[Self]>
    where\n Self: Sized,

    Interprets the given bytes as a &[Self] without copying. Read more
    §

    fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>
    where\n Self: Sized,

    Interprets the prefix of the given bytes as a &[Self] with length\nequal to count without copying. Read more
    §

    fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>
    where\n Self: Sized,

    Interprets the suffix of the given bytes as a &[Self] with length\nequal to count without copying. Read more
    §

    fn mut_slice_from(bytes: &mut [u8]) -> Option<&mut [Self]>
    where\n Self: Sized + AsBytes,

    Interprets the given bytes as a &mut [Self] without copying. Read more
    §

    fn mut_slice_from_prefix(\n bytes: &mut [u8],\n count: usize,\n) -> Option<(&mut [Self], &mut [u8])>
    where\n Self: Sized + AsBytes,

    Interprets the prefix of the given bytes as a &mut [Self] with length\nequal to count without copying. Read more
    §

    fn mut_slice_from_suffix(\n bytes: &mut [u8],\n count: usize,\n) -> Option<(&mut [u8], &mut [Self])>
    where\n Self: Sized + AsBytes,

    Interprets the suffix of the given bytes as a &mut [Self] with length\nequal to count without copying. Read more
    §

    fn read_from(bytes: &[u8]) -> Option<Self>
    where\n Self: Sized,

    Reads a copy of Self from bytes. Read more
    §

    fn read_from_prefix(bytes: &[u8]) -> Option<Self>
    where\n Self: Sized,

    Reads a copy of Self from the prefix of bytes. Read more
    §

    fn read_from_suffix(bytes: &[u8]) -> Option<Self>
    where\n Self: Sized,

    Reads a copy of Self from the suffix of bytes. Read more
    ","FromBytes","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl FromPrimitive for usize

    source§

    fn from_isize(n: isize) -> Option<usize>

    Converts an isize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_i8(n: i8) -> Option<usize>

    Converts an i8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_i16(n: i16) -> Option<usize>

    Converts an i16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_i32(n: i32) -> Option<usize>

    Converts an i32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_i64(n: i64) -> Option<usize>

    Converts an i64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_i128(n: i128) -> Option<usize>

    Converts an i128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
    source§

    fn from_usize(n: usize) -> Option<usize>

    Converts a usize to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_u8(n: u8) -> Option<usize>

    Converts an u8 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_u16(n: u16) -> Option<usize>

    Converts an u16 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_u32(n: u32) -> Option<usize>

    Converts an u32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_u64(n: u64) -> Option<usize>

    Converts an u64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_u128(n: u128) -> Option<usize>

    Converts an u128 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
    source§

    fn from_f32(n: f32) -> Option<usize>

    Converts a f32 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned.
    source§

    fn from_f64(n: f64) -> Option<usize>

    Converts a f64 to return an optional value of this type. If the\nvalue cannot be represented by this type, then None is returned. Read more
    ","FromPrimitive","tor_interface::tor_provider::CircuitToken"],["
    §

    impl FromSql for usize

    §

    fn column_result(value: ValueRef<'_>) -> Result<usize, FromSqlError>

    Converts SQLite value into Rust value.
    ","FromSql","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl FromStr for usize

    §

    type Err = ParseIntError

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

    fn from_str(src: &str) -> Result<usize, ParseIntError>

    Parses a string s to return a value of this type. Read more
    ","FromStr","tor_interface::tor_provider::CircuitToken"],["
    §

    impl FromZeroes for usize

    §

    fn zero(&mut self)

    Overwrites self with zeroes. Read more
    §

    fn new_zeroed() -> Self
    where\n Self: Sized,

    Creates an instance of Self from zeroed bytes. Read more
    ","FromZeroes","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Fundamental for usize

    §

    fn as_bool(self) -> bool

    Tests self != 0.
    §

    fn as_char(self) -> Option<char>

    Represents self as a Unicode Scalar Value, if possible.
    §

    fn as_i8(self) -> i8

    Performs self as i8.
    §

    fn as_i16(self) -> i16

    Performs self as i16.
    §

    fn as_i32(self) -> i32

    Performs self as i32.
    §

    fn as_i64(self) -> i64

    Performs self as i64.
    §

    fn as_i128(self) -> i128

    Performs self as i128.
    §

    fn as_isize(self) -> isize

    Performs self as isize.
    §

    fn as_u8(self) -> u8

    Performs self as u8.
    §

    fn as_u16(self) -> u16

    Performs self as u16.
    §

    fn as_u32(self) -> u32

    Performs self as u32.
    §

    fn as_u64(self) -> u64

    Performs self as u64.
    §

    fn as_u128(self) -> u128

    Performs self as u128.
    §

    fn as_usize(self) -> usize

    Performs self as usize.
    §

    fn as_f32(self) -> f32

    Performs self as f32.
    §

    fn as_f64(self) -> f64

    Performs self as f64.
    ","Fundamental","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Hash for usize

    source§

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

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

    fn hash_slice<H>(data: &[usize], state: &mut H)
    where\n H: Hasher,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Integer for usize

    source§

    fn div_floor(&self, other: &usize) -> usize

    Unsigned integer division. Returns the same result as div (/).

    \n
    source§

    fn mod_floor(&self, other: &usize) -> usize

    Unsigned integer modulo operation. Returns the same result as rem (%).

    \n
    source§

    fn gcd(&self, other: &usize) -> usize

    Calculates the Greatest Common Divisor (GCD) of the number and other

    \n
    source§

    fn lcm(&self, other: &usize) -> usize

    Calculates the Lowest Common Multiple (LCM) of the number and other.

    \n
    source§

    fn gcd_lcm(&self, other: &usize) -> (usize, usize)

    Calculates the Greatest Common Divisor (GCD) and\nLowest Common Multiple (LCM) of the number and other.

    \n
    source§

    fn is_multiple_of(&self, other: &usize) -> bool

    Returns true if the number is a multiple of other.

    \n
    source§

    fn is_even(&self) -> bool

    Returns true if the number is divisible by 2.

    \n
    source§

    fn is_odd(&self) -> bool

    Returns true if the number is not divisible by 2.

    \n
    source§

    fn div_rem(&self, other: &usize) -> (usize, usize)

    Simultaneous truncated integer division and modulus.

    \n
    source§

    fn div_ceil(&self, other: &usize) -> usize

    Ceiled integer division. Read more
    source§

    fn extended_gcd_lcm(&self, other: &usize) -> (ExtendedGcd<usize>, usize)

    Greatest common divisor, least common multiple, and Bézout coefficients.
    source§

    fn extended_gcd(&self, other: &Self) -> ExtendedGcd<Self>
    where\n Self: Clone,

    Greatest common divisor and Bézout coefficients. Read more
    source§

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

    👎Deprecated: Please use is_multiple_of instead
    Deprecated, use is_multiple_of instead.
    source§

    fn div_mod_floor(&self, other: &Self) -> (Self, Self)

    Simultaneous floored integer division and modulus.\nReturns (quotient, remainder). Read more
    source§

    fn next_multiple_of(&self, other: &Self) -> Self
    where\n Self: Clone,

    Rounds up to nearest multiple of argument. Read more
    source§

    fn prev_multiple_of(&self, other: &Self) -> Self
    where\n Self: Clone,

    Rounds down to nearest multiple of argument. Read more
    source§

    fn dec(&mut self)
    where\n Self: Clone,

    Decrements self by one. Read more
    source§

    fn inc(&mut self)
    where\n Self: Clone,

    Increments self by one. Read more
    ","Integer","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Integral for usize

    §

    const ZERO: usize = 0usize

    The type’s zero value.
    §

    const ONE: usize = 1usize

    The type’s step value.
    §

    const MIN: usize = 0usize

    The type’s minimum value. This is zero for unsigned integers.
    §

    const MAX: usize = 18_446_744_073_709_551_615usize

    The type’s maximum value.
    §

    const BITS: u32 = 64u32

    The size of this type in bits.
    §

    fn min_value() -> usize

    Returns the smallest value that can be represented by this integer type.
    §

    fn max_value() -> usize

    Returns the largest value that can be represented by this integer type.
    §

    fn from_str_radix(src: &str, radix: u32) -> Result<usize, ParseIntError>

    Converts a string slice in a given base to an integer. Read more
    §

    fn count_ones(self) -> u32

    Returns the number of ones in the binary representation of self.
    §

    fn count_zeros(self) -> u32

    Returns the number of zeros in the binary representation of self.
    §

    fn leading_zeros(self) -> u32

    Returns the number of leading zeros in the binary representation of\nself.
    §

    fn trailing_zeros(self) -> u32

    Returns the number of trailing zeros in the binary representation of\nself.
    §

    fn leading_ones(self) -> u32

    Returns the number of leading ones in the binary representation of\nself.
    §

    fn trailing_ones(self) -> u32

    Returns the number of trailing ones in the binary representation of\nself.
    §

    fn rotate_left(self, n: u32) -> usize

    Shifts the bits to the left by a specified amount, n, wrapping the\ntruncated bits to the end of the resulting integer. Read more
    §

    fn rotate_right(self, n: u32) -> usize

    Shifts the bits to the right by a specified amount, n, wrapping the\ntruncated bits to the beginning of the resulting integer. Read more
    §

    fn swap_bytes(self) -> usize

    Reverses the byte order of the integer.
    §

    fn reverse_bits(self) -> usize

    Reverses the bit pattern of the integer.
    §

    fn from_be(self) -> usize

    Converts an integer from big endian to the target’s endianness. Read more
    §

    fn from_le(self) -> usize

    Converts an integer frm little endian to the target’s endianness. Read more
    §

    fn to_be(self) -> usize

    Converts self to big endian from the target’s endianness. Read more
    §

    fn to_le(self) -> usize

    Converts self to little endian from the target’s endianness. Read more
    §

    fn checked_add(self, rhs: usize) -> Option<usize>

    Checked integer addition. Computes self + rhs, returning None if\noverflow occurred.
    §

    fn checked_sub(self, rhs: usize) -> Option<usize>

    Checked integer subtraction. Computes self - rhs, returning None if\noverflow occurred.
    §

    fn checked_mul(self, rhs: usize) -> Option<usize>

    Checked integer multiplication. Computes self * rhs, returning None\nif overflow occurred.
    §

    fn checked_div(self, rhs: usize) -> Option<usize>

    Checked integer division. Computes self / rhs, returning None if\nrhs == 0 or the division results in overflow.
    §

    fn checked_div_euclid(self, rhs: usize) -> Option<usize>

    Checked Euclidean division. Computes self.div_euclid(rhs), returning\nNone if rhs == 0 or the division results in overflow.
    §

    fn checked_rem(self, rhs: usize) -> Option<usize>

    Checked integer remainder. Computes self % rhs, returning None if\nrhs == 0 or the division results in overflow.
    §

    fn checked_rem_euclid(self, rhs: usize) -> Option<usize>

    Checked Euclidean remainder. Computes self.rem_euclid(rhs), returning\nNone if rhs == 0 or the division results in overflow.
    §

    fn checked_neg(self) -> Option<usize>

    Checked negation. Computes -self, returning None if self == MIN. Read more
    §

    fn checked_shl(self, rhs: u32) -> Option<usize>

    Checked shift left. Computes self << rhs, returning None if rhs is\nlarger than or equal to the number of bits in self.
    §

    fn checked_shr(self, rhs: u32) -> Option<usize>

    Checked shift right. Computes self >> rhs, returning None if rhs\nis larger than or equal to the number of bits in self.
    §

    fn checked_pow(self, rhs: u32) -> Option<usize>

    Checked exponentiation. Computes self.pow(exp), returning None if\noverflow occurred.
    §

    fn saturating_add(self, rhs: usize) -> usize

    Saturating integer addition. Computes self + rhs, saturating at the\nnumeric bounds instead of overflowing.
    §

    fn saturating_sub(self, rhs: usize) -> usize

    Saturating integer subtraction. Computes self - rhs, saturating at the\nnumeric bounds instead of overflowing.
    §

    fn saturating_mul(self, rhs: usize) -> usize

    Saturating integer multiplication. Computes self * rhs, saturating at\nthe numeric bounds instead of overflowing.
    §

    fn saturating_pow(self, rhs: u32) -> usize

    Saturating integer exponentiation. Computes self.pow(exp), saturating\nat the numeric bounds instead of overflowing.
    §

    fn wrapping_add(self, rhs: usize) -> usize

    Wrapping (modular) addition. Computes self + rhs, wrapping around at\nthe boundary of the type.
    §

    fn wrapping_sub(self, rhs: usize) -> usize

    Wrapping (modular) subtraction. Computes self - rhs, wrapping around\nat the boundary of the type.
    §

    fn wrapping_mul(self, rhs: usize) -> usize

    Wrapping (modular) multiplication. Computes self * rhs, wrapping\naround at the boundary of the type.
    §

    fn wrapping_div(self, rhs: usize) -> usize

    Wrapping (modular) division. Computes self / rhs, wrapping around at\nthe boundary of the type. Read more
    §

    fn wrapping_div_euclid(self, rhs: usize) -> usize

    Wrapping Euclidean division. Computes self.div_euclid(rhs), wrapping\naround at the boundary of the type. Read more
    §

    fn wrapping_rem(self, rhs: usize) -> usize

    Wrapping (modular) remainder. Computes self % rhs, wrapping around at\nthe boundary of the type. Read more
    §

    fn wrapping_rem_euclid(self, rhs: usize) -> usize

    Wrapping Euclidean remainder. Computes self.rem_euclid(rhs), wrapping\naround at the boundary of the type. Read more
    §

    fn wrapping_neg(self) -> usize

    Wrapping (modular) negation. Computes -self, wrapping around at the\nboundary of the type. Read more
    §

    fn wrapping_shl(self, rhs: u32) -> usize

    Panic-free bitwise shift-left; yields self << mask(rhs), where mask\nremoves any high-order bits of rhs that would cause the shift to\nexceed the bit-width of the type. Read more
    §

    fn wrapping_shr(self, rhs: u32) -> usize

    Panic-free bitwise shift-right; yields self >> mask(rhs), where mask\nremoves any high-order bits of rhs that would cause the shift to\nexceed the bit-width of the type. Read more
    §

    fn wrapping_pow(self, rhs: u32) -> usize

    Wrapping (modular) exponentiation. Computes self.pow(exp), wrapping\naround at the boundary of the type.
    §

    fn overflowing_add(self, rhs: usize) -> (usize, bool)

    Calculates self + rhs Read more
    §

    fn overflowing_sub(self, rhs: usize) -> (usize, bool)

    Calculates self - rhs Read more
    §

    fn overflowing_mul(self, rhs: usize) -> (usize, bool)

    Calculates the multiplication of self and rhs. Read more
    §

    fn overflowing_div(self, rhs: usize) -> (usize, bool)

    Calculates the divisor when self is divided by rhs. Read more
    §

    fn overflowing_div_euclid(self, rhs: usize) -> (usize, bool)

    Calculates the quotient of Euclidean division self.div_euclid(rhs). Read more
    §

    fn overflowing_rem(self, rhs: usize) -> (usize, bool)

    Calculates the remainder when self is divided by rhs. Read more
    §

    fn overflowing_rem_euclid(self, rhs: usize) -> (usize, bool)

    Overflowing Euclidean remainder. Calculates self.rem_euclid(rhs). Read more
    §

    fn overflowing_neg(self) -> (usize, bool)

    Negates self, overflowing if this is equal to the minimum value. Read more
    §

    fn overflowing_shl(self, rhs: u32) -> (usize, bool)

    Shifts self left by rhs bits. Read more
    §

    fn overflowing_shr(self, rhs: u32) -> (usize, bool)

    Shifts self right by rhs bits. Read more
    §

    fn overflowing_pow(self, rhs: u32) -> (usize, bool)

    Raises self to the power of exp, using exponentiation by squaring. Read more
    §

    fn pow(self, rhs: u32) -> usize

    Raises self to the power of exp, using exponentiation by squaring.
    §

    fn div_euclid(self, rhs: usize) -> usize

    Calculates the quotient of Euclidean division of self by rhs. Read more
    §

    fn rem_euclid(self, rhs: usize) -> usize

    Calculates the least nonnegative remainder of self (mod rhs). Read more
    ","Integral","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl IntoBigInt for usize

    source§

    fn into_bigint(self) -> Option<BigInt>

    Converts the value of self to a BigInt.
    ","IntoBigInt","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl IntoBigUint for usize

    source§

    fn into_biguint(self) -> Option<BigUint>

    Converts the value of self to a BigUint.
    ","IntoBigUint","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'de, E> IntoDeserializer<'de, E> for usize
    where\n E: Error,

    §

    type Deserializer = UsizeDeserializer<E>

    The type of the deserializer being converted into.
    source§

    fn into_deserializer(self) -> UsizeDeserializer<E>

    Convert this value into a deserializer.
    ","IntoDeserializer<'de, E>","tor_interface::tor_provider::CircuitToken"],["
    §

    impl IntoNotification for usize

    §

    type Tag = ()

    The tag data associated with a notification. Read more
    §

    type Notify = Notify

    The notification type. Read more
    §

    fn into_notification(self) -> <usize as IntoNotification>::Notify

    Convert this value into a notification. Read more
    §

    fn additional(self) -> Additional<Self::Notify>
    where\n Self: Sized,

    Convert this value into an additional notification. Read more
    §

    fn relaxed(self) -> Relaxed<Self::Notify>
    where\n Self: Sized,

    Don’t emit a fence for this notification. Read more
    §

    fn tag<T>(self, tag: T) -> Tag<Self::Notify, T>
    where\n T: Clone,\n Self: Sized + IntoNotification<Tag = ()>,

    Use a tag with this notification. Read more
    §

    fn tag_with<T, F>(self, tag: F) -> TagWith<Self::Notify, F>
    where\n Self: Sized + IntoNotification<Tag = ()>,\n F: FnMut() -> T,

    Use a function to generate a tag with this notification. Read more
    ","IntoNotification","tor_interface::tor_provider::CircuitToken"],["
    1.42.0 · source§

    impl LowerExp for usize

    source§

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

    Formats the value using the given formatter. Read more
    ","LowerExp","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl LowerHex for usize

    source§

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

    Formats the value using the given formatter. Read more
    ","LowerHex","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Mul<&'a BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: &BigInt) -> BigInt

    Performs the * operation. Read more
    ","Mul<&'a BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Mul<&BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: &BigInt) -> BigInt

    Performs the * operation. Read more
    ","Mul<&BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Mul<&'a BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: &BigUint) -> BigUint

    Performs the * operation. Read more
    ","Mul<&'a BigUint>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Mul<&BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: &BigUint) -> BigUint

    Performs the * operation. Read more
    ","Mul<&BigUint>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Mul<&usize> for usize

    §

    type Output = <usize as Mul>::Output

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: &usize) -> <usize as Mul>::Output

    Performs the * operation. Read more
    ","Mul<&usize>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Mul<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: BigInt) -> BigInt

    Performs the * operation. Read more
    ","Mul","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Mul<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: BigInt) -> BigInt

    Performs the * operation. Read more
    ","Mul","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Mul<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: BigUint) -> BigUint

    Performs the * operation. Read more
    ","Mul","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Mul<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: BigUint) -> BigUint

    Performs the * operation. Read more
    ","Mul","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Mul for usize

    §

    type Output = usize

    The resulting type after applying the * operator.
    source§

    fn mul(self, other: usize) -> usize

    Performs the * operation. Read more
    ","Mul","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl MulAdd for usize

    §

    type Output = usize

    The resulting type after applying the fused multiply-add.
    source§

    fn mul_add(self, a: usize, b: usize) -> <usize as MulAdd>::Output

    Performs the fused multiply-add operation (self * a) + b
    ","MulAdd","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl MulAddAssign for usize

    source§

    fn mul_add_assign(&mut self, a: usize, b: usize)

    Performs the fused multiply-add assignment operation *self = (*self * a) + b
    ","MulAddAssign","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl MulAssign<&usize> for usize

    source§

    fn mul_assign(&mut self, other: &usize)

    Performs the *= operation. Read more
    ","MulAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl MulAssign for usize

    source§

    fn mul_assign(&mut self, other: usize)

    Performs the *= operation. Read more
    ","MulAssign","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Not for usize

    §

    type Output = usize

    The resulting type after applying the ! operator.
    source§

    fn not(self) -> usize

    Performs the unary ! operation. Read more
    ","Not","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Num for usize

    §

    type FromStrRadixErr = ParseIntError

    source§

    fn from_str_radix(s: &str, radix: u32) -> Result<usize, ParseIntError>

    Convert from a string and radix (typically 2..=36). Read more
    ","Num","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl NumCast for usize

    source§

    fn from<N>(n: N) -> Option<usize>
    where\n N: ToPrimitive,

    Creates a number from another value that can be converted into\na primitive via the ToPrimitive trait. If the source value cannot be\nrepresented by the target type, then None is returned. Read more
    ","NumCast","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Numeric for usize

    §

    type Bytes = [u8; 8]

    The [u8; N] byte array that stores values of Self.
    §

    fn to_be_bytes(self) -> <usize as Numeric>::Bytes

    Return the memory representation of this number as a byte array in\nbig-endian (network) byte order.
    §

    fn to_le_bytes(self) -> <usize as Numeric>::Bytes

    Return the memory representation of this number as a byte array in\nlittle-endian byte order.
    §

    fn to_ne_bytes(self) -> <usize as Numeric>::Bytes

    Return the memory representation of this number as a byte array in\nnative byte order.
    §

    fn from_be_bytes(bytes: <usize as Numeric>::Bytes) -> usize

    Create a numeric value from its representation as a byte array in big\nendian.
    §

    fn from_le_bytes(bytes: <usize as Numeric>::Bytes) -> usize

    Create a numeric value from its representation as a byte array in little\nendian.
    §

    fn from_ne_bytes(bytes: <usize as Numeric>::Bytes) -> usize

    Create a numeric value from its memory representation as a byte array in\nnative endianness.
    ","Numeric","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Octal for usize

    source§

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

    Formats the value using the given formatter. Read more
    ","Octal","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl One for usize

    source§

    fn one() -> usize

    Returns the multiplicative identity element of Self, 1. Read more
    source§

    fn is_one(&self) -> bool

    Returns true if self is equal to the multiplicative identity. Read more
    source§

    fn set_one(&mut self)

    Sets self to the multiplicative identity element of Self, 1.
    ","One","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Ord for usize

    source§

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

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

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

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

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    ","Ord","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl OverflowingAdd for usize

    source§

    fn overflowing_add(&self, v: &usize) -> (usize, bool)

    Returns a tuple of the sum along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
    ","OverflowingAdd","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl OverflowingMul for usize

    source§

    fn overflowing_mul(&self, v: &usize) -> (usize, bool)

    Returns a tuple of the product along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
    ","OverflowingMul","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl OverflowingSub for usize

    source§

    fn overflowing_sub(&self, v: &usize) -> (usize, bool)

    Returns a tuple of the difference along with a boolean indicating whether an arithmetic overflow would occur.\nIf an overflow would have occurred then the wrapped value is returned.
    ","OverflowingSub","tor_interface::tor_provider::CircuitToken"],["
    §

    impl ParseHex for usize

    §

    fn parse_hex(input: &str) -> Result<usize, ParseError>

    Parse the value from hex.
    ","ParseHex","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl PartialEq<Value> for usize

    source§

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

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

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

    This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
    ","PartialEq","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl PartialEq for usize

    source§

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

    This method tests for self and other values to be equal, and is used\nby ==.
    source§

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

    This method tests for !=. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.
    ","PartialEq","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl PartialOrd for usize

    source§

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

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

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

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

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

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

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

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

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

    This method tests greater than (for self and other) and is used by the > operator. Read more
    ","PartialOrd","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl PhfBorrow<usize> for usize

    source§

    fn borrow(&self) -> &usize

    Convert a reference to self to a reference to the borrowed type.
    ","PhfBorrow","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl PhfHash for usize

    source§

    fn phf_hash<H>(&self, state: &mut H)
    where\n H: Hasher,

    Feeds the value into the state given, updating the hasher as necessary.
    source§

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

    Feeds a slice of this type into the state provided.
    ","PhfHash","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Pow<&'a u16> for usize

    §

    type Output = usize

    The result after applying the operator.
    source§

    fn pow(self, rhs: &'a u16) -> usize

    Returns self to the power rhs. Read more
    ","Pow<&'a u16>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Pow<&'a u32> for usize

    §

    type Output = usize

    The result after applying the operator.
    source§

    fn pow(self, rhs: &'a u32) -> usize

    Returns self to the power rhs. Read more
    ","Pow<&'a u32>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Pow<&'a u8> for usize

    §

    type Output = usize

    The result after applying the operator.
    source§

    fn pow(self, rhs: &'a u8) -> usize

    Returns self to the power rhs. Read more
    ","Pow<&'a u8>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Pow<&'a usize> for usize

    §

    type Output = usize

    The result after applying the operator.
    source§

    fn pow(self, rhs: &'a usize) -> usize

    Returns self to the power rhs. Read more
    ","Pow<&'a usize>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<U> Pow<PInt<U>> for usize
    where\n U: Unsigned + NonZero,

    §

    type Output = usize

    The result of the exponentiation.
    source§

    fn powi(self, _: PInt<U>) -> <usize as Pow<PInt<U>>>::Output

    This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
    ","Pow>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<U, B> Pow<UInt<U, B>> for usize
    where\n U: Unsigned,\n B: Bit,

    §

    type Output = usize

    The result of the exponentiation.
    source§

    fn powi(self, _: UInt<U, B>) -> <usize as Pow<UInt<U, B>>>::Output

    This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
    ","Pow>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Pow<UTerm> for usize

    §

    type Output = usize

    The result of the exponentiation.
    source§

    fn powi(self, _: UTerm) -> <usize as Pow<UTerm>>::Output

    This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
    ","Pow","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Pow<Z0> for usize

    §

    type Output = usize

    The result of the exponentiation.
    source§

    fn powi(self, _: Z0) -> <usize as Pow<Z0>>::Output

    This function isn’t used in this crate, but may be useful for others.\nIt is implemented for primitives. Read more
    ","Pow","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Pow<u16> for usize

    §

    type Output = usize

    The result after applying the operator.
    source§

    fn pow(self, rhs: u16) -> usize

    Returns self to the power rhs. Read more
    ","Pow","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Pow<u32> for usize

    §

    type Output = usize

    The result after applying the operator.
    source§

    fn pow(self, rhs: u32) -> usize

    Returns self to the power rhs. Read more
    ","Pow","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Pow<u8> for usize

    §

    type Output = usize

    The result after applying the operator.
    source§

    fn pow(self, rhs: u8) -> usize

    Returns self to the power rhs. Read more
    ","Pow","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Pow<usize> for usize

    §

    type Output = usize

    The result after applying the operator.
    source§

    fn pow(self, rhs: usize) -> usize

    Returns self to the power rhs. Read more
    ","Pow","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl PrimInt for usize

    source§

    fn count_ones(self) -> u32

    Returns the number of ones in the binary representation of self. Read more
    source§

    fn count_zeros(self) -> u32

    Returns the number of zeros in the binary representation of self. Read more
    source§

    fn leading_ones(self) -> u32

    Returns the number of leading ones in the binary representation\nof self. Read more
    source§

    fn leading_zeros(self) -> u32

    Returns the number of leading zeros in the binary representation\nof self. Read more
    source§

    fn trailing_ones(self) -> u32

    Returns the number of trailing ones in the binary representation\nof self. Read more
    source§

    fn trailing_zeros(self) -> u32

    Returns the number of trailing zeros in the binary representation\nof self. Read more
    source§

    fn rotate_left(self, n: u32) -> usize

    Shifts the bits to the left by a specified amount, n, wrapping\nthe truncated bits to the end of the resulting integer. Read more
    source§

    fn rotate_right(self, n: u32) -> usize

    Shifts the bits to the right by a specified amount, n, wrapping\nthe truncated bits to the beginning of the resulting integer. Read more
    source§

    fn signed_shl(self, n: u32) -> usize

    Shifts the bits to the left by a specified amount, n, filling\nzeros in the least significant bits. Read more
    source§

    fn signed_shr(self, n: u32) -> usize

    Shifts the bits to the right by a specified amount, n, copying\nthe “sign bit” in the most significant bits even for unsigned types. Read more
    source§

    fn unsigned_shl(self, n: u32) -> usize

    Shifts the bits to the left by a specified amount, n, filling\nzeros in the least significant bits. Read more
    source§

    fn unsigned_shr(self, n: u32) -> usize

    Shifts the bits to the right by a specified amount, n, filling\nzeros in the most significant bits. Read more
    source§

    fn swap_bytes(self) -> usize

    Reverses the byte order of the integer. Read more
    source§

    fn reverse_bits(self) -> usize

    Reverses the order of bits in the integer. Read more
    source§

    fn from_be(x: usize) -> usize

    Convert an integer from big endian to the target’s endianness. Read more
    source§

    fn from_le(x: usize) -> usize

    Convert an integer from little endian to the target’s endianness. Read more
    source§

    fn to_be(self) -> usize

    Convert self to big endian from the target’s endianness. Read more
    source§

    fn to_le(self) -> usize

    Convert self to little endian from the target’s endianness. Read more
    source§

    fn pow(self, exp: u32) -> usize

    Raises self to the power of exp, using exponentiation by squaring. Read more
    ","PrimInt","tor_interface::tor_provider::CircuitToken"],["
    1.12.0 · source§

    impl<'a> Product<&'a usize> for usize

    source§

    fn product<I>(iter: I) -> usize
    where\n I: Iterator<Item = &'a usize>,

    Method which takes an iterator and generates Self from the elements by\nmultiplying the items.
    ","Product<&'a usize>","tor_interface::tor_provider::CircuitToken"],["
    1.12.0 · source§

    impl Product for usize

    source§

    fn product<I>(iter: I) -> usize
    where\n I: Iterator<Item = usize>,

    Method which takes an iterator and generates Self from the elements by\nmultiplying the items.
    ","Product","tor_interface::tor_provider::CircuitToken"],["
    §

    impl<R> RangeExt<usize> for R
    where\n R: RangeBounds<usize>,

    §

    fn normalize(\n self,\n start: impl Into<Option<usize>>,\n end: impl Into<Option<usize>>,\n) -> Range<usize>

    Normalizes a range-like type to a canonical half-open Range. Read more
    §

    fn intersection<R2>(self, other: R2) -> Option<Range<usize>>
    where\n R2: RangeExt<usize>,

    Finds the intersection between two range-likes. The produced Range\nspans only the elements common to both. Read more
    §

    fn union<R2>(self, other: R2) -> Option<Range<usize>>
    where\n R2: RangeExt<usize>,

    Finds the union between two range-likes. The produced Range spans all\nelements present in at least one of them. Read more
    ","RangeExt","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Rem<&'a BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: &BigInt) -> BigInt

    Performs the % operation. Read more
    ","Rem<&'a BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Rem<&BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: &BigInt) -> BigInt

    Performs the % operation. Read more
    ","Rem<&BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Rem<&'a BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: &BigUint) -> BigUint

    Performs the % operation. Read more
    ","Rem<&'a BigUint>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Rem<&BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: &BigUint) -> BigUint

    Performs the % operation. Read more
    ","Rem<&BigUint>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Rem<&usize> for usize

    §

    type Output = <usize as Rem>::Output

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: &usize) -> <usize as Rem>::Output

    Performs the % operation. Read more
    ","Rem<&usize>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Rem<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: BigInt) -> BigInt

    Performs the % operation. Read more
    ","Rem","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Rem<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: BigInt) -> BigInt

    Performs the % operation. Read more
    ","Rem","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Rem<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: BigUint) -> BigUint

    Performs the % operation. Read more
    ","Rem","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Rem<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: BigUint) -> BigUint

    Performs the % operation. Read more
    ","Rem","tor_interface::tor_provider::CircuitToken"],["
    1.51.0 · source§

    impl Rem<NonZero<usize>> for usize

    source§

    fn rem(self, other: NonZero<usize>) -> usize

    This operation satisfies n % d == n - (n / d) * d, and cannot panic.

    \n
    §

    type Output = usize

    The resulting type after applying the % operator.
    ","Rem>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Rem for usize

    This operation satisfies n % d == n - (n / d) * d. The\nresult has the same sign as the left operand.

    \n

    §Panics

    \n

    This operation will panic if other == 0.

    \n
    §

    type Output = usize

    The resulting type after applying the % operator.
    source§

    fn rem(self, other: usize) -> usize

    Performs the % operation. Read more
    ","Rem","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> RemAssign<&'a BigUint> for usize

    source§

    fn rem_assign(&mut self, other: &BigUint)

    Performs the %= operation. Read more
    ","RemAssign<&'a BigUint>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl RemAssign<&BigUint> for usize

    source§

    fn rem_assign(&mut self, other: &BigUint)

    Performs the %= operation. Read more
    ","RemAssign<&BigUint>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl RemAssign<&usize> for usize

    source§

    fn rem_assign(&mut self, other: &usize)

    Performs the %= operation. Read more
    ","RemAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl RemAssign<BigUint> for usize

    source§

    fn rem_assign(&mut self, other: BigUint)

    Performs the %= operation. Read more
    ","RemAssign","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl RemAssign<BigUint> for usize

    source§

    fn rem_assign(&mut self, other: BigUint)

    Performs the %= operation. Read more
    ","RemAssign","tor_interface::tor_provider::CircuitToken"],["
    1.79.0 · source§

    impl RemAssign<NonZero<usize>> for usize

    source§

    fn rem_assign(&mut self, other: NonZero<usize>)

    This operation satisfies n % d == n - (n / d) * d, and cannot panic.

    \n
    ","RemAssign>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl RemAssign for usize

    source§

    fn rem_assign(&mut self, other: usize)

    Performs the %= operation. Read more
    ","RemAssign","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Roots for usize

    source§

    fn nth_root(&self, n: u32) -> usize

    Returns the truncated principal nth root of an integer\n– if x >= 0 { ⌊ⁿ√x⌋ } else { ⌈ⁿ√x⌉ } Read more
    source§

    fn sqrt(&self) -> usize

    Returns the truncated principal square root of an integer – ⌊√x⌋ Read more
    source§

    fn cbrt(&self) -> usize

    Returns the truncated principal cube root of an integer –\nif x >= 0 { ⌊∛x⌋ } else { ⌈∛x⌉ } Read more
    ","Roots","tor_interface::tor_provider::CircuitToken"],["
    §

    impl RowIndex for usize

    §

    fn idx(&self, stmt: &Statement<'_>) -> Result<usize, Error>

    Returns the index of the appropriate column, or None if no such\ncolumn exists.
    ","RowIndex","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl SampleUniform for usize

    §

    type Sampler = UniformInt<usize>

    The UniformSampler implementation supporting type X.
    ","SampleUniform","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Saturating for usize

    source§

    fn saturating_add(self, v: usize) -> usize

    Saturating addition operator.\nReturns a+b, saturating at the numeric bounds instead of overflowing.
    source§

    fn saturating_sub(self, v: usize) -> usize

    Saturating subtraction operator.\nReturns a-b, saturating at the numeric bounds instead of overflowing.
    ","Saturating","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl SaturatingAdd for usize

    source§

    fn saturating_add(&self, v: &usize) -> usize

    Saturating addition. Computes self + other, saturating at the relevant high or low boundary of\nthe type.
    ","SaturatingAdd","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl SaturatingMul for usize

    source§

    fn saturating_mul(&self, v: &usize) -> usize

    Saturating multiplication. Computes self * other, saturating at the relevant high or low boundary of\nthe type.
    ","SaturatingMul","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl SaturatingSub for usize

    source§

    fn saturating_sub(&self, v: &usize) -> usize

    Saturating subtraction. Computes self - other, saturating at the relevant high or low boundary of\nthe type.
    ","SaturatingSub","tor_interface::tor_provider::CircuitToken"],["
    §

    impl SeekNum for usize

    §

    fn from_block_byte<T>(\n block: T,\n byte: u8,\n bs: u8,\n) -> Result<usize, OverflowError>
    where\n T: Counter,

    Try to get position for block number block, byte position inside\nblock byte, and block size bs.
    §

    fn into_block_byte<T>(self, bs: u8) -> Result<(T, u8), OverflowError>
    where\n T: Counter,

    Try to get block number and bytes position for given block size bs.
    ","SeekNum","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Serialize for usize

    source§

    fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where\n S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    ","Serialize","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&i128> for usize

    §

    type Output = <usize as Shl<i128>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &i128) -> <usize as Shl<i128>>::Output

    Performs the << operation. Read more
    ","Shl<&i128>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&i16> for usize

    §

    type Output = <usize as Shl<i16>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &i16) -> <usize as Shl<i16>>::Output

    Performs the << operation. Read more
    ","Shl<&i16>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&i32> for usize

    §

    type Output = <usize as Shl<i32>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &i32) -> <usize as Shl<i32>>::Output

    Performs the << operation. Read more
    ","Shl<&i32>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&i64> for usize

    §

    type Output = <usize as Shl<i64>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &i64) -> <usize as Shl<i64>>::Output

    Performs the << operation. Read more
    ","Shl<&i64>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&i8> for usize

    §

    type Output = <usize as Shl<i8>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &i8) -> <usize as Shl<i8>>::Output

    Performs the << operation. Read more
    ","Shl<&i8>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&isize> for usize

    §

    type Output = <usize as Shl<isize>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &isize) -> <usize as Shl<isize>>::Output

    Performs the << operation. Read more
    ","Shl<&isize>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&u128> for usize

    §

    type Output = <usize as Shl<u128>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &u128) -> <usize as Shl<u128>>::Output

    Performs the << operation. Read more
    ","Shl<&u128>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&u16> for usize

    §

    type Output = <usize as Shl<u16>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &u16) -> <usize as Shl<u16>>::Output

    Performs the << operation. Read more
    ","Shl<&u16>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&u32> for usize

    §

    type Output = <usize as Shl<u32>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &u32) -> <usize as Shl<u32>>::Output

    Performs the << operation. Read more
    ","Shl<&u32>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&u64> for usize

    §

    type Output = <usize as Shl<u64>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &u64) -> <usize as Shl<u64>>::Output

    Performs the << operation. Read more
    ","Shl<&u64>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&u8> for usize

    §

    type Output = <usize as Shl<u8>>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &u8) -> <usize as Shl<u8>>::Output

    Performs the << operation. Read more
    ","Shl<&u8>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<&usize> for usize

    §

    type Output = <usize as Shl>::Output

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: &usize) -> <usize as Shl>::Output

    Performs the << operation. Read more
    ","Shl<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<i128> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: i128) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<i16> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: i16) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<i32> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: i32) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<i64> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: i64) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<i8> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: i8) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<isize> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: isize) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<u128> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: u128) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<u16> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: u16) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<u32> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: u32) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<u64> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: u64) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl<u8> for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: u8) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shl for usize

    §

    type Output = usize

    The resulting type after applying the << operator.
    source§

    fn shl(self, other: usize) -> usize

    Performs the << operation. Read more
    ","Shl","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&i128> for usize

    source§

    fn shl_assign(&mut self, other: &i128)

    Performs the <<= operation. Read more
    ","ShlAssign<&i128>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&i16> for usize

    source§

    fn shl_assign(&mut self, other: &i16)

    Performs the <<= operation. Read more
    ","ShlAssign<&i16>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&i32> for usize

    source§

    fn shl_assign(&mut self, other: &i32)

    Performs the <<= operation. Read more
    ","ShlAssign<&i32>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&i64> for usize

    source§

    fn shl_assign(&mut self, other: &i64)

    Performs the <<= operation. Read more
    ","ShlAssign<&i64>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&i8> for usize

    source§

    fn shl_assign(&mut self, other: &i8)

    Performs the <<= operation. Read more
    ","ShlAssign<&i8>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&isize> for usize

    source§

    fn shl_assign(&mut self, other: &isize)

    Performs the <<= operation. Read more
    ","ShlAssign<&isize>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&u128> for usize

    source§

    fn shl_assign(&mut self, other: &u128)

    Performs the <<= operation. Read more
    ","ShlAssign<&u128>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&u16> for usize

    source§

    fn shl_assign(&mut self, other: &u16)

    Performs the <<= operation. Read more
    ","ShlAssign<&u16>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&u32> for usize

    source§

    fn shl_assign(&mut self, other: &u32)

    Performs the <<= operation. Read more
    ","ShlAssign<&u32>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&u64> for usize

    source§

    fn shl_assign(&mut self, other: &u64)

    Performs the <<= operation. Read more
    ","ShlAssign<&u64>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&u8> for usize

    source§

    fn shl_assign(&mut self, other: &u8)

    Performs the <<= operation. Read more
    ","ShlAssign<&u8>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShlAssign<&usize> for usize

    source§

    fn shl_assign(&mut self, other: &usize)

    Performs the <<= operation. Read more
    ","ShlAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<i128> for usize

    source§

    fn shl_assign(&mut self, other: i128)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<i16> for usize

    source§

    fn shl_assign(&mut self, other: i16)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<i32> for usize

    source§

    fn shl_assign(&mut self, other: i32)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<i64> for usize

    source§

    fn shl_assign(&mut self, other: i64)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<i8> for usize

    source§

    fn shl_assign(&mut self, other: i8)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<isize> for usize

    source§

    fn shl_assign(&mut self, other: isize)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<u128> for usize

    source§

    fn shl_assign(&mut self, other: u128)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<u16> for usize

    source§

    fn shl_assign(&mut self, other: u16)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<u32> for usize

    source§

    fn shl_assign(&mut self, other: u32)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<u64> for usize

    source§

    fn shl_assign(&mut self, other: u64)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign<u8> for usize

    source§

    fn shl_assign(&mut self, other: u8)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShlAssign for usize

    source§

    fn shl_assign(&mut self, other: usize)

    Performs the <<= operation. Read more
    ","ShlAssign","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&i128> for usize

    §

    type Output = <usize as Shr<i128>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &i128) -> <usize as Shr<i128>>::Output

    Performs the >> operation. Read more
    ","Shr<&i128>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&i16> for usize

    §

    type Output = <usize as Shr<i16>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &i16) -> <usize as Shr<i16>>::Output

    Performs the >> operation. Read more
    ","Shr<&i16>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&i32> for usize

    §

    type Output = <usize as Shr<i32>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &i32) -> <usize as Shr<i32>>::Output

    Performs the >> operation. Read more
    ","Shr<&i32>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&i64> for usize

    §

    type Output = <usize as Shr<i64>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &i64) -> <usize as Shr<i64>>::Output

    Performs the >> operation. Read more
    ","Shr<&i64>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&i8> for usize

    §

    type Output = <usize as Shr<i8>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &i8) -> <usize as Shr<i8>>::Output

    Performs the >> operation. Read more
    ","Shr<&i8>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&isize> for usize

    §

    type Output = <usize as Shr<isize>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &isize) -> <usize as Shr<isize>>::Output

    Performs the >> operation. Read more
    ","Shr<&isize>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&u128> for usize

    §

    type Output = <usize as Shr<u128>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &u128) -> <usize as Shr<u128>>::Output

    Performs the >> operation. Read more
    ","Shr<&u128>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&u16> for usize

    §

    type Output = <usize as Shr<u16>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &u16) -> <usize as Shr<u16>>::Output

    Performs the >> operation. Read more
    ","Shr<&u16>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&u32> for usize

    §

    type Output = <usize as Shr<u32>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &u32) -> <usize as Shr<u32>>::Output

    Performs the >> operation. Read more
    ","Shr<&u32>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&u64> for usize

    §

    type Output = <usize as Shr<u64>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &u64) -> <usize as Shr<u64>>::Output

    Performs the >> operation. Read more
    ","Shr<&u64>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&u8> for usize

    §

    type Output = <usize as Shr<u8>>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &u8) -> <usize as Shr<u8>>::Output

    Performs the >> operation. Read more
    ","Shr<&u8>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<&usize> for usize

    §

    type Output = <usize as Shr>::Output

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: &usize) -> <usize as Shr>::Output

    Performs the >> operation. Read more
    ","Shr<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<i128> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: i128) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<i16> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: i16) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<i32> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: i32) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<i64> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: i64) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<i8> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: i8) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<isize> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: isize) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<u128> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: u128) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<u16> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: u16) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<u32> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: u32) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<u64> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: u64) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr<u8> for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: u8) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Shr for usize

    §

    type Output = usize

    The resulting type after applying the >> operator.
    source§

    fn shr(self, other: usize) -> usize

    Performs the >> operation. Read more
    ","Shr","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&i128> for usize

    source§

    fn shr_assign(&mut self, other: &i128)

    Performs the >>= operation. Read more
    ","ShrAssign<&i128>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&i16> for usize

    source§

    fn shr_assign(&mut self, other: &i16)

    Performs the >>= operation. Read more
    ","ShrAssign<&i16>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&i32> for usize

    source§

    fn shr_assign(&mut self, other: &i32)

    Performs the >>= operation. Read more
    ","ShrAssign<&i32>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&i64> for usize

    source§

    fn shr_assign(&mut self, other: &i64)

    Performs the >>= operation. Read more
    ","ShrAssign<&i64>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&i8> for usize

    source§

    fn shr_assign(&mut self, other: &i8)

    Performs the >>= operation. Read more
    ","ShrAssign<&i8>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&isize> for usize

    source§

    fn shr_assign(&mut self, other: &isize)

    Performs the >>= operation. Read more
    ","ShrAssign<&isize>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&u128> for usize

    source§

    fn shr_assign(&mut self, other: &u128)

    Performs the >>= operation. Read more
    ","ShrAssign<&u128>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&u16> for usize

    source§

    fn shr_assign(&mut self, other: &u16)

    Performs the >>= operation. Read more
    ","ShrAssign<&u16>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&u32> for usize

    source§

    fn shr_assign(&mut self, other: &u32)

    Performs the >>= operation. Read more
    ","ShrAssign<&u32>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&u64> for usize

    source§

    fn shr_assign(&mut self, other: &u64)

    Performs the >>= operation. Read more
    ","ShrAssign<&u64>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&u8> for usize

    source§

    fn shr_assign(&mut self, other: &u8)

    Performs the >>= operation. Read more
    ","ShrAssign<&u8>","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl ShrAssign<&usize> for usize

    source§

    fn shr_assign(&mut self, other: &usize)

    Performs the >>= operation. Read more
    ","ShrAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<i128> for usize

    source§

    fn shr_assign(&mut self, other: i128)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<i16> for usize

    source§

    fn shr_assign(&mut self, other: i16)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<i32> for usize

    source§

    fn shr_assign(&mut self, other: i32)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<i64> for usize

    source§

    fn shr_assign(&mut self, other: i64)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<i8> for usize

    source§

    fn shr_assign(&mut self, other: i8)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<isize> for usize

    source§

    fn shr_assign(&mut self, other: isize)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<u128> for usize

    source§

    fn shr_assign(&mut self, other: u128)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<u16> for usize

    source§

    fn shr_assign(&mut self, other: u16)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<u32> for usize

    source§

    fn shr_assign(&mut self, other: u32)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<u64> for usize

    source§

    fn shr_assign(&mut self, other: u64)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign<u8> for usize

    source§

    fn shr_assign(&mut self, other: u8)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl ShrAssign for usize

    source§

    fn shr_assign(&mut self, other: usize)

    Performs the >>= operation. Read more
    ","ShrAssign","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl SimdElement for usize

    §

    type Mask = isize

    🔬This is a nightly-only experimental API. (portable_simd)
    The mask element type corresponding to this element type.
    ","SimdElement","tor_interface::tor_provider::CircuitToken"],["
    1.15.0 (const: unstable) · source§

    impl<T> SliceIndex<[T]> for usize

    The methods index and index_mut panic if the index is out of bounds.

    \n
    §

    type Output = T

    The output type returned by methods.
    source§

    fn get(self, slice: &[T]) -> Option<&T>

    🔬This is a nightly-only experimental API. (slice_index_methods)
    Returns a shared reference to the output at this location, if in\nbounds.
    source§

    fn get_mut(self, slice: &mut [T]) -> Option<&mut T>

    🔬This is a nightly-only experimental API. (slice_index_methods)
    Returns a mutable reference to the output at this location, if in\nbounds.
    source§

    unsafe fn get_unchecked(self, slice: *const [T]) -> *const T

    🔬This is a nightly-only experimental API. (slice_index_methods)
    Returns a pointer to the output at this location, without\nperforming any bounds checking.\nCalling this method with an out-of-bounds index or a dangling slice pointer\nis undefined behavior even if the resulting pointer is not used.
    source§

    unsafe fn get_unchecked_mut(self, slice: *mut [T]) -> *mut T

    🔬This is a nightly-only experimental API. (slice_index_methods)
    Returns a mutable pointer to the output at this location, without\nperforming any bounds checking.\nCalling this method with an out-of-bounds index or a dangling slice pointer\nis undefined behavior even if the resulting pointer is not used.
    source§

    fn index(self, slice: &[T]) -> &T

    🔬This is a nightly-only experimental API. (slice_index_methods)
    Returns a shared reference to the output at this location, panicking\nif out of bounds.
    source§

    fn index_mut(self, slice: &mut [T]) -> &mut T

    🔬This is a nightly-only experimental API. (slice_index_methods)
    Returns a mutable reference to the output at this location, panicking\nif out of bounds.
    ","SliceIndex<[T]>","tor_interface::tor_provider::CircuitToken"],["
    §

    impl SmartDisplay for usize

    §

    type Metadata = ()

    User-provided metadata type.
    §

    fn metadata(&self, f: FormatterOptions) -> Metadata<'_, usize>

    Compute any information needed to format the value. This must, at a minimum, determine the\nwidth of the value before any padding is added by the formatter. Read more
    §

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

    Format the value using the given formatter. This is the same as Display::fmt. Read more
    §

    fn fmt_with_metadata(\n &self,\n f: &mut Formatter<'_>,\n _metadata: Metadata<'_, Self>,\n) -> Result<(), Error>

    Format the value using the given formatter and metadata. The formatted output should have\nthe width indicated by the metadata. This is before any padding is added by the\nformatter. Read more
    ","SmartDisplay","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Step for usize

    source§

    fn forward(start: usize, n: usize) -> usize

    🔬This is a nightly-only experimental API. (step_trait)
    Returns the value that would be obtained by taking the successor\nof self count times. Read more
    source§

    fn backward(start: usize, n: usize) -> usize

    🔬This is a nightly-only experimental API. (step_trait)
    Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
    source§

    unsafe fn forward_unchecked(start: usize, n: usize) -> usize

    🔬This is a nightly-only experimental API. (step_trait)
    Returns the value that would be obtained by taking the successor\nof self count times. Read more
    source§

    unsafe fn backward_unchecked(start: usize, n: usize) -> usize

    🔬This is a nightly-only experimental API. (step_trait)
    Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
    source§

    fn steps_between(start: &usize, end: &usize) -> Option<usize>

    🔬This is a nightly-only experimental API. (step_trait)
    Returns the number of successor steps required to get from start to end. Read more
    source§

    fn forward_checked(start: usize, n: usize) -> Option<usize>

    🔬This is a nightly-only experimental API. (step_trait)
    Returns the value that would be obtained by taking the successor\nof self count times. Read more
    source§

    fn backward_checked(start: usize, n: usize) -> Option<usize>

    🔬This is a nightly-only experimental API. (step_trait)
    Returns the value that would be obtained by taking the predecessor\nof self count times. Read more
    ","Step","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Sub<&'a BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: &BigInt) -> BigInt

    Performs the - operation. Read more
    ","Sub<&'a BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Sub<&BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: &BigInt) -> BigInt

    Performs the - operation. Read more
    ","Sub<&BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl<'a> Sub<&'a BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: &BigUint) -> BigUint

    Performs the - operation. Read more
    ","Sub<&'a BigUint>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Sub<&BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: &BigUint) -> BigUint

    Performs the - operation. Read more
    ","Sub<&BigUint>","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Sub<&usize> for usize

    §

    type Output = <usize as Sub>::Output

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: &usize) -> <usize as Sub>::Output

    Performs the - operation. Read more
    ","Sub<&usize>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Sub<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: BigInt) -> BigInt

    Performs the - operation. Read more
    ","Sub","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Sub<BigInt> for usize

    §

    type Output = BigInt

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: BigInt) -> BigInt

    Performs the - operation. Read more
    ","Sub","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Sub<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: BigUint) -> BigUint

    Performs the - operation. Read more
    ","Sub","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Sub<BigUint> for usize

    §

    type Output = BigUint

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: BigUint) -> BigUint

    Performs the - operation. Read more
    ","Sub","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Sub for usize

    §

    type Output = usize

    The resulting type after applying the - operator.
    source§

    fn sub(self, other: usize) -> usize

    Performs the - operation. Read more
    ","Sub","tor_interface::tor_provider::CircuitToken"],["
    1.22.0 · source§

    impl SubAssign<&usize> for usize

    source§

    fn sub_assign(&mut self, other: &usize)

    Performs the -= operation. Read more
    ","SubAssign<&usize>","tor_interface::tor_provider::CircuitToken"],["
    1.8.0 · source§

    impl SubAssign for usize

    source§

    fn sub_assign(&mut self, other: usize)

    Performs the -= operation. Read more
    ","SubAssign","tor_interface::tor_provider::CircuitToken"],["
    1.12.0 · source§

    impl<'a> Sum<&'a usize> for usize

    source§

    fn sum<I>(iter: I) -> usize
    where\n I: Iterator<Item = &'a usize>,

    Method which takes an iterator and generates Self from the elements by\n“summing up” the items.
    ","Sum<&'a usize>","tor_interface::tor_provider::CircuitToken"],["
    1.12.0 · source§

    impl Sum for usize

    source§

    fn sum<I>(iter: I) -> usize
    where\n I: Iterator<Item = usize>,

    Method which takes an iterator and generates Self from the elements by\n“summing up” the items.
    ","Sum","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ToBigInt for usize

    source§

    fn to_bigint(&self) -> Option<BigInt>

    Converts the value of self to a BigInt.
    ","ToBigInt","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ToBigInt for usize

    source§

    fn to_bigint(&self) -> Option<BigInt>

    Converts the value of self to a BigInt.
    ","ToBigInt","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ToBigUint for usize

    source§

    fn to_biguint(&self) -> Option<BigUint>

    Converts the value of self to a BigUint.
    ","ToBigUint","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ToBigUint for usize

    source§

    fn to_biguint(&self) -> Option<BigUint>

    Converts the value of self to a BigUint.
    ","ToBigUint","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ToBytes for usize

    §

    type Bytes = [u8; 8]

    source§

    fn to_be_bytes(&self) -> <usize as ToBytes>::Bytes

    Return the memory representation of this number as a byte array in big-endian byte order. Read more
    source§

    fn to_le_bytes(&self) -> <usize as ToBytes>::Bytes

    Return the memory representation of this number as a byte array in little-endian byte order. Read more
    source§

    fn to_ne_bytes(&self) -> <usize as ToBytes>::Bytes

    Return the memory representation of this number as a byte array in native byte order. Read more
    ","ToBytes","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ToPrimitive for usize

    source§

    fn to_isize(&self) -> Option<isize>

    Converts the value of self to an isize. If the value cannot be\nrepresented by an isize, then None is returned.
    source§

    fn to_i8(&self) -> Option<i8>

    Converts the value of self to an i8. If the value cannot be\nrepresented by an i8, then None is returned.
    source§

    fn to_i16(&self) -> Option<i16>

    Converts the value of self to an i16. If the value cannot be\nrepresented by an i16, then None is returned.
    source§

    fn to_i32(&self) -> Option<i32>

    Converts the value of self to an i32. If the value cannot be\nrepresented by an i32, then None is returned.
    source§

    fn to_i64(&self) -> Option<i64>

    Converts the value of self to an i64. If the value cannot be\nrepresented by an i64, then None is returned.
    source§

    fn to_i128(&self) -> Option<i128>

    Converts the value of self to an i128. If the value cannot be\nrepresented by an i128 (i64 under the default implementation), then\nNone is returned. Read more
    source§

    fn to_usize(&self) -> Option<usize>

    Converts the value of self to a usize. If the value cannot be\nrepresented by a usize, then None is returned.
    source§

    fn to_u8(&self) -> Option<u8>

    Converts the value of self to a u8. If the value cannot be\nrepresented by a u8, then None is returned.
    source§

    fn to_u16(&self) -> Option<u16>

    Converts the value of self to a u16. If the value cannot be\nrepresented by a u16, then None is returned.
    source§

    fn to_u32(&self) -> Option<u32>

    Converts the value of self to a u32. If the value cannot be\nrepresented by a u32, then None is returned.
    source§

    fn to_u64(&self) -> Option<u64>

    Converts the value of self to a u64. If the value cannot be\nrepresented by a u64, then None is returned.
    source§

    fn to_u128(&self) -> Option<u128>

    Converts the value of self to a u128. If the value cannot be\nrepresented by a u128 (u64 under the default implementation), then\nNone is returned. Read more
    source§

    fn to_f32(&self) -> Option<f32>

    Converts the value of self to an f32. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f32.
    source§

    fn to_f64(&self) -> Option<f64>

    Converts the value of self to an f64. Overflows may map to positive\nor negative inifinity, otherwise None is returned if the value cannot\nbe represented by an f64. Read more
    ","ToPrimitive","tor_interface::tor_provider::CircuitToken"],["
    §

    impl ToSql for usize

    §

    fn to_sql(&self) -> Result<ToSqlOutput<'_>, Error>

    Converts Rust value to SQLite value
    ","ToSql","tor_interface::tor_provider::CircuitToken"],["
    §

    impl ToUsize for usize

    §

    fn to_usize(&self) -> usize

    converts self to usize
    ","ToUsize","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl TryFrom<&BigInt> for usize

    §

    type Error = TryFromBigIntError<()>

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

    fn try_from(value: &BigInt) -> Result<usize, TryFromBigIntError<()>>

    Performs the conversion.
    ","TryFrom<&BigInt>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl TryFrom<&BigUint> for usize

    §

    type Error = TryFromBigIntError<()>

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

    fn try_from(value: &BigUint) -> Result<usize, TryFromBigIntError<()>>

    Performs the conversion.
    ","TryFrom<&BigUint>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl TryFrom<BigInt> for usize

    §

    type Error = TryFromBigIntError<BigInt>

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

    fn try_from(value: BigInt) -> Result<usize, TryFromBigIntError<BigInt>>

    Performs the conversion.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl TryFrom<BigUint> for usize

    §

    type Error = TryFromBigIntError<BigUint>

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

    fn try_from(value: BigUint) -> Result<usize, TryFromBigIntError<BigUint>>

    Performs the conversion.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    §

    impl<const L: i32, const H: i32> TryFrom<BoundedInt32<L, H>> for usize

    §

    type Error = Error

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

    fn try_from(\n val: BoundedInt32<L, H>,\n) -> Result<usize, <usize as TryFrom<BoundedInt32<L, H>>>::Error>

    Performs the conversion.
    ","TryFrom>","tor_interface::tor_provider::CircuitToken"],["
    §

    impl TryFrom<Length> for usize

    §

    type Error = Error

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

    fn try_from(len: Length) -> Result<usize, Error>

    Performs the conversion.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    1.34.0 · source§

    impl TryFrom<i128> for usize

    source§

    fn try_from(u: i128) -> Result<usize, <usize as TryFrom<i128>>::Error>

    Try to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

    \n
    §

    type Error = TryFromIntError

    The type returned in the event of a conversion error.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    1.34.0 · source§

    impl TryFrom<i16> for usize

    source§

    fn try_from(u: i16) -> Result<usize, <usize as TryFrom<i16>>::Error>

    Try to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

    \n
    §

    type Error = TryFromIntError

    The type returned in the event of a conversion error.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    1.34.0 · source§

    impl TryFrom<i32> for usize

    source§

    fn try_from(u: i32) -> Result<usize, <usize as TryFrom<i32>>::Error>

    Try to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

    \n
    §

    type Error = TryFromIntError

    The type returned in the event of a conversion error.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    1.34.0 · source§

    impl TryFrom<i64> for usize

    source§

    fn try_from(u: i64) -> Result<usize, <usize as TryFrom<i64>>::Error>

    Try to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

    \n
    §

    type Error = TryFromIntError

    The type returned in the event of a conversion error.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    1.34.0 · source§

    impl TryFrom<i8> for usize

    source§

    fn try_from(u: i8) -> Result<usize, <usize as TryFrom<i8>>::Error>

    Try to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

    \n
    §

    type Error = TryFromIntError

    The type returned in the event of a conversion error.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    1.34.0 · source§

    impl TryFrom<isize> for usize

    source§

    fn try_from(u: isize) -> Result<usize, <usize as TryFrom<isize>>::Error>

    Try to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

    \n
    §

    type Error = TryFromIntError

    The type returned in the event of a conversion error.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    1.34.0 · source§

    impl TryFrom<u128> for usize

    source§

    fn try_from(u: u128) -> Result<usize, <usize as TryFrom<u128>>::Error>

    Try to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

    \n
    §

    type Error = TryFromIntError

    The type returned in the event of a conversion error.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    1.34.0 · source§

    impl TryFrom<u32> for usize

    source§

    fn try_from(value: u32) -> Result<usize, <usize as TryFrom<u32>>::Error>

    Try to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

    \n
    §

    type Error = TryFromIntError

    The type returned in the event of a conversion error.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    1.34.0 · source§

    impl TryFrom<u64> for usize

    source§

    fn try_from(value: u64) -> Result<usize, <usize as TryFrom<u64>>::Error>

    Try to create the target number type from a source\nnumber type. This returns an error if the source value\nis outside of the range of the target type.

    \n
    §

    type Error = TryFromIntError

    The type returned in the event of a conversion error.
    ","TryFrom","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Unsigned for usize

    §

    fn is_power_of_two(self) -> bool

    Returns true if and only if self == 2^k for some k.
    §

    fn next_power_of_two(self) -> usize

    Returns the smallest power of two greater than or equal to self. Read more
    §

    fn checked_next_power_of_two(self) -> Option<usize>

    Returns the smallest power of two greater than or equal to n. If the\nnext power of two is greater than the type’s maximum value, None is\nreturned, otherwise the power of two is wrapped in Some.
    ","Unsigned","tor_interface::tor_provider::CircuitToken"],["
    1.42.0 · source§

    impl UpperExp for usize

    source§

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

    Formats the value using the given formatter. Read more
    ","UpperExp","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl UpperHex for usize

    source§

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

    Formats the value using the given formatter. Read more
    ","UpperHex","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Value for usize

    §

    fn record(&self, key: &Field, visitor: &mut dyn Visit)

    Visits this value with the given Visitor.
    ","Value","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl WrappingAdd for usize

    source§

    fn wrapping_add(&self, v: &usize) -> usize

    Wrapping (modular) addition. Computes self + other, wrapping around at the boundary of\nthe type.
    ","WrappingAdd","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl WrappingMul for usize

    source§

    fn wrapping_mul(&self, v: &usize) -> usize

    Wrapping (modular) multiplication. Computes self * other, wrapping around at the boundary\nof the type.
    ","WrappingMul","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl WrappingNeg for usize

    source§

    fn wrapping_neg(&self) -> usize

    Wrapping (modular) negation. Computes -self,\nwrapping around at the boundary of the type. Read more
    ","WrappingNeg","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl WrappingShl for usize

    source§

    fn wrapping_shl(&self, rhs: u32) -> usize

    Panic-free bitwise shift-left; yields self << mask(rhs),\nwhere mask removes any high order bits of rhs that would\ncause the shift to exceed the bitwidth of the type. Read more
    ","WrappingShl","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl WrappingShr for usize

    source§

    fn wrapping_shr(&self, rhs: u32) -> usize

    Panic-free bitwise shift-right; yields self >> mask(rhs),\nwhere mask removes any high order bits of rhs that would\ncause the shift to exceed the bitwidth of the type. Read more
    ","WrappingShr","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl WrappingSub for usize

    source§

    fn wrapping_sub(&self, v: &usize) -> usize

    Wrapping (modular) subtraction. Computes self - other, wrapping around at the boundary\nof the type.
    ","WrappingSub","tor_interface::tor_provider::CircuitToken"],["
    §

    impl WriteHex for usize

    §

    fn write_hex<W>(&self, writer: W) -> Result<(), Error>
    where\n W: Write,

    Write the value as hex.
    ","WriteHex","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Writeable for usize

    §

    fn write_to<W>(&self, sink: &mut W) -> Result<(), Error>
    where\n W: Write + ?Sized,

    Writes a string to the given sink. Errors from the sink are bubbled up.\nThe default implementation delegates to write_to_parts, and discards any\nPart annotations.
    §

    fn writeable_length_hint(&self) -> LengthHint

    Returns a hint for the number of UTF-8 bytes that will be written to the sink. Read more
    §

    fn write_to_parts<S>(&self, sink: &mut S) -> Result<(), Error>
    where\n S: PartsWrite + ?Sized,

    Write bytes and Part annotations to the given sink. Errors from the\nsink are bubbled up. The default implementation delegates to write_to,\nand doesn’t produce any Part annotations.
    §

    fn write_to_string(&self) -> Cow<'_, str>

    Creates a new String with the data from this Writeable. Like ToString,\nbut smaller and faster. Read more
    §

    fn writeable_cmp_bytes(&self, other: &[u8]) -> Ordering

    Compares the contents of this Writeable to the given bytes\nwithout allocating a String to hold the Writeable contents. Read more
    ","Writeable","tor_interface::tor_provider::CircuitToken"],["
    §

    impl<'a> Yokeable<'a> for usize

    §

    type Output = usize

    This type MUST be Self with the 'static replaced with 'a, i.e. Self<'a>
    §

    fn transform(&self) -> &<usize as Yokeable<'a>>::Output

    This method must cast self between &'a Self<'static> and &'a Self<'a>. Read more
    §

    fn transform_owned(self) -> <usize as Yokeable<'a>>::Output

    This method must cast self between Self<'static> and Self<'a>. Read more
    §

    unsafe fn make(this: <usize as Yokeable<'a>>::Output) -> usize

    This method can be used to cast away Self<'a>’s lifetime. Read more
    §

    fn transform_mut<F>(&'a mut self, f: F)
    where\n F: 'static + for<'b> FnOnce(&'b mut <usize as Yokeable<'a>>::Output),

    This method must cast self between &'a mut Self<'static> and &'a mut Self<'a>,\nand pass it to f. Read more
    ","Yokeable<'a>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Zero for usize

    source§

    fn zero() -> usize

    Returns the additive identity element of Self, 0. Read more
    source§

    fn is_zero(&self) -> bool

    Returns true if self is equal to the additive identity.
    source§

    fn set_zero(&mut self)

    Sets self to the additive identity element of Self, 0.
    ","Zero","tor_interface::tor_provider::CircuitToken"],["
    §

    impl<'a> ZeroFrom<'a, usize> for usize

    §

    fn zero_from(this: &'a usize) -> usize

    Clone the other C into a struct that may retain references into C.
    ","ZeroFrom<'a, usize>","tor_interface::tor_provider::CircuitToken"],["
    §

    impl<'a> ZeroMapKV<'a> for usize

    §

    type Container = FlexZeroVec<'a>

    The container that can be used with this type: [ZeroVec] or [VarZeroVec].
    §

    type Slice = FlexZeroSlice

    §

    type GetType = [u8]

    The type produced by Container::get() Read more
    §

    type OwnedType = usize

    The type produced by Container::replace() and Container::remove(),\nalso used during deserialization. If Self is human readable serialized,\ndeserializing to Self::OwnedType should produce the same value once\npassed through Self::owned_as_self() Read more
    ","ZeroMapKV<'a>","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl usize

    1.43.0 · source

    pub const MIN: usize = 0usize

    The smallest value that can be represented by this integer type.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(usize::MIN, 0);
    \n
    1.43.0 · source

    pub const MAX: usize = 18_446_744_073_709_551_615usize

    The largest value that can be represented by this integer type\n(264 − 1 on 64-bit targets).

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(usize::MAX, 18446744073709551615);
    \n
    1.53.0 · source

    pub const BITS: u32 = 64u32

    The size of this integer type in bits.

    \n
    §Examples
    \n
    assert_eq!(usize::BITS, 64);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn count_ones(self) -> u32

    Returns the number of ones in the binary representation of self.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0b01001100usize;\n\nassert_eq!(n.count_ones(), 3);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn count_zeros(self) -> u32

    Returns the number of zeros in the binary representation of self.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(usize::MAX.count_zeros(), 0);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn leading_zeros(self) -> u32

    Returns the number of leading zeros in the binary representation of self.

    \n

    Depending on what you’re doing with the value, you might also be interested in the\nilog2 function which returns a consistent number, even if the type widens.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = usize::MAX >> 2;\n\nassert_eq!(n.leading_zeros(), 2);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn trailing_zeros(self) -> u32

    Returns the number of trailing zeros in the binary representation\nof self.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0b0101000usize;\n\nassert_eq!(n.trailing_zeros(), 3);
    \n
    1.46.0 (const: 1.46.0) · source

    pub const fn leading_ones(self) -> u32

    Returns the number of leading ones in the binary representation of self.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = !(usize::MAX >> 2);\n\nassert_eq!(n.leading_ones(), 2);
    \n
    1.46.0 (const: 1.46.0) · source

    pub const fn trailing_ones(self) -> u32

    Returns the number of trailing ones in the binary representation\nof self.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0b1010111usize;\n\nassert_eq!(n.trailing_ones(), 3);
    \n
    source

    pub const fn cast_signed(self) -> isize

    🔬This is a nightly-only experimental API. (integer_sign_cast)

    Returns the bit pattern of self reinterpreted as a signed integer of the same size.

    \n

    This produces the same result as an as cast, but ensures that the bit-width remains\nthe same.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(integer_sign_cast)]\n\nlet n = usize::MAX;\n\nassert_eq!(n.cast_signed(), -1isize);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn rotate_left(self, n: u32) -> usize

    Shifts the bits to the left by a specified amount, n,\nwrapping the truncated bits to the end of the resulting integer.

    \n

    Please note this isn’t the same operation as the << shifting operator!

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0xaa00000000006e1usize;\nlet m = 0x6e10aa;\n\nassert_eq!(n.rotate_left(12), m);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn rotate_right(self, n: u32) -> usize

    Shifts the bits to the right by a specified amount, n,\nwrapping the truncated bits to the beginning of the resulting\ninteger.

    \n

    Please note this isn’t the same operation as the >> shifting operator!

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0x6e10aausize;\nlet m = 0xaa00000000006e1;\n\nassert_eq!(n.rotate_right(12), m);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn swap_bytes(self) -> usize

    Reverses the byte order of the integer.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0x1234567890123456usize;\nlet m = n.swap_bytes();\n\nassert_eq!(m, 0x5634129078563412);
    \n
    1.37.0 (const: 1.37.0) · source

    pub const fn reverse_bits(self) -> usize

    Reverses the order of bits in the integer. The least significant bit becomes the most significant bit,\nsecond least-significant bit becomes second most-significant bit, etc.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0x1234567890123456usize;\nlet m = n.reverse_bits();\n\nassert_eq!(m, 0x6a2c48091e6a2c48);\nassert_eq!(0, 0usize.reverse_bits());
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn from_be(x: usize) -> usize

    Converts an integer from big endian to the target’s endianness.

    \n

    On big endian this is a no-op. On little endian the bytes are\nswapped.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0x1Ausize;\n\nif cfg!(target_endian = \"big\") {\n    assert_eq!(usize::from_be(n), n)\n} else {\n    assert_eq!(usize::from_be(n), n.swap_bytes())\n}
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn from_le(x: usize) -> usize

    Converts an integer from little endian to the target’s endianness.

    \n

    On little endian this is a no-op. On big endian the bytes are\nswapped.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0x1Ausize;\n\nif cfg!(target_endian = \"little\") {\n    assert_eq!(usize::from_le(n), n)\n} else {\n    assert_eq!(usize::from_le(n), n.swap_bytes())\n}
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn to_be(self) -> usize

    Converts self to big endian from the target’s endianness.

    \n

    On big endian this is a no-op. On little endian the bytes are\nswapped.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0x1Ausize;\n\nif cfg!(target_endian = \"big\") {\n    assert_eq!(n.to_be(), n)\n} else {\n    assert_eq!(n.to_be(), n.swap_bytes())\n}
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn to_le(self) -> usize

    Converts self to little endian from the target’s endianness.

    \n

    On little endian this is a no-op. On big endian the bytes are\nswapped.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let n = 0x1Ausize;\n\nif cfg!(target_endian = \"little\") {\n    assert_eq!(n.to_le(), n)\n} else {\n    assert_eq!(n.to_le(), n.swap_bytes())\n}
    \n
    1.0.0 (const: 1.47.0) · source

    pub const fn checked_add(self, rhs: usize) -> Option<usize>

    Checked integer addition. Computes self + rhs, returning None\nif overflow occurred.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!((usize::MAX - 2).checked_add(1), Some(usize::MAX - 1));\nassert_eq!((usize::MAX - 2).checked_add(3), None);
    \n
    source

    pub const fn strict_add(self, rhs: usize) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict integer addition. Computes self + rhs, panicking\nif overflow occurred.

    \n
    §Panics
    §Overflow behavior
    \n

    This function will always panic on overflow, regardless of whether overflow checks are enabled.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!((usize::MAX - 2).strict_add(1), usize::MAX - 1);
    \n

    The following panics because of overflow:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = (usize::MAX - 2).strict_add(3);
    \n
    1.79.0 (const: 1.79.0) · source

    pub const unsafe fn unchecked_add(self, rhs: usize) -> usize

    Unchecked integer addition. Computes self + rhs, assuming overflow\ncannot occur.

    \n

    Calling x.unchecked_add(y) is semantically equivalent to calling\nx.checked_add(y).unwrap_unchecked().

    \n

    If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_add.

    \n
    §Safety
    \n

    This results in undefined behavior when\nself + rhs > usize::MAX or self + rhs < usize::MIN,\ni.e. when checked_add would return None.

    \n
    1.66.0 (const: 1.66.0) · source

    pub const fn checked_add_signed(self, rhs: isize) -> Option<usize>

    Checked addition with a signed integer. Computes self + rhs,\nreturning None if overflow occurred.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(1usize.checked_add_signed(2), Some(3));\nassert_eq!(1usize.checked_add_signed(-2), None);\nassert_eq!((usize::MAX - 2).checked_add_signed(3), None);
    \n
    source

    pub const fn strict_add_signed(self, rhs: isize) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict addition with a signed integer. Computes self + rhs,\npanicking if overflow occurred.

    \n
    §Panics
    §Overflow behavior
    \n

    This function will always panic on overflow, regardless of whether overflow checks are enabled.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(1usize.strict_add_signed(2), 3);
    \n

    The following panic because of overflow:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = 1usize.strict_add_signed(-2);
    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = (usize::MAX - 2).strict_add_signed(3);
    \n
    1.0.0 (const: 1.47.0) · source

    pub const fn checked_sub(self, rhs: usize) -> Option<usize>

    Checked integer subtraction. Computes self - rhs, returning\nNone if overflow occurred.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(1usize.checked_sub(1), Some(0));\nassert_eq!(0usize.checked_sub(1), None);
    \n
    source

    pub const fn strict_sub(self, rhs: usize) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict integer subtraction. Computes self - rhs, panicking if\noverflow occurred.

    \n
    §Panics
    §Overflow behavior
    \n

    This function will always panic on overflow, regardless of whether overflow checks are enabled.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(1usize.strict_sub(1), 0);
    \n

    The following panics because of overflow:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = 0usize.strict_sub(1);
    \n
    1.79.0 (const: 1.79.0) · source

    pub const unsafe fn unchecked_sub(self, rhs: usize) -> usize

    Unchecked integer subtraction. Computes self - rhs, assuming overflow\ncannot occur.

    \n

    Calling x.unchecked_sub(y) is semantically equivalent to calling\nx.checked_sub(y).unwrap_unchecked().

    \n

    If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_sub.

    \n

    If you find yourself writing code like this:

    \n\n
    if foo >= bar {\n    // SAFETY: just checked it will not overflow\n    let diff = unsafe { foo.unchecked_sub(bar) };\n    // ... use diff ...\n}
    \n

    Consider changing it to

    \n\n
    if let Some(diff) = foo.checked_sub(bar) {\n    // ... use diff ...\n}
    \n

    As that does exactly the same thing – including telling the optimizer\nthat the subtraction cannot overflow – but avoids needing unsafe.

    \n
    §Safety
    \n

    This results in undefined behavior when\nself - rhs > usize::MAX or self - rhs < usize::MIN,\ni.e. when checked_sub would return None.

    \n
    1.0.0 (const: 1.47.0) · source

    pub const fn checked_mul(self, rhs: usize) -> Option<usize>

    Checked integer multiplication. Computes self * rhs, returning\nNone if overflow occurred.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(5usize.checked_mul(1), Some(5));\nassert_eq!(usize::MAX.checked_mul(2), None);
    \n
    source

    pub const fn strict_mul(self, rhs: usize) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict integer multiplication. Computes self * rhs, panicking if\noverflow occurred.

    \n
    §Panics
    §Overflow behavior
    \n

    This function will always panic on overflow, regardless of whether overflow checks are enabled.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(5usize.strict_mul(1), 5);
    \n

    The following panics because of overflow:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = usize::MAX.strict_mul(2);
    \n
    1.79.0 (const: 1.79.0) · source

    pub const unsafe fn unchecked_mul(self, rhs: usize) -> usize

    Unchecked integer multiplication. Computes self * rhs, assuming overflow\ncannot occur.

    \n

    Calling x.unchecked_mul(y) is semantically equivalent to calling\nx.checked_mul(y).unwrap_unchecked().

    \n

    If you’re just trying to avoid the panic in debug mode, then do not\nuse this. Instead, you’re looking for wrapping_mul.

    \n
    §Safety
    \n

    This results in undefined behavior when\nself * rhs > usize::MAX or self * rhs < usize::MIN,\ni.e. when checked_mul would return None.

    \n
    1.0.0 (const: 1.52.0) · source

    pub const fn checked_div(self, rhs: usize) -> Option<usize>

    Checked integer division. Computes self / rhs, returning None\nif rhs == 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(128usize.checked_div(2), Some(64));\nassert_eq!(1usize.checked_div(0), None);
    \n
    source

    pub const fn strict_div(self, rhs: usize) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict integer division. Computes self / rhs.\nStrict division on unsigned types is just normal division.\nThere’s no way overflow could ever happen.\nThis function exists, so that all operations\nare accounted for in the strict operations.

    \n
    §Panics
    \n

    This function will panic if rhs is zero.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(100usize.strict_div(10), 10);
    \n

    The following panics because of division by zero:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = (1usize).strict_div(0);
    \n
    1.38.0 (const: 1.52.0) · source

    pub const fn checked_div_euclid(self, rhs: usize) -> Option<usize>

    Checked Euclidean division. Computes self.div_euclid(rhs), returning None\nif rhs == 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(128usize.checked_div_euclid(2), Some(64));\nassert_eq!(1usize.checked_div_euclid(0), None);
    \n
    source

    pub const fn strict_div_euclid(self, rhs: usize) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict Euclidean division. Computes self.div_euclid(rhs).\nStrict division on unsigned types is just normal division.\nThere’s no way overflow could ever happen.\nThis function exists, so that all operations\nare accounted for in the strict operations.\nSince, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self.strict_div(rhs).

    \n
    §Panics
    \n

    This function will panic if rhs is zero.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(100usize.strict_div_euclid(10), 10);
    \n

    The following panics because of division by zero:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = (1usize).strict_div_euclid(0);
    \n
    1.7.0 (const: 1.52.0) · source

    pub const fn checked_rem(self, rhs: usize) -> Option<usize>

    Checked integer remainder. Computes self % rhs, returning None\nif rhs == 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(5usize.checked_rem(2), Some(1));\nassert_eq!(5usize.checked_rem(0), None);
    \n
    source

    pub const fn strict_rem(self, rhs: usize) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict integer remainder. Computes self % rhs.\nStrict remainder calculation on unsigned types is\njust the regular remainder calculation.\nThere’s no way overflow could ever happen.\nThis function exists, so that all operations\nare accounted for in the strict operations.

    \n
    §Panics
    \n

    This function will panic if rhs is zero.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(100usize.strict_rem(10), 0);
    \n

    The following panics because of division by zero:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = 5usize.strict_rem(0);
    \n
    1.38.0 (const: 1.52.0) · source

    pub const fn checked_rem_euclid(self, rhs: usize) -> Option<usize>

    Checked Euclidean modulo. Computes self.rem_euclid(rhs), returning None\nif rhs == 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(5usize.checked_rem_euclid(2), Some(1));\nassert_eq!(5usize.checked_rem_euclid(0), None);
    \n
    source

    pub const fn strict_rem_euclid(self, rhs: usize) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict Euclidean modulo. Computes self.rem_euclid(rhs).\nStrict modulo calculation on unsigned types is\njust the regular remainder calculation.\nThere’s no way overflow could ever happen.\nThis function exists, so that all operations\nare accounted for in the strict operations.\nSince, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self.strict_rem(rhs).

    \n
    §Panics
    \n

    This function will panic if rhs is zero.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(100usize.strict_rem_euclid(10), 0);
    \n

    The following panics because of division by zero:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = 5usize.strict_rem_euclid(0);
    \n
    1.67.0 (const: 1.67.0) · source

    pub const fn ilog(self, base: usize) -> u32

    Returns the logarithm of the number with respect to an arbitrary base,\nrounded down.

    \n

    This method might not be optimized owing to implementation details;\nilog2 can produce results more efficiently for base 2, and ilog10\ncan produce results more efficiently for base 10.

    \n
    §Panics
    \n

    This function will panic if self is zero, or if base is less than 2.

    \n
    §Examples
    \n
    assert_eq!(5usize.ilog(5), 1);
    \n
    1.67.0 (const: 1.67.0) · source

    pub const fn ilog2(self) -> u32

    Returns the base 2 logarithm of the number, rounded down.

    \n
    §Panics
    \n

    This function will panic if self is zero.

    \n
    §Examples
    \n
    assert_eq!(2usize.ilog2(), 1);
    \n
    1.67.0 (const: 1.67.0) · source

    pub const fn ilog10(self) -> u32

    Returns the base 10 logarithm of the number, rounded down.

    \n
    §Panics
    \n

    This function will panic if self is zero.

    \n
    §Example
    \n
    assert_eq!(10usize.ilog10(), 1);
    \n
    1.67.0 (const: 1.67.0) · source

    pub const fn checked_ilog(self, base: usize) -> Option<u32>

    Returns the logarithm of the number with respect to an arbitrary base,\nrounded down.

    \n

    Returns None if the number is zero, or if the base is not at least 2.

    \n

    This method might not be optimized owing to implementation details;\nchecked_ilog2 can produce results more efficiently for base 2, and\nchecked_ilog10 can produce results more efficiently for base 10.

    \n
    §Examples
    \n
    assert_eq!(5usize.checked_ilog(5), Some(1));
    \n
    1.67.0 (const: 1.67.0) · source

    pub const fn checked_ilog2(self) -> Option<u32>

    Returns the base 2 logarithm of the number, rounded down.

    \n

    Returns None if the number is zero.

    \n
    §Examples
    \n
    assert_eq!(2usize.checked_ilog2(), Some(1));
    \n
    1.67.0 (const: 1.67.0) · source

    pub const fn checked_ilog10(self) -> Option<u32>

    Returns the base 10 logarithm of the number, rounded down.

    \n

    Returns None if the number is zero.

    \n
    §Examples
    \n
    assert_eq!(10usize.checked_ilog10(), Some(1));
    \n
    1.7.0 (const: 1.47.0) · source

    pub const fn checked_neg(self) -> Option<usize>

    Checked negation. Computes -self, returning None unless self == 0.

    \n

    Note that negating any positive integer will overflow.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(0usize.checked_neg(), Some(0));\nassert_eq!(1usize.checked_neg(), None);
    \n
    source

    pub const fn strict_neg(self) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict negation. Computes -self, panicking unless self == 0.

    \n

    Note that negating any positive integer will overflow.

    \n
    §Panics
    §Overflow behavior
    \n

    This function will always panic on overflow, regardless of whether overflow checks are enabled.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(0usize.strict_neg(), 0);
    \n

    The following panics because of overflow:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = 1usize.strict_neg();
    \n
    1.7.0 (const: 1.47.0) · source

    pub const fn checked_shl(self, rhs: u32) -> Option<usize>

    Checked shift left. Computes self << rhs, returning None\nif rhs is larger than or equal to the number of bits in self.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(0x1usize.checked_shl(4), Some(0x10));\nassert_eq!(0x10usize.checked_shl(129), None);
    \n
    source

    pub const fn strict_shl(self, rhs: u32) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict shift left. Computes self << rhs, panicking if rhs is larger\nthan or equal to the number of bits in self.

    \n
    §Panics
    §Overflow behavior
    \n

    This function will always panic on overflow, regardless of whether overflow checks are enabled.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(0x1usize.strict_shl(4), 0x10);
    \n

    The following panics because of overflow:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = 0x10usize.strict_shl(129);
    \n
    source

    pub const unsafe fn unchecked_shl(self, rhs: u32) -> usize

    🔬This is a nightly-only experimental API. (unchecked_shifts)

    Unchecked shift left. Computes self << rhs, assuming that\nrhs is less than the number of bits in self.

    \n
    §Safety
    \n

    This results in undefined behavior if rhs is larger than\nor equal to the number of bits in self,\ni.e. when checked_shl would return None.

    \n
    1.7.0 (const: 1.47.0) · source

    pub const fn checked_shr(self, rhs: u32) -> Option<usize>

    Checked shift right. Computes self >> rhs, returning None\nif rhs is larger than or equal to the number of bits in self.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(0x10usize.checked_shr(4), Some(0x1));\nassert_eq!(0x10usize.checked_shr(129), None);
    \n
    source

    pub const fn strict_shr(self, rhs: u32) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict shift right. Computes self >> rhs, panicking rhs is\nlarger than or equal to the number of bits in self.

    \n
    §Panics
    §Overflow behavior
    \n

    This function will always panic on overflow, regardless of whether overflow checks are enabled.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(0x10usize.strict_shr(4), 0x1);
    \n

    The following panics because of overflow:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = 0x10usize.strict_shr(129);
    \n
    source

    pub const unsafe fn unchecked_shr(self, rhs: u32) -> usize

    🔬This is a nightly-only experimental API. (unchecked_shifts)

    Unchecked shift right. Computes self >> rhs, assuming that\nrhs is less than the number of bits in self.

    \n
    §Safety
    \n

    This results in undefined behavior if rhs is larger than\nor equal to the number of bits in self,\ni.e. when checked_shr would return None.

    \n
    1.34.0 (const: 1.50.0) · source

    pub const fn checked_pow(self, exp: u32) -> Option<usize>

    Checked exponentiation. Computes self.pow(exp), returning None if\noverflow occurred.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(2usize.checked_pow(5), Some(32));\nassert_eq!(usize::MAX.checked_pow(2), None);
    \n
    source

    pub const fn strict_pow(self, exp: u32) -> usize

    🔬This is a nightly-only experimental API. (strict_overflow_ops)

    Strict exponentiation. Computes self.pow(exp), panicking if\noverflow occurred.

    \n
    §Panics
    §Overflow behavior
    \n

    This function will always panic on overflow, regardless of whether overflow checks are enabled.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(strict_overflow_ops)]\nassert_eq!(2usize.strict_pow(5), 32);
    \n

    The following panics because of overflow:

    \n\n
    #![feature(strict_overflow_ops)]\nlet _ = usize::MAX.strict_pow(2);
    \n
    1.0.0 (const: 1.47.0) · source

    pub const fn saturating_add(self, rhs: usize) -> usize

    Saturating integer addition. Computes self + rhs, saturating at\nthe numeric bounds instead of overflowing.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(100usize.saturating_add(1), 101);\nassert_eq!(usize::MAX.saturating_add(127), usize::MAX);
    \n
    1.66.0 (const: 1.66.0) · source

    pub const fn saturating_add_signed(self, rhs: isize) -> usize

    Saturating addition with a signed integer. Computes self + rhs,\nsaturating at the numeric bounds instead of overflowing.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(1usize.saturating_add_signed(2), 3);\nassert_eq!(1usize.saturating_add_signed(-2), 0);\nassert_eq!((usize::MAX - 2).saturating_add_signed(4), usize::MAX);
    \n
    1.0.0 (const: 1.47.0) · source

    pub const fn saturating_sub(self, rhs: usize) -> usize

    Saturating integer subtraction. Computes self - rhs, saturating\nat the numeric bounds instead of overflowing.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(100usize.saturating_sub(27), 73);\nassert_eq!(13usize.saturating_sub(127), 0);
    \n
    1.7.0 (const: 1.47.0) · source

    pub const fn saturating_mul(self, rhs: usize) -> usize

    Saturating integer multiplication. Computes self * rhs,\nsaturating at the numeric bounds instead of overflowing.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(2usize.saturating_mul(10), 20);\nassert_eq!((usize::MAX).saturating_mul(10), usize::MAX);
    \n
    1.58.0 (const: 1.58.0) · source

    pub const fn saturating_div(self, rhs: usize) -> usize

    Saturating integer division. Computes self / rhs, saturating at the\nnumeric bounds instead of overflowing.

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(5usize.saturating_div(2), 2);\n
    \n
    1.34.0 (const: 1.50.0) · source

    pub const fn saturating_pow(self, exp: u32) -> usize

    Saturating integer exponentiation. Computes self.pow(exp),\nsaturating at the numeric bounds instead of overflowing.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(4usize.saturating_pow(3), 64);\nassert_eq!(usize::MAX.saturating_pow(2), usize::MAX);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn wrapping_add(self, rhs: usize) -> usize

    Wrapping (modular) addition. Computes self + rhs,\nwrapping around at the boundary of the type.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(200usize.wrapping_add(55), 255);\nassert_eq!(200usize.wrapping_add(usize::MAX), 199);
    \n
    1.66.0 (const: 1.66.0) · source

    pub const fn wrapping_add_signed(self, rhs: isize) -> usize

    Wrapping (modular) addition with a signed integer. Computes\nself + rhs, wrapping around at the boundary of the type.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(1usize.wrapping_add_signed(2), 3);\nassert_eq!(1usize.wrapping_add_signed(-2), usize::MAX);\nassert_eq!((usize::MAX - 2).wrapping_add_signed(4), 1);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn wrapping_sub(self, rhs: usize) -> usize

    Wrapping (modular) subtraction. Computes self - rhs,\nwrapping around at the boundary of the type.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(100usize.wrapping_sub(100), 0);\nassert_eq!(100usize.wrapping_sub(usize::MAX), 101);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn wrapping_mul(self, rhs: usize) -> usize

    Wrapping (modular) multiplication. Computes self * rhs, wrapping around at the boundary of the type.

    \n
    §Examples
    \n

    Basic usage:

    \n

    Please note that this example is shared between integer types.\nWhich explains why u8 is used here.

    \n\n
    assert_eq!(10u8.wrapping_mul(12), 120);\nassert_eq!(25u8.wrapping_mul(12), 44);
    \n
    1.2.0 (const: 1.52.0) · source

    pub const fn wrapping_div(self, rhs: usize) -> usize

    Wrapping (modular) division. Computes self / rhs.\nWrapped division on unsigned types is just normal division.\nThere’s no way wrapping could ever happen.\nThis function exists, so that all operations\nare accounted for in the wrapping operations.

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(100usize.wrapping_div(10), 10);
    \n
    1.38.0 (const: 1.52.0) · source

    pub const fn wrapping_div_euclid(self, rhs: usize) -> usize

    Wrapping Euclidean division. Computes self.div_euclid(rhs).\nWrapped division on unsigned types is just normal division.\nThere’s no way wrapping could ever happen.\nThis function exists, so that all operations\nare accounted for in the wrapping operations.\nSince, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self.wrapping_div(rhs).

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(100usize.wrapping_div_euclid(10), 10);
    \n
    1.2.0 (const: 1.52.0) · source

    pub const fn wrapping_rem(self, rhs: usize) -> usize

    Wrapping (modular) remainder. Computes self % rhs.\nWrapped remainder calculation on unsigned types is\njust the regular remainder calculation.\nThere’s no way wrapping could ever happen.\nThis function exists, so that all operations\nare accounted for in the wrapping operations.

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(100usize.wrapping_rem(10), 0);
    \n
    1.38.0 (const: 1.52.0) · source

    pub const fn wrapping_rem_euclid(self, rhs: usize) -> usize

    Wrapping Euclidean modulo. Computes self.rem_euclid(rhs).\nWrapped modulo calculation on unsigned types is\njust the regular remainder calculation.\nThere’s no way wrapping could ever happen.\nThis function exists, so that all operations\nare accounted for in the wrapping operations.\nSince, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self.wrapping_rem(rhs).

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(100usize.wrapping_rem_euclid(10), 0);
    \n
    1.2.0 (const: 1.32.0) · source

    pub const fn wrapping_neg(self) -> usize

    Wrapping (modular) negation. Computes -self,\nwrapping around at the boundary of the type.

    \n

    Since unsigned types do not have negative equivalents\nall applications of this function will wrap (except for -0).\nFor values smaller than the corresponding signed type’s maximum\nthe result is the same as casting the corresponding signed value.\nAny larger values are equivalent to MAX + 1 - (val - MAX - 1) where\nMAX is the corresponding signed type’s maximum.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(0_usize.wrapping_neg(), 0);\nassert_eq!(usize::MAX.wrapping_neg(), 1);\nassert_eq!(13_usize.wrapping_neg(), (!13) + 1);\nassert_eq!(42_usize.wrapping_neg(), !(42 - 1));
    \n
    1.2.0 (const: 1.32.0) · source

    pub const fn wrapping_shl(self, rhs: u32) -> usize

    Panic-free bitwise shift-left; yields self << mask(rhs),\nwhere mask removes any high-order bits of rhs that\nwould cause the shift to exceed the bitwidth of the type.

    \n

    Note that this is not the same as a rotate-left; the\nRHS of a wrapping shift-left is restricted to the range\nof the type, rather than the bits shifted out of the LHS\nbeing returned to the other end. The primitive integer\ntypes all implement a rotate_left function,\nwhich may be what you want instead.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(1usize.wrapping_shl(7), 128);\nassert_eq!(1usize.wrapping_shl(128), 1);
    \n
    1.2.0 (const: 1.32.0) · source

    pub const fn wrapping_shr(self, rhs: u32) -> usize

    Panic-free bitwise shift-right; yields self >> mask(rhs),\nwhere mask removes any high-order bits of rhs that\nwould cause the shift to exceed the bitwidth of the type.

    \n

    Note that this is not the same as a rotate-right; the\nRHS of a wrapping shift-right is restricted to the range\nof the type, rather than the bits shifted out of the LHS\nbeing returned to the other end. The primitive integer\ntypes all implement a rotate_right function,\nwhich may be what you want instead.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(128usize.wrapping_shr(7), 1);\nassert_eq!(128usize.wrapping_shr(128), 128);
    \n
    1.34.0 (const: 1.50.0) · source

    pub const fn wrapping_pow(self, exp: u32) -> usize

    Wrapping (modular) exponentiation. Computes self.pow(exp),\nwrapping around at the boundary of the type.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(3usize.wrapping_pow(5), 243);\nassert_eq!(3u8.wrapping_pow(6), 217);
    \n
    1.7.0 (const: 1.32.0) · source

    pub const fn overflowing_add(self, rhs: usize) -> (usize, bool)

    Calculates self + rhs

    \n

    Returns a tuple of the addition along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

    \n
    §Examples
    \n

    Basic usage

    \n\n
    assert_eq!(5usize.overflowing_add(2), (7, false));\nassert_eq!(usize::MAX.overflowing_add(1), (0, true));
    \n
    source

    pub const fn carrying_add(self, rhs: usize, carry: bool) -> (usize, bool)

    🔬This is a nightly-only experimental API. (bigint_helper_methods)

    Calculates self + rhs + carry and returns a tuple containing\nthe sum and the output carry.

    \n

    Performs “ternary addition” of two integer operands and a carry-in\nbit, and returns an output integer and a carry-out bit. This allows\nchaining together multiple additions to create a wider addition, and\ncan be useful for bignum addition.

    \n

    This can be thought of as a 64-bit “full adder”, in the electronics sense.

    \n

    If the input carry is false, this method is equivalent to\noverflowing_add, and the output carry is\nequal to the overflow flag. Note that although carry and overflow\nflags are similar for unsigned integers, they are different for\nsigned integers.

    \n
    §Examples
    \n
    #![feature(bigint_helper_methods)]\n\n//    3  MAX    (a = 3 × 2^64 + 2^64 - 1)\n// +  5    7    (b = 5 × 2^64 + 7)\n// ---------\n//    9    6    (sum = 9 × 2^64 + 6)\n\nlet (a1, a0): (usize, usize) = (3, usize::MAX);\nlet (b1, b0): (usize, usize) = (5, 7);\nlet carry0 = false;\n\nlet (sum0, carry1) = a0.carrying_add(b0, carry0);\nassert_eq!(carry1, true);\nlet (sum1, carry2) = a1.carrying_add(b1, carry1);\nassert_eq!(carry2, false);\n\nassert_eq!((sum1, sum0), (9, 6));
    \n
    1.66.0 (const: 1.66.0) · source

    pub const fn overflowing_add_signed(self, rhs: isize) -> (usize, bool)

    Calculates self + rhs with a signed rhs

    \n

    Returns a tuple of the addition along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(1usize.overflowing_add_signed(2), (3, false));\nassert_eq!(1usize.overflowing_add_signed(-2), (usize::MAX, true));\nassert_eq!((usize::MAX - 2).overflowing_add_signed(4), (1, true));
    \n
    1.7.0 (const: 1.32.0) · source

    pub const fn overflowing_sub(self, rhs: usize) -> (usize, bool)

    Calculates self - rhs

    \n

    Returns a tuple of the subtraction along with a boolean indicating\nwhether an arithmetic overflow would occur. If an overflow would\nhave occurred then the wrapped value is returned.

    \n
    §Examples
    \n

    Basic usage

    \n\n
    assert_eq!(5usize.overflowing_sub(2), (3, false));\nassert_eq!(0usize.overflowing_sub(1), (usize::MAX, true));
    \n
    source

    pub const fn borrowing_sub(self, rhs: usize, borrow: bool) -> (usize, bool)

    🔬This is a nightly-only experimental API. (bigint_helper_methods)

    Calculates selfrhsborrow and returns a tuple\ncontaining the difference and the output borrow.

    \n

    Performs “ternary subtraction” by subtracting both an integer\noperand and a borrow-in bit from self, and returns an output\ninteger and a borrow-out bit. This allows chaining together multiple\nsubtractions to create a wider subtraction, and can be useful for\nbignum subtraction.

    \n
    §Examples
    \n
    #![feature(bigint_helper_methods)]\n\n//    9    6    (a = 9 × 2^64 + 6)\n// -  5    7    (b = 5 × 2^64 + 7)\n// ---------\n//    3  MAX    (diff = 3 × 2^64 + 2^64 - 1)\n\nlet (a1, a0): (usize, usize) = (9, 6);\nlet (b1, b0): (usize, usize) = (5, 7);\nlet borrow0 = false;\n\nlet (diff0, borrow1) = a0.borrowing_sub(b0, borrow0);\nassert_eq!(borrow1, true);\nlet (diff1, borrow2) = a1.borrowing_sub(b1, borrow1);\nassert_eq!(borrow2, false);\n\nassert_eq!((diff1, diff0), (3, usize::MAX));
    \n
    1.60.0 (const: 1.60.0) · source

    pub const fn abs_diff(self, other: usize) -> usize

    Computes the absolute difference between self and other.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(100usize.abs_diff(80), 20usize);\nassert_eq!(100usize.abs_diff(110), 10usize);
    \n
    1.7.0 (const: 1.32.0) · source

    pub const fn overflowing_mul(self, rhs: usize) -> (usize, bool)

    Calculates the multiplication of self and rhs.

    \n

    Returns a tuple of the multiplication along with a boolean\nindicating whether an arithmetic overflow would occur. If an\noverflow would have occurred then the wrapped value is returned.

    \n
    §Examples
    \n

    Basic usage:

    \n

    Please note that this example is shared between integer types.\nWhich explains why u32 is used here.

    \n\n
    assert_eq!(5u32.overflowing_mul(2), (10, false));\nassert_eq!(1_000_000_000u32.overflowing_mul(10), (1410065408, true));
    \n
    1.7.0 (const: 1.52.0) · source

    pub const fn overflowing_div(self, rhs: usize) -> (usize, bool)

    Calculates the divisor when self is divided by rhs.

    \n

    Returns a tuple of the divisor along with a boolean indicating\nwhether an arithmetic overflow would occur. Note that for unsigned\nintegers overflow never occurs, so the second value is always\nfalse.

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage

    \n\n
    assert_eq!(5usize.overflowing_div(2), (2, false));
    \n
    1.38.0 (const: 1.52.0) · source

    pub const fn overflowing_div_euclid(self, rhs: usize) -> (usize, bool)

    Calculates the quotient of Euclidean division self.div_euclid(rhs).

    \n

    Returns a tuple of the divisor along with a boolean indicating\nwhether an arithmetic overflow would occur. Note that for unsigned\nintegers overflow never occurs, so the second value is always\nfalse.\nSince, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self.overflowing_div(rhs).

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage

    \n\n
    assert_eq!(5usize.overflowing_div_euclid(2), (2, false));
    \n
    1.7.0 (const: 1.52.0) · source

    pub const fn overflowing_rem(self, rhs: usize) -> (usize, bool)

    Calculates the remainder when self is divided by rhs.

    \n

    Returns a tuple of the remainder after dividing along with a boolean\nindicating whether an arithmetic overflow would occur. Note that for\nunsigned integers overflow never occurs, so the second value is\nalways false.

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage

    \n\n
    assert_eq!(5usize.overflowing_rem(2), (1, false));
    \n
    1.38.0 (const: 1.52.0) · source

    pub const fn overflowing_rem_euclid(self, rhs: usize) -> (usize, bool)

    Calculates the remainder self.rem_euclid(rhs) as if by Euclidean division.

    \n

    Returns a tuple of the modulo after dividing along with a boolean\nindicating whether an arithmetic overflow would occur. Note that for\nunsigned integers overflow never occurs, so the second value is\nalways false.\nSince, for the positive integers, all common\ndefinitions of division are equal, this operation\nis exactly equal to self.overflowing_rem(rhs).

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage

    \n\n
    assert_eq!(5usize.overflowing_rem_euclid(2), (1, false));
    \n
    1.7.0 (const: 1.32.0) · source

    pub const fn overflowing_neg(self) -> (usize, bool)

    Negates self in an overflowing fashion.

    \n

    Returns !self + 1 using wrapping operations to return the value\nthat represents the negation of this unsigned value. Note that for\npositive unsigned values overflow always occurs, but negating 0 does\nnot overflow.

    \n
    §Examples
    \n

    Basic usage

    \n\n
    assert_eq!(0usize.overflowing_neg(), (0, false));\nassert_eq!(2usize.overflowing_neg(), (-2i32 as usize, true));
    \n
    1.7.0 (const: 1.32.0) · source

    pub const fn overflowing_shl(self, rhs: u32) -> (usize, bool)

    Shifts self left by rhs bits.

    \n

    Returns a tuple of the shifted version of self along with a boolean\nindicating whether the shift value was larger than or equal to the\nnumber of bits. If the shift value is too large, then value is\nmasked (N-1) where N is the number of bits, and this value is then\nused to perform the shift.

    \n
    §Examples
    \n

    Basic usage

    \n\n
    assert_eq!(0x1usize.overflowing_shl(4), (0x10, false));\nassert_eq!(0x1usize.overflowing_shl(132), (0x10, true));
    \n
    1.7.0 (const: 1.32.0) · source

    pub const fn overflowing_shr(self, rhs: u32) -> (usize, bool)

    Shifts self right by rhs bits.

    \n

    Returns a tuple of the shifted version of self along with a boolean\nindicating whether the shift value was larger than or equal to the\nnumber of bits. If the shift value is too large, then value is\nmasked (N-1) where N is the number of bits, and this value is then\nused to perform the shift.

    \n
    §Examples
    \n

    Basic usage

    \n\n
    assert_eq!(0x10usize.overflowing_shr(4), (0x1, false));\nassert_eq!(0x10usize.overflowing_shr(132), (0x1, true));
    \n
    1.34.0 (const: 1.50.0) · source

    pub const fn overflowing_pow(self, exp: u32) -> (usize, bool)

    Raises self to the power of exp, using exponentiation by squaring.

    \n

    Returns a tuple of the exponentiation along with a bool indicating\nwhether an overflow happened.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(3usize.overflowing_pow(5), (243, false));\nassert_eq!(3u8.overflowing_pow(6), (217, true));
    \n
    1.0.0 (const: 1.50.0) · source

    pub const fn pow(self, exp: u32) -> usize

    Raises self to the power of exp, using exponentiation by squaring.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(2usize.pow(5), 32);
    \n
    source

    pub const fn isqrt(self) -> usize

    🔬This is a nightly-only experimental API. (isqrt)

    Returns the square root of the number, rounded down.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(isqrt)]\nassert_eq!(10usize.isqrt(), 3);
    \n
    1.38.0 (const: 1.52.0) · source

    pub const fn div_euclid(self, rhs: usize) -> usize

    Performs Euclidean division.

    \n

    Since, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self / rhs.

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(7usize.div_euclid(4), 1); // or any other integer type
    \n
    1.38.0 (const: 1.52.0) · source

    pub const fn rem_euclid(self, rhs: usize) -> usize

    Calculates the least remainder of self (mod rhs).

    \n

    Since, for the positive integers, all common\ndefinitions of division are equal, this\nis exactly equal to self % rhs.

    \n
    §Panics
    \n

    This function will panic if rhs is 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(7usize.rem_euclid(4), 3); // or any other integer type
    \n
    source

    pub const fn div_floor(self, rhs: usize) -> usize

    🔬This is a nightly-only experimental API. (int_roundings)

    Calculates the quotient of self and rhs, rounding the result towards negative infinity.

    \n

    This is the same as performing self / rhs for all unsigned integers.

    \n
    §Panics
    \n

    This function will panic if rhs is zero.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(int_roundings)]\nassert_eq!(7_usize.div_floor(4), 1);
    \n
    1.73.0 (const: 1.73.0) · source

    pub const fn div_ceil(self, rhs: usize) -> usize

    Calculates the quotient of self and rhs, rounding the result towards positive infinity.

    \n
    §Panics
    \n

    This function will panic if rhs is zero.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(7_usize.div_ceil(4), 2);
    \n
    1.73.0 (const: 1.73.0) · source

    pub const fn next_multiple_of(self, rhs: usize) -> usize

    Calculates the smallest value greater than or equal to self that\nis a multiple of rhs.

    \n
    §Panics
    \n

    This function will panic if rhs is zero.

    \n
    §Overflow behavior
    \n

    On overflow, this function will panic if overflow checks are enabled (default in debug\nmode) and wrap if overflow checks are disabled (default in release mode).

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(16_usize.next_multiple_of(8), 16);\nassert_eq!(23_usize.next_multiple_of(8), 24);
    \n
    1.73.0 (const: 1.73.0) · source

    pub const fn checked_next_multiple_of(self, rhs: usize) -> Option<usize>

    Calculates the smallest value greater than or equal to self that\nis a multiple of rhs. Returns None if rhs is zero or the\noperation would result in overflow.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(16_usize.checked_next_multiple_of(8), Some(16));\nassert_eq!(23_usize.checked_next_multiple_of(8), Some(24));\nassert_eq!(1_usize.checked_next_multiple_of(0), None);\nassert_eq!(usize::MAX.checked_next_multiple_of(2), None);
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn is_power_of_two(self) -> bool

    Returns true if and only if self == 2^k for some k.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert!(16usize.is_power_of_two());\nassert!(!10usize.is_power_of_two());
    \n
    1.0.0 (const: 1.50.0) · source

    pub const fn next_power_of_two(self) -> usize

    Returns the smallest power of two greater than or equal to self.

    \n

    When return value overflows (i.e., self > (1 << (N-1)) for type\nuN), it panics in debug mode and the return value is wrapped to 0 in\nrelease mode (the only situation in which this method can return 0).

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(2usize.next_power_of_two(), 2);\nassert_eq!(3usize.next_power_of_two(), 4);\nassert_eq!(0usize.next_power_of_two(), 1);
    \n
    1.0.0 (const: 1.50.0) · source

    pub const fn checked_next_power_of_two(self) -> Option<usize>

    Returns the smallest power of two greater than or equal to self. If\nthe next power of two is greater than the type’s maximum value,\nNone is returned, otherwise the power of two is wrapped in Some.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(2usize.checked_next_power_of_two(), Some(2));\nassert_eq!(3usize.checked_next_power_of_two(), Some(4));\nassert_eq!(usize::MAX.checked_next_power_of_two(), None);
    \n
    source

    pub const fn wrapping_next_power_of_two(self) -> usize

    🔬This is a nightly-only experimental API. (wrapping_next_power_of_two)

    Returns the smallest power of two greater than or equal to n. If\nthe next power of two is greater than the type’s maximum value,\nthe return value is wrapped to 0.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    #![feature(wrapping_next_power_of_two)]\n\nassert_eq!(2usize.wrapping_next_power_of_two(), 2);\nassert_eq!(3usize.wrapping_next_power_of_two(), 4);\nassert_eq!(usize::MAX.wrapping_next_power_of_two(), 0);
    \n
    1.32.0 (const: 1.44.0) · source

    pub const fn to_be_bytes(self) -> [u8; 8]

    Return the memory representation of this integer as a byte array in\nbig-endian (network) byte order.

    \n

    Note: This function returns an array of length 2, 4 or 8 bytes\ndepending on the target pointer size.

    \n
    §Examples
    \n
    let bytes = 0x1234567890123456usize.to_be_bytes();\nassert_eq!(bytes, [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]);
    \n
    1.32.0 (const: 1.44.0) · source

    pub const fn to_le_bytes(self) -> [u8; 8]

    Return the memory representation of this integer as a byte array in\nlittle-endian byte order.

    \n

    Note: This function returns an array of length 2, 4 or 8 bytes\ndepending on the target pointer size.

    \n
    §Examples
    \n
    let bytes = 0x1234567890123456usize.to_le_bytes();\nassert_eq!(bytes, [0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]);
    \n
    1.32.0 (const: 1.44.0) · source

    pub const fn to_ne_bytes(self) -> [u8; 8]

    Return the memory representation of this integer as a byte array in\nnative byte order.

    \n

    As the target platform’s native endianness is used, portable code\nshould use to_be_bytes or to_le_bytes, as appropriate,\ninstead.

    \n

    Note: This function returns an array of length 2, 4 or 8 bytes\ndepending on the target pointer size.

    \n
    §Examples
    \n
    let bytes = 0x1234567890123456usize.to_ne_bytes();\nassert_eq!(\n    bytes,\n    if cfg!(target_endian = \"big\") {\n        [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]\n    } else {\n        [0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]\n    }\n);
    \n
    1.32.0 (const: 1.44.0) · source

    pub const fn from_be_bytes(bytes: [u8; 8]) -> usize

    Create a native endian integer value from its representation\nas a byte array in big endian.

    \n

    Note: This function takes an array of length 2, 4 or 8 bytes\ndepending on the target pointer size.

    \n
    §Examples
    \n
    let value = usize::from_be_bytes([0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]);\nassert_eq!(value, 0x1234567890123456);
    \n

    When starting from a slice rather than an array, fallible conversion APIs can be used:

    \n\n
    fn read_be_usize(input: &mut &[u8]) -> usize {\n    let (int_bytes, rest) = input.split_at(std::mem::size_of::<usize>());\n    *input = rest;\n    usize::from_be_bytes(int_bytes.try_into().unwrap())\n}
    \n
    1.32.0 (const: 1.44.0) · source

    pub const fn from_le_bytes(bytes: [u8; 8]) -> usize

    Create a native endian integer value from its representation\nas a byte array in little endian.

    \n

    Note: This function takes an array of length 2, 4 or 8 bytes\ndepending on the target pointer size.

    \n
    §Examples
    \n
    let value = usize::from_le_bytes([0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]);\nassert_eq!(value, 0x1234567890123456);
    \n

    When starting from a slice rather than an array, fallible conversion APIs can be used:

    \n\n
    fn read_le_usize(input: &mut &[u8]) -> usize {\n    let (int_bytes, rest) = input.split_at(std::mem::size_of::<usize>());\n    *input = rest;\n    usize::from_le_bytes(int_bytes.try_into().unwrap())\n}
    \n
    1.32.0 (const: 1.44.0) · source

    pub const fn from_ne_bytes(bytes: [u8; 8]) -> usize

    Create a native endian integer value from its memory representation\nas a byte array in native endianness.

    \n

    As the target platform’s native endianness is used, portable code\nlikely wants to use from_be_bytes or from_le_bytes, as\nappropriate instead.

    \n

    Note: This function takes an array of length 2, 4 or 8 bytes\ndepending on the target pointer size.

    \n
    §Examples
    \n
    let value = usize::from_ne_bytes(if cfg!(target_endian = \"big\") {\n    [0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]\n} else {\n    [0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]\n});\nassert_eq!(value, 0x1234567890123456);
    \n

    When starting from a slice rather than an array, fallible conversion APIs can be used:

    \n\n
    fn read_ne_usize(input: &mut &[u8]) -> usize {\n    let (int_bytes, rest) = input.split_at(std::mem::size_of::<usize>());\n    *input = rest;\n    usize::from_ne_bytes(int_bytes.try_into().unwrap())\n}
    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn min_value() -> usize

    👎Deprecating in a future version: replaced by the MIN associated constant on this type

    New code should prefer to use\nusize::MIN instead.

    \n

    Returns the smallest value that can be represented by this integer type.

    \n
    1.0.0 (const: 1.32.0) · source

    pub const fn max_value() -> usize

    👎Deprecating in a future version: replaced by the MAX associated constant on this type

    New code should prefer to use\nusize::MAX instead.

    \n

    Returns the largest value that can be represented by this integer type.

    \n
    source

    pub const fn widening_mul(self, rhs: usize) -> (usize, usize)

    🔬This is a nightly-only experimental API. (bigint_helper_methods)

    Calculates the complete product self * rhs without the possibility to overflow.

    \n

    This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order.

    \n

    If you also need to add a carry to the wide result, then you want\nSelf::carrying_mul instead.

    \n
    §Examples
    \n

    Basic usage:

    \n

    Please note that this example is shared between integer types.\nWhich explains why u32 is used here.

    \n\n
    #![feature(bigint_helper_methods)]\nassert_eq!(5u32.widening_mul(2), (10, 0));\nassert_eq!(1_000_000_000u32.widening_mul(10), (1410065408, 2));
    \n
    source

    pub const fn carrying_mul(self, rhs: usize, carry: usize) -> (usize, usize)

    🔬This is a nightly-only experimental API. (bigint_helper_methods)

    Calculates the “full multiplication” self * rhs + carry\nwithout the possibility to overflow.

    \n

    This returns the low-order (wrapping) bits and the high-order (overflow) bits\nof the result as two separate values, in that order.

    \n

    Performs “long multiplication” which takes in an extra amount to add, and may return an\nadditional amount of overflow. This allows for chaining together multiple\nmultiplications to create “big integers” which represent larger values.

    \n

    If you don’t need the carry, then you can use Self::widening_mul instead.

    \n
    §Examples
    \n

    Basic usage:

    \n

    Please note that this example is shared between integer types.\nWhich explains why u32 is used here.

    \n\n
    #![feature(bigint_helper_methods)]\nassert_eq!(5u32.carrying_mul(2, 0), (10, 0));\nassert_eq!(5u32.carrying_mul(2, 10), (20, 0));\nassert_eq!(1_000_000_000u32.carrying_mul(10, 0), (1410065408, 2));\nassert_eq!(1_000_000_000u32.carrying_mul(10, 10), (1410065418, 2));\nassert_eq!(usize::MAX.carrying_mul(usize::MAX, usize::MAX), (0, usize::MAX));
    \n

    This is the core operation needed for scalar multiplication when\nimplementing it for wider-than-native types.

    \n\n
    #![feature(bigint_helper_methods)]\nfn scalar_mul_eq(little_endian_digits: &mut Vec<u16>, multiplicand: u16) {\n    let mut carry = 0;\n    for d in little_endian_digits.iter_mut() {\n        (*d, carry) = d.carrying_mul(multiplicand, carry);\n    }\n    if carry != 0 {\n        little_endian_digits.push(carry);\n    }\n}\n\nlet mut v = vec![10, 20];\nscalar_mul_eq(&mut v, 3);\nassert_eq!(v, [30, 60]);\n\nassert_eq!(0x87654321_u64 * 0xFEED, 0x86D3D159E38D);\nlet mut v = vec![0x4321, 0x8765];\nscalar_mul_eq(&mut v, 0xFEED);\nassert_eq!(v, [0xE38D, 0xD159, 0x86D3]);
    \n

    If carry is zero, this is similar to overflowing_mul,\nexcept that it gives the value of the overflow instead of just whether one happened:

    \n\n
    #![feature(bigint_helper_methods)]\nlet r = u8::carrying_mul(7, 13, 0);\nassert_eq!((r.0, r.1 != 0), u8::overflowing_mul(7, 13));\nlet r = u8::carrying_mul(13, 42, 0);\nassert_eq!((r.0, r.1 != 0), u8::overflowing_mul(13, 42));
    \n

    The value of the first field in the returned tuple matches what you’d get\nby combining the wrapping_mul and\nwrapping_add methods:

    \n\n
    #![feature(bigint_helper_methods)]\nassert_eq!(\n    789_u16.carrying_mul(456, 123).0,\n    789_u16.wrapping_mul(456).wrapping_add(123),\n);
    \n
    source

    pub const fn midpoint(self, rhs: usize) -> usize

    🔬This is a nightly-only experimental API. (num_midpoint)

    Calculates the middle point of self and rhs.

    \n

    midpoint(a, b) is (a + b) >> 1 as if it were performed in a\nsufficiently-large signed integral type. This implies that the result is\nalways rounded towards negative infinity and that no overflow will ever occur.

    \n
    §Examples
    \n
    #![feature(num_midpoint)]\nassert_eq!(0usize.midpoint(4), 2);\nassert_eq!(1usize.midpoint(4), 2);
    \n
    ",0,"tor_interface::tor_provider::CircuitToken"],["
    source§

    impl usize

    1.0.0 (const: unstable) · source

    pub fn from_str_radix(src: &str, radix: u32) -> Result<usize, ParseIntError>

    Converts a string slice in a given base to an integer.

    \n

    The string is expected to be an optional + sign\nfollowed by digits.\nLeading and trailing whitespace represent an error.\nDigits are a subset of these characters, depending on radix:

    \n
      \n
    • 0-9
    • \n
    • a-z
    • \n
    • A-Z
    • \n
    \n
    §Panics
    \n

    This function panics if radix is not in the range from 2 to 36.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    assert_eq!(usize::from_str_radix(\"A\", 16), Ok(10));
    \n
    ",0,"tor_interface::tor_provider::CircuitToken"],["
    §

    impl AtLeast16 for usize

    ","AtLeast16","tor_interface::tor_provider::CircuitToken"],["
    §

    impl AtLeast32 for usize

    ","AtLeast32","tor_interface::tor_provider::CircuitToken"],["
    §

    impl AtLeast64 for usize

    ","AtLeast64","tor_interface::tor_provider::CircuitToken"],["
    §

    impl AtLeast8 for usize

    ","AtLeast8","tor_interface::tor_provider::CircuitToken"],["
    §

    impl AtMost128 for usize

    ","AtMost128","tor_interface::tor_provider::CircuitToken"],["
    §

    impl AtMost64 for usize

    ","AtMost64","tor_interface::tor_provider::CircuitToken"],["
    §

    impl BitOps for usize

    ","BitOps","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ConstParamTy for usize

    ","ConstParamTy","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Copy for usize

    ","Copy","tor_interface::tor_provider::CircuitToken"],["
    §

    impl DefaultIsZeroes for usize

    ","DefaultIsZeroes","tor_interface::tor_provider::CircuitToken"],["
    1.0.0 · source§

    impl Eq for usize

    ","Eq","tor_interface::tor_provider::CircuitToken"],["
    §

    impl ExtendTarget<usize> for usize

    ","ExtendTarget","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Index for usize

    ","Index","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Index for usize

    ","Index","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Integer for usize

    ","Integer","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Is64 for usize

    ","Is64","tor_interface::tor_provider::CircuitToken"],["
    §

    impl NotAutoValue for usize

    ","NotAutoValue","tor_interface::tor_provider::CircuitToken"],["
    §

    impl NumericOps for usize

    ","NumericOps","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl SimdCast for usize

    ","SimdCast","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl StructuralPartialEq for usize

    ","StructuralPartialEq","tor_interface::tor_provider::CircuitToken"],["
    §

    impl TruncateTarget<u16> for usize

    ","TruncateTarget","tor_interface::tor_provider::CircuitToken"],["
    §

    impl TruncateTarget<u8> for usize

    ","TruncateTarget","tor_interface::tor_provider::CircuitToken"],["
    §

    impl TruncateTarget<usize> for usize

    ","TruncateTarget","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl TrustedStep for usize

    ","TrustedStep","tor_interface::tor_provider::CircuitToken"],["
    §

    impl Uint for usize

    ","Uint","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Unsigned for usize

    ","Unsigned","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl Weight for usize

    ","Weight","tor_interface::tor_provider::CircuitToken"],["
    source§

    impl ZeroablePrimitive for usize

    ","ZeroablePrimitive","tor_interface::tor_provider::CircuitToken"]] };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})() \ No newline at end of file