pub struct AgentFrameReason(/* private fields */);Implementations§
Source§impl AgentFrameReason
impl AgentFrameReason
pub const INITIAL: &'static str = "initial"
pub const CONTINUE_AS: &'static str = "continue_as"
pub const COMPACTION: &'static str = "compaction"
pub fn new(label: impl Into<String>) -> Self
pub fn initial() -> Self
pub fn continue_as() -> Self
pub fn compaction() -> Self
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl Clone for AgentFrameReason
impl Clone for AgentFrameReason
Source§fn clone(&self) -> AgentFrameReason
fn clone(&self) -> AgentFrameReason
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 AgentFrameReason
impl Debug for AgentFrameReason
Source§impl Default for AgentFrameReason
impl Default for AgentFrameReason
Source§impl<'de> Deserialize<'de> for AgentFrameReason
impl<'de> Deserialize<'de> for AgentFrameReason
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
Source§impl Display for AgentFrameReason
impl Display for AgentFrameReason
impl Eq for AgentFrameReason
Source§impl From<&str> for AgentFrameReason
impl From<&str> for AgentFrameReason
Source§impl From<String> for AgentFrameReason
impl From<String> for AgentFrameReason
Source§impl Hash for AgentFrameReason
impl Hash for AgentFrameReason
Source§impl PartialEq for AgentFrameReason
impl PartialEq for AgentFrameReason
Source§fn eq(&self, other: &AgentFrameReason) -> bool
fn eq(&self, other: &AgentFrameReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentFrameReason
impl Serialize for AgentFrameReason
impl StructuralPartialEq for AgentFrameReason
Auto Trait Implementations§
impl Freeze for AgentFrameReason
impl RefUnwindSafe for AgentFrameReason
impl Send for AgentFrameReason
impl Sync for AgentFrameReason
impl Unpin for AgentFrameReason
impl UnsafeUnpin for AgentFrameReason
impl UnwindSafe for AgentFrameReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more