#[non_exhaustive]pub enum ProtocolScope {
Core,
Compatibility,
Companion,
}Expand description
Reporting scope for core and companion protocol behavior.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Core
RFC 4648 core codec behavior.
Compatibility
Explicit compatibility behavior that is not strict RFC 4648.
Companion
A separately named companion protocol.
Implementations§
Trait Implementations§
Source§impl Clone for ProtocolScope
impl Clone for ProtocolScope
Source§fn clone(&self) -> ProtocolScope
fn clone(&self) -> ProtocolScope
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 ProtocolScope
Source§impl Debug for ProtocolScope
impl Debug for ProtocolScope
impl Eq for ProtocolScope
Source§impl Hash for ProtocolScope
impl Hash for ProtocolScope
Source§impl PartialEq for ProtocolScope
impl PartialEq for ProtocolScope
impl StructuralPartialEq for ProtocolScope
Auto Trait Implementations§
impl Freeze for ProtocolScope
impl RefUnwindSafe for ProtocolScope
impl Send for ProtocolScope
impl Sync for ProtocolScope
impl Unpin for ProtocolScope
impl UnsafeUnpin for ProtocolScope
impl UnwindSafe for ProtocolScope
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