#[repr(u8)]pub enum Direction {
TowardReceiver = 0,
TowardSender = 1,
}Expand description
Indicates the direction of the PDU relative to the file transfer direction.
Variants§
TowardReceiver = 0
Toward the entity that receives the file.
TowardSender = 1
Toward the entity that sends the file.
Trait Implementations§
impl Copy for Direction
impl Eq for Direction
impl StructuralPartialEq for Direction
Auto Trait Implementations§
impl Freeze for Direction
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnsafeUnpin for Direction
impl UnwindSafe for Direction
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