pub struct RateLimiter(/* private fields */);
Implementations§
Trait Implementations§
Source§impl AsRef<JsValue> for RateLimiter
impl AsRef<JsValue> for RateLimiter
Source§impl Debug for RateLimiter
impl Debug for RateLimiter
Source§impl EnvBinding for RateLimiter
impl EnvBinding for RateLimiter
Source§impl From<RateLimiter> for JsValue
impl From<RateLimiter> for JsValue
Source§fn from(limiter: RateLimiter) -> Self
fn from(limiter: RateLimiter) -> Self
Converts to this type from the input type.
Source§impl From<RateLimiter> for RateLimiter
impl From<RateLimiter> for RateLimiter
Source§fn from(inner: RateLimiterSys) -> Self
fn from(inner: RateLimiterSys) -> Self
Converts to this type from the input type.
Source§impl JsCast for RateLimiter
impl JsCast for RateLimiter
Source§fn instanceof(val: &JsValue) -> bool
fn instanceof(val: &JsValue) -> bool
Performs a dynamic
instanceof
check to see whether the JsValue
provided is an instance of this type. Read moreSource§fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js(val: JsValue) -> Self
Source§fn unchecked_from_js_ref(val: &JsValue) -> &Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self
Source§fn has_type<T>(&self) -> boolwhere
T: JsCast,
fn has_type<T>(&self) -> boolwhere
T: JsCast,
Test whether this JS value has a type
T
. Read moreSource§fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
Performs a dynamic cast (checked at runtime) of this value into the
target type
T
. Read moreSource§fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
Performs a dynamic cast (checked at runtime) of this value into the
target type
T
. Read moreSource§fn unchecked_into<T>(self) -> Twhere
T: JsCast,
fn unchecked_into<T>(self) -> Twhere
T: JsCast,
Performs a zero-cost unchecked cast into the specified type. Read more
Source§fn unchecked_ref<T>(&self) -> &Twhere
T: JsCast,
fn unchecked_ref<T>(&self) -> &Twhere
T: JsCast,
Performs a zero-cost unchecked cast into a reference to the specified
type. Read more
impl Send for RateLimiter
impl Sync for RateLimiter
Auto Trait Implementations§
impl Freeze for RateLimiter
impl RefUnwindSafe for RateLimiter
impl Unpin for RateLimiter
impl UnwindSafe for RateLimiter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more