pub enum ExtensionReq {
Require,
Allow,
}Expand description
Controls if the response to a requested extension is required to be sent back.
Note when requiring an extension, the extension must not only be sent back but also
contain at least one expected field (e.g., ClientExtensionsOutputs::cred_props must be
Some(CredentialPropertiesOutput { rk: Some(_) }).
If one wants to additionally control the values of an extension, use ExtensionInfo.
Variants§
Require
The response to a requested extension is required to be sent back.
Allow
The response to a requested extension is allowed, but not required, to be sent back.
Trait Implementations§
Source§impl Clone for ExtensionReq
impl Clone for ExtensionReq
impl Copy for ExtensionReq
Source§impl Debug for ExtensionReq
impl Debug for ExtensionReq
impl Eq for ExtensionReq
Source§impl PartialEq for ExtensionReq
impl PartialEq for ExtensionReq
impl StructuralPartialEq for ExtensionReq
Auto Trait Implementations§
impl Freeze for ExtensionReq
impl RefUnwindSafe for ExtensionReq
impl Send for ExtensionReq
impl Sync for ExtensionReq
impl Unpin for ExtensionReq
impl UnsafeUnpin for ExtensionReq
impl UnwindSafe for ExtensionReq
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