Home
last modified time | relevance | path

Searched defs:ByteCountOutOfBounds (Results 1 – 1 of 1) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dbyte_count.rs48 pub fn new_rounded_up(bytes: usize) -> Result<Self, ByteCountOutOfBounds> { in new_rounded_up() argument
61 pub fn new_rounded_up_u64(bytes: u64) -> Result<Self, ByteCountOutOfBounds> { in new_rounded_up_u64() argument
89 pub fn checked_add(self, bytes: HostAlignedByteCount) -> Result<Self, ByteCountOutOfBounds> { in checked_add() argument
103 pub fn checked_sub(self, bytes: HostAlignedByteCount) -> Result<Self, ByteCountOutOfBounds> { in checked_sub() argument
121 pub fn checked_mul(self, scalar: usize) -> Result<Self, ByteCountOutOfBounds> { in checked_mul() argument
133 pub fn checked_div(self, divisor: HostAlignedByteCount) -> Result<usize, ByteCountOutOfBounds> { in checked_div() argument
145 pub fn checked_rem(self, divisor: HostAlignedByteCount) -> Result<Self, ByteCountOutOfBounds> { in checked_rem() argument
239 pub struct ByteCountOutOfBounds(ByteCountOutOfBoundsKind); struct
241 impl fmt::Display for ByteCountOutOfBounds { implementation
247 impl core::error::Error for ByteCountOutOfBounds {} implementation