pub struct BaseRuleSetSynchronousProxy { /* private fields */ }
Implementations§
Source§impl BaseRuleSetSynchronousProxy
impl BaseRuleSetSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<BaseRuleSetEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<BaseRuleSetEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
Sourcepub fn authenticate_for_route_table(
&self,
table: u32,
token: Event,
___deadline: MonotonicInstant,
) -> Result<BaseRuleSetAuthenticateForRouteTableResult, Error>
pub fn authenticate_for_route_table( &self, table: u32, token: Event, ___deadline: MonotonicInstant, ) -> Result<BaseRuleSetAuthenticateForRouteTableResult, Error>
Authenticates for a route table that will be used in an action.
Sourcepub fn remove_rule(
&self,
index: u32,
___deadline: MonotonicInstant,
) -> Result<BaseRuleSetRemoveRuleResult, Error>
pub fn remove_rule( &self, index: u32, ___deadline: MonotonicInstant, ) -> Result<BaseRuleSetRemoveRuleResult, Error>
Removes a rule from this rule set.
If the client tries to remove from an index that does not have a rule,
the error RULE_DOES_NOT_EXIST
will be returned.
- request
index
the index of the rule.
Trait Implementations§
Source§impl Debug for BaseRuleSetSynchronousProxy
impl Debug for BaseRuleSetSynchronousProxy
Source§impl SynchronousProxy for BaseRuleSetSynchronousProxy
impl SynchronousProxy for BaseRuleSetSynchronousProxy
Source§type Proxy = BaseRuleSetProxy
type Proxy = BaseRuleSetProxy
The async proxy for the same protocol.
Source§type Protocol = BaseRuleSetMarker
type Protocol = BaseRuleSetMarker
The protocol which this
Proxy
controls.Source§fn from_channel(inner: Channel) -> Self
fn from_channel(inner: Channel) -> Self
Create a proxy over the given channel.
Source§fn into_channel(self) -> Channel
fn into_channel(self) -> Channel
Convert the proxy back into a channel.
Source§fn as_channel(&self) -> &Channel
fn as_channel(&self) -> &Channel
Get a reference to the proxy’s underlying channel. Read more
Auto Trait Implementations§
impl Freeze for BaseRuleSetSynchronousProxy
impl RefUnwindSafe for BaseRuleSetSynchronousProxy
impl Send for BaseRuleSetSynchronousProxy
impl Sync for BaseRuleSetSynchronousProxy
impl Unpin for BaseRuleSetSynchronousProxy
impl UnwindSafe for BaseRuleSetSynchronousProxy
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