pub enum PathOrFileDescriptorOption {
Path(PathBuf),
Fd(usize),
}
Variants§
Trait Implementations§
Source§impl Clone for PathOrFileDescriptorOption
impl Clone for PathOrFileDescriptorOption
Source§fn clone(&self) -> PathOrFileDescriptorOption
fn clone(&self) -> PathOrFileDescriptorOption
Returns a copy 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 PathOrFileDescriptorOption
impl Debug for PathOrFileDescriptorOption
Source§impl<'de> Deserialize<'de> for PathOrFileDescriptorOption
impl<'de> Deserialize<'de> for PathOrFileDescriptorOption
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PathOrFileDescriptorOption
impl StructuralPartialEq for PathOrFileDescriptorOption
Auto Trait Implementations§
impl Freeze for PathOrFileDescriptorOption
impl RefUnwindSafe for PathOrFileDescriptorOption
impl Send for PathOrFileDescriptorOption
impl Sync for PathOrFileDescriptorOption
impl Unpin for PathOrFileDescriptorOption
impl UnwindSafe for PathOrFileDescriptorOption
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