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