pub enum DestinationType {
Local,
Network,
File,
}Variants§
Implementations§
Source§impl DestinationType
impl DestinationType
pub fn is_network(&self) -> bool
Trait Implementations§
Source§impl Clone for DestinationType
impl Clone for DestinationType
Source§fn clone(&self) -> DestinationType
fn clone(&self) -> DestinationType
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 moreSource§impl Debug for DestinationType
impl Debug for DestinationType
Source§impl PartialEq for DestinationType
impl PartialEq for DestinationType
Source§fn eq(&self, other: &DestinationType) -> bool
fn eq(&self, other: &DestinationType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DestinationType
impl Eq for DestinationType
impl StructuralPartialEq for DestinationType
Auto Trait Implementations§
impl Freeze for DestinationType
impl RefUnwindSafe for DestinationType
impl Send for DestinationType
impl Sync for DestinationType
impl Unpin for DestinationType
impl UnsafeUnpin for DestinationType
impl UnwindSafe for DestinationType
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