pub struct RoleSlice {
pub drive: Drive,
pub command: Vec<String>,
pub max_sessions: u32,
pub required_targets: Vec<String>,
}Expand description
The fields reconfigure consumes.
Fields§
§drive: DriveHow the client talks to the runtime ([client.runtime] drive).
command: Vec<String>§max_sessions: u32§required_targets: Vec<String>The roles a session of this role owes a delivery to (allowed_targets).
It is the whole policy, read twice: the server gates the ACL on it, and
the client’s completion guard owes it.
Implementations§
Source§impl RoleSlice
impl RoleSlice
pub fn from_welcome(welcome: &Welcome) -> Self
pub fn from_role_info(info: &RoleInfo, _current: &RoleSlice) -> Self
Trait Implementations§
impl Eq for RoleSlice
impl StructuralPartialEq for RoleSlice
Auto Trait Implementations§
impl Freeze for RoleSlice
impl RefUnwindSafe for RoleSlice
impl Send for RoleSlice
impl Sync for RoleSlice
impl Unpin for RoleSlice
impl UnsafeUnpin for RoleSlice
impl UnwindSafe for RoleSlice
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.