pub struct ProtocolOptions {
pub enforce_strict_capabilities: bool,
pub debounced_notification_methods: Vec<String>,
}Expand description
Protocol options for configuring behavior.
Fields§
§enforce_strict_capabilities: boolWhether to enforce strict capability checking.
debounced_notification_methods: Vec<String>Methods that should be debounced.
Trait Implementations§
Source§impl Clone for ProtocolOptions
impl Clone for ProtocolOptions
Source§fn clone(&self) -> ProtocolOptions
fn clone(&self) -> ProtocolOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProtocolOptions
impl Debug for ProtocolOptions
Source§impl Default for ProtocolOptions
impl Default for ProtocolOptions
Source§fn default() -> ProtocolOptions
fn default() -> ProtocolOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProtocolOptions
impl RefUnwindSafe for ProtocolOptions
impl Send for ProtocolOptions
impl Sync for ProtocolOptions
impl Unpin for ProtocolOptions
impl UnsafeUnpin for ProtocolOptions
impl UnwindSafe for ProtocolOptions
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