pub enum ResponseType {
ShareScan,
Ls(String),
Download(bool),
Status(String),
Error(String),
}
Expand description
The response from the daemon comes in a serialized form and deserialize, it is reduced to the type of response to which the request was sent from the client.
Variants§
Trait Implementations§
Source§impl Debug for ResponseType
impl Debug for ResponseType
Source§impl<'de> Deserialize<'de> for ResponseType
impl<'de> Deserialize<'de> for ResponseType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ResponseType
impl RefUnwindSafe for ResponseType
impl Send for ResponseType
impl Sync for ResponseType
impl Unpin for ResponseType
impl UnwindSafe for ResponseType
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