pub struct OutgoingFile {
pub name: Vec<u8>,
pub data: Vec<u8>,
}Expand description
A file to send: the name the server should store it under, and its bytes.
Fields§
§name: Vec<u8>Name sent in the F packet.
data: Vec<u8>File contents.
Trait Implementations§
Source§impl Clone for OutgoingFile
impl Clone for OutgoingFile
Source§impl Debug for OutgoingFile
impl Debug for OutgoingFile
impl Eq for OutgoingFile
Source§impl PartialEq for OutgoingFile
impl PartialEq for OutgoingFile
impl StructuralPartialEq for OutgoingFile
Auto Trait Implementations§
impl Forget for OutgoingFile
impl Freeze for OutgoingFile
impl Move for OutgoingFile
impl RefUnwindSafe for OutgoingFile
impl Send for OutgoingFile
impl Sync for OutgoingFile
impl Unpin for OutgoingFile
impl UnsafeUnpin for OutgoingFile
impl UnwindSafe for OutgoingFile
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