agde::hash_check

Struct Request

source
pub struct Request { /* private fields */ }
Expand description

A check to affirm the selected resources contain the same data.

For this to work, we assume the resulting hash is unique.

§Eq implementation

If the receiver is the same, this is considered equal. Only one of these conversations should be communicated at once, therefore the filter doesn’t matter.

Implementations§

source§

impl Request

source

pub fn recipient(&self) -> Uuid

Get the receiver’s UUID.

source

pub fn matches(&self, resource: &str) -> bool

Test if resource is included in the requested hash check.

source

pub fn unwinder<'a>(&self, manager: &'a