pub struct CapManagerConfig {
pub max_delegation_depth: u8,
pub track_derivation: bool,
pub initial_epoch: u32,
}Expand description
Configuration for the capability manager.
Fields§
§max_delegation_depth: u8Maximum delegation depth (default: 8).
track_derivation: boolWhether to track derivation chains (for revocation propagation).
initial_epoch: u32Initial epoch value.
Implementations§
Source§impl CapManagerConfig
impl CapManagerConfig
Sourcepub const fn with_max_depth(self, depth: u8) -> Self
pub const fn with_max_depth(self, depth: u8) -> Self
Sets a custom maximum delegation depth.
Trait Implementations§
Source§impl Clone for CapManagerConfig
impl Clone for CapManagerConfig
Source§fn clone(&self) -> CapManagerConfig
fn clone(&self) -> CapManagerConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CapManagerConfig
Source§impl Debug for CapManagerConfig
impl Debug for CapManagerConfig
Source§impl Default for CapManagerConfig
impl Default for CapManagerConfig
impl Eq for CapManagerConfig
Source§impl PartialEq for CapManagerConfig
impl PartialEq for CapManagerConfig
impl StructuralPartialEq for CapManagerConfig
Auto Trait Implementations§
impl Freeze for CapManagerConfig
impl RefUnwindSafe for CapManagerConfig
impl Send for CapManagerConfig
impl Sync for CapManagerConfig
impl Unpin for CapManagerConfig
impl UnsafeUnpin for CapManagerConfig
impl UnwindSafe for CapManagerConfig
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