#[non_exhaustive]pub enum BlockTarget {
Agent(AgentId),
}Expand description
A selection of targets to be blocked.
Marked as non_exhaustive as other targets might be added later.
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.
Trait Implementations§
Source§impl Clone for BlockTarget
impl Clone for BlockTarget
Source§fn clone(&self) -> BlockTarget
fn clone(&self) -> BlockTarget
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 BlockTarget
impl Debug for BlockTarget
Source§impl Hash for BlockTarget
impl Hash for BlockTarget
Source§impl PartialEq for BlockTarget
impl PartialEq for BlockTarget
impl Eq for BlockTarget
impl StructuralPartialEq for BlockTarget
Auto Trait Implementations§
impl !Freeze for BlockTarget
impl RefUnwindSafe for BlockTarget
impl Send for BlockTarget
impl Sync for BlockTarget
impl Unpin for BlockTarget
impl UnwindSafe for BlockTarget
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