pub enum DccPolicy {
DenyAll,
RequirePassword,
LegacyPermissive,
}Expand description
Local DeviceCommunicationControl authorization, not source authentication.
Variants§
DenyAll
Deny all valid DCC modes, even with a correct configured password.
RequirePassword
Allow supported modes only with a configured nonempty password.
LegacyPermissive
INSECURE compatibility mode: preserve optional-password authorization. A configured password is still checked; absence permits any requester.
Implementations§
Trait Implementations§
impl Copy for DccPolicy
impl Eq for DccPolicy
impl StructuralPartialEq for DccPolicy
Auto Trait Implementations§
impl Freeze for DccPolicy
impl RefUnwindSafe for DccPolicy
impl Send for DccPolicy
impl Sync for DccPolicy
impl Unpin for DccPolicy
impl UnsafeUnpin for DccPolicy
impl UnwindSafe for DccPolicy
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