[−][src]Enum file_protocol::Message
File protocol message types
Variants
TODO: Decide whether or not to keep this
Receiver should prepare a new temporary storage folder with the specified metadata
File data chunk message
Receiver has successfully gotten all data chunks of the requested file
Receiver is missing the specified file data chunks
(Client Only) Message requesting the recipient to receive the specified file
(Client Only) Message requesting the recipient to transmit the specified file
(Server Only) Recipient has successfully processed a request to receive a file
(Server Only) Recipient has successfully prepared to transmit a file
(Server Only) The transmit or receive request has failed to be completed
Request Cleanup of either whole storage directory or individual file's storage
Trait Implementations
impl Eq for Message
[src]
impl Clone for Message
[src]
impl PartialEq<Message> for Message
[src]
impl Debug for Message
[src]
Auto Trait Implementations
impl Send for Message
impl Unpin for Message
impl Sync for Message
impl UnwindSafe for Message
impl RefUnwindSafe for Message
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,