pub struct ReceiveOptions {
pub dir: Option<PathBuf>,
pub port: Option<u16>,
pub auto_accept: bool,
pub pin: Option<String>,
}Expand description
Options for the lanflare receive command.
Fields§
§dir: Option<PathBuf>§port: Option<u16>§auto_accept: bool§pin: Option<String>Trait Implementations§
Source§impl Clone for ReceiveOptions
impl Clone for ReceiveOptions
Source§fn clone(&self) -> ReceiveOptions
fn clone(&self) -> ReceiveOptions
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 moreAuto Trait Implementations§
impl Freeze for ReceiveOptions
impl RefUnwindSafe for ReceiveOptions
impl Send for ReceiveOptions
impl Sync for ReceiveOptions
impl Unpin for ReceiveOptions
impl UnsafeUnpin for ReceiveOptions
impl UnwindSafe for ReceiveOptions
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