pub enum StatsGraph {
Async(StatsGraphAsync),
Error(StatsGraphError),
StatsGraph(StatsGraph),
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for StatsGraph
impl Clone for StatsGraph
Source§fn clone(&self) -> StatsGraph
fn clone(&self) -> StatsGraph
Returns a duplicate of the value. Read more
1.0.0 · 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 StatsGraph
impl Debug for StatsGraph
Source§impl Deserializable for StatsGraph
impl Deserializable for StatsGraph
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<StatsGraph> for StatsGraph
impl From<StatsGraph> for StatsGraph
Source§fn from(x: StatsGraph) -> Self
fn from(x: StatsGraph) -> Self
Converts to this type from the input type.
Source§impl From<StatsGraphAsync> for StatsGraph
impl From<StatsGraphAsync> for StatsGraph
Source§fn from(x: StatsGraphAsync) -> Self
fn from(x: StatsGraphAsync) -> Self
Converts to this type from the input type.
Source§impl From<StatsGraphError> for StatsGraph
impl From<StatsGraphError> for StatsGraph
Source§fn from(x: StatsGraphError) -> Self
fn from(x: StatsGraphError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StatsGraph
impl PartialEq for StatsGraph
Source§impl Serializable for StatsGraph
impl Serializable for StatsGraph
Source§impl TryFrom<StatsGraph> for StatsGraph
impl TryFrom<StatsGraph> for StatsGraph
Source§type Error = StatsGraph
type Error = StatsGraph
The type returned in the event of a conversion error.
Source§impl TryFrom<StatsGraph> for StatsGraphAsync
impl TryFrom<StatsGraph> for StatsGraphAsync
Source§type Error = StatsGraph
type Error = StatsGraph
The type returned in the event of a conversion error.
Source§impl TryFrom<StatsGraph> for StatsGraphError
impl TryFrom<StatsGraph> for StatsGraphError
Source§type Error = StatsGraph
type Error = StatsGraph
The type returned in the event of a conversion error.
impl StructuralPartialEq for StatsGraph
Auto Trait Implementations§
impl Freeze for StatsGraph
impl RefUnwindSafe for StatsGraph
impl Send for StatsGraph
impl Sync for StatsGraph
impl Unpin for StatsGraph
impl UnsafeUnpin for StatsGraph
impl UnwindSafe for StatsGraph
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