#[repr(C)]pub enum Request {
NEWDIR = 1,
NEWFILE = 2,
EOF = 3,
ENDDIR = 4,
WARNING = 5,
}
Variants§
NEWDIR = 1
A new directory is going to be pulled
NEWFILE = 2
A new file is going to be pulled
EOF = 3
End of requests
ENDDIR = 4
End of directory
WARNING = 5
Warning received
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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