pub struct MailboxReadGate { /* private fields */ }Expand description
Immutable trusted-local owner/reader policy, composed with an existing gate.
Grants compare both actor kind and complete id. A caller label containing colons is not split into a hierarchy. This configuration is trusted host policy, not caller authentication. Replacing it requires a new serving epoch.
Implementations§
Trait Implementations§
Source§impl Clone for MailboxReadGate
impl Clone for MailboxReadGate
Source§impl Debug for MailboxReadGate
impl Debug for MailboxReadGate
Source§impl Gate for MailboxReadGate
impl Gate for MailboxReadGate
Source§fn check(&self, req: &GateRequest) -> Result<GateDecision, GateError>
fn check(&self, req: &GateRequest) -> Result<GateDecision, GateError>
Evaluate
req, returning an allow/deny decision or a backend GateError.Source§fn check_mailbox_read(
&self,
req: &GateRequest,
owner: &ActorRef,
) -> Result<GateDecision, GateError>
fn check_mailbox_read( &self, req: &GateRequest, owner: &ActorRef, ) -> Result<GateDecision, GateError>
Evaluate the separate capability to read another actor’s mailbox. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for MailboxReadGate
impl !UnwindSafe for MailboxReadGate
impl Freeze for MailboxReadGate
impl Send for MailboxReadGate
impl Sync for MailboxReadGate
impl Unpin for MailboxReadGate
impl UnsafeUnpin for MailboxReadGate
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