pub enum DiagramResult {
Ok(String),
OkPng(Vec<u8>),
RawCode {
source: String,
warning: String,
},
Err {
source: String,
error: String,
},
CommandNotFound {
tool_name: String,
install_hint: String,
source: String,
},
NotInstalled {
kind: String,
download_url: String,
install_path: PathBuf,
},
}Variants§
Trait Implementations§
Source§impl Clone for DiagramResult
impl Clone for DiagramResult
Source§fn clone(&self) -> DiagramResult
fn clone(&self) -> DiagramResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiagramResult
impl Debug for DiagramResult
Source§impl<'de> Deserialize<'de> for DiagramResult
impl<'de> Deserialize<'de> for DiagramResult
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 DiagramResult
impl RefUnwindSafe for DiagramResult
impl Send for DiagramResult
impl Sync for DiagramResult
impl Unpin for DiagramResult
impl UnsafeUnpin for DiagramResult
impl UnwindSafe for DiagramResult
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