Enum Error

Source
pub enum Error {
Show 24 variants InvalidRankCardinality { expected: usize, actual: usize, }, NameParseError(NameParseError), HostMeshRefParseError(HostMeshRefParseError), AllocatorError(Box<AllocatorError>), ChannelError(Box<ChannelError>), MailboxError(Box<MailboxError>), CodecError(CodecError), ConfigurationError(Error), UnroutableMesh(), CallError(ActorId, Error), ActorTypeNotRegistered(String), GspawnError(Name, String), SendingError(ActorId, Box<MailboxSenderError>), CastingError(Name, Error), HostMeshAgentConfigurationError(ActorId, String), ProcCreationError { state: State<ProcState>, host_rank: usize, mesh_agent: ActorRef<HostMeshAgent>, }, ProcSpawnError { statuses: RankedValues<Status>, }, ActorSpawnError { statuses: RankedValues<Status>, }, ActorStopError { statuses: RankedValues<Status>, }, SingletonActorSpawnError(Error), ControllerActorSpawnError(Name, Error), NotExist(Name), Io(Error), Host(HostError),
}
Expand description

Errors that occur during mesh operations.

Variants§

§

InvalidRankCardinality

Fields

§expected: usize
§actual: usize
§

NameParseError(NameParseError)

§

HostMeshRefParseError(HostMeshRefParseError)

§

AllocatorError(Box<AllocatorError>)

§

ChannelError(Box<ChannelError>)

§

MailboxError(Box<MailboxError>)

§

CodecError(CodecError)

§

ConfigurationError(Error)

§

UnroutableMesh()

§

CallError(ActorId, Error)

§

ActorTypeNotRegistered(String)

§

GspawnError(Name, String)

§

SendingError(ActorId, Box<MailboxSenderError>)

§

CastingError(Name, Error)

§

HostMeshAgentConfigurationError(ActorId, String)

§

ProcCreationError

Fields

§host_rank: usize
§

ProcSpawnError

Fields

§

ActorSpawnError

Fields

§

ActorStopError

Fields

§

SingletonActorSpawnError(Error)

§

ControllerActorSpawnError(Name, Error)

§

NotExist(Name)

§

Io(Error)

§

Host(HostError)

Implementations§

Source§

impl Error

Source

pub fn is_invalid_rank_cardinality(&self) -> bool

Returns true if this is a Error::InvalidRankCardinality, otherwise false

Source

pub fn as_invalid_rank_cardinality_mut( &mut self, ) -> Option<(&mut usize, &mut usize)>

Optionally returns mutable references to the inner fields if this is a Error::InvalidRankCardinality, otherwise None

Source

pub fn as_invalid_rank_cardinality(&self) -> Option<(&usize, &usize)>

Optionally returns references to the inner fields if this is a Error::InvalidRankCardinality, otherwise None

Source

pub fn into_invalid_rank_cardinality(self) -> Result<(usize, usize), Self>

Returns the inner fields if this is a Error::InvalidRankCardinality, otherwise returns back the enum in the Err case of the result

Source

pub fn is_name_parse_error(&self) -> bool

Returns true if this is a Error::NameParseError, otherwise false

Source

pub fn as_name_parse_error_mut(&mut self) -> Option<&mut NameParseError>

Optionally returns mutable references to the inner fields if this is a Error::NameParseError, otherwise None

Source

pub fn as_name_parse_error(&self) -> Option<&NameParseError>

Optionally returns references to the inner fields if this is a Error::NameParseError, otherwise None

Source

pub fn into_name_parse_error(self) -> Result<NameParseError, Self>

Returns the inner fields if this is a Error::NameParseError, otherwise returns back the enum in the Err case of the result

Source

pub fn is_host_mesh_ref_parse_error(&self) -> bool

Returns true if this is a Error::HostMeshRefParseError, otherwise false

Source

pub fn as_host_mesh_ref_parse_error_mut( &mut self, ) -> Option<&mut HostMeshRefParseError>

Optionally returns mutable references to the inner fields if this is a Error::HostMeshRefParseError, otherwise None

Source

pub fn as_host_mesh_ref_parse_error(&self) -> Option<&HostMeshRefParseError>

Optionally returns references to the inner fields if this is a Error::HostMeshRefParseError, otherwise None

Source

pub fn into_host_mesh_ref_parse_error( self, ) -> Result<HostMeshRefParseError, Self>

Returns the inner fields if this is a Error::HostMeshRefParseError, otherwise returns back the enum in the Err case of the result

Source

pub fn is_allocator_error(&self) -> bool

Returns true if this is a Error::AllocatorError, otherwise false

Source

pub fn as_allocator_error_mut(&mut self) -> Option<&mut Box<AllocatorError>>

Optionally returns mutable references to the inner fields if this is a Error::AllocatorError, otherwise None

Source

pub fn as_allocator_error(&self) -> Option<&Box<AllocatorError>>

Optionally returns references to the inner fields if this is a Error::AllocatorError, otherwise None

Source

pub fn into_allocator_error(self) -> Result<Box<AllocatorError>, Self>

Returns the inner fields if this is a Error::AllocatorError, otherwise returns back the enum in the Err case of the result

Source

pub fn is_channel_error(&self) -> bool

Returns true if this is a Error::ChannelError, otherwise false

Source

pub fn as_channel_error_mut(&mut self) -> Option<&mut Box<ChannelError>>

Optionally returns mutable references to the inner fields if this is a Error::ChannelError, otherwise None

Source

pub fn as_channel_error(&self) -> Option<&Box<ChannelError>>

Optionally returns references to the inner fields if this is a Error::ChannelError, otherwise None

Source

pub fn into_channel_error(self) -> Result<Box<ChannelError>, Self>

Returns the inner fields if this is a Error::ChannelError, otherwise returns back the enum in the Err case of the result

Source

pub fn is_mailbox_error(&self) -> bool

Returns true if this is a Error::MailboxError, otherwise false

Source

pub fn as_mailbox_error_mut(&mut self) -> Option<&mut Box<MailboxError>>

Optionally returns mutable references to the inner fields if this is a Error::MailboxError, otherwise None

Source

pub fn as_mailbox_error(&self) -> Option<&Box<MailboxError>>

Optionally returns references to the inner fields if this is a Error::MailboxError, otherwise None

Source

pub fn into_mailbox_error(self) -> Result<Box<MailboxError>, Self>

Returns the inner fields if this is a Error::MailboxError, otherwise returns back the enum in the Err case of the result

Source

pub fn is_codec_error(&self) -> bool

Returns true if this is a Error::CodecError, otherwise false

Source

pub fn as_codec_error_mut(&mut self) -> Option<&mut CodecError>

Optionally returns mutable references to the inner fields if this is a Error::CodecError, otherwise None

Source

pub fn as_codec_error(&self) -> Option<&CodecError>

Optionally returns references to the inner fields if this is a Error::CodecError, otherwise None

Source

pub fn into_codec_error(self) -> Result<CodecError, Self>

Returns the inner fields if this is a Error::CodecError, otherwise returns back the enum in the Err case of the result

Source

pub fn is_configuration_error(&self) -> bool

Returns true if this is a Error::ConfigurationError, otherwise false

Source

pub fn as_configuration_error_mut(&mut self) -> Option<&mut Error>

Optionally returns mutable references to the inner fields if this is a Error::ConfigurationError, otherwise None

Source

pub fn as_configuration_error(&self) -> Option<&Error>

Optionally returns references to the inner fields if this is a Error::ConfigurationError, otherwise None

Source

pub fn into_configuration_error(self) -> Result<Error, Self>

Returns the inner fields if this is a Error::ConfigurationError, otherwise returns back the enum in the Err case of the result

Source

pub fn is_unroutable_mesh(&self) -> bool

Returns true if this is a Error::UnroutableMesh, otherwise false

Source

pub fn as_unroutable_mesh_mut(&mut self) -> Option<()>

Optionally returns mutable references to the inner fields if this is a Error::UnroutableMesh, otherwise None

Source

pub fn as_unroutable_mesh(&self) -> Option<()>

Optionally returns references to the inner fields if this is a Error::UnroutableMesh, otherwise None

Source

pub fn into_unroutable_mesh(self) -> Result<(), Self>

Returns the inner fields if this is a Error::UnroutableMesh, otherwise returns back the enum in the Err case of the result

Source

pub fn is_call_error(&self) -> bool

Returns true if this is a Error::CallError, otherwise false

Source

pub fn as_call_error_mut(&mut self) -> Option<(&mut ActorId, &mut Error)>

Optionally returns mutable references to the inner fields if this is a Error::CallError, otherwise None

Source

pub fn as_call_error(&self) -> Option<(&ActorId, &Error)>

Optionally returns references to the inner fields if this is a Error::CallError, otherwise None

Source

pub fn into_call_error(self) -> Result<(ActorId, Error), Self>

Returns the inner fields if this is a Error::CallError, otherwise returns back the enum in the Err case of the result

Source

pub fn is_actor_type_not_registered(&self) -> bool

Returns true if this is a Error::ActorTypeNotRegistered, otherwise false

Source

pub fn as_actor_type_not_registered_mut(&mut self) -> Option<&mut String>

Optionally returns mutable references to the inner fields if this is a Error::ActorTypeNotRegistered, otherwise None

Source

pub fn as_actor_type_not_registered(&self) -> Option<&String>

Optionally returns references to the inner fields if this is a Error::ActorTypeNotRegistered, otherwise None

Source

pub fn into_actor_type_not_registered(self) -> Result<String, Self>

Returns the inner fields if this is a Error::ActorTypeNotRegistered, otherwise returns back the enum in the Err case of the result

Source

pub fn is_gspawn_error(&self) -> bool

Returns true if this is a Error::GspawnError, otherwise false

Source

pub fn as_gspawn_error_mut(&mut self) -> Option<(&mut Name, &mut String)>

Optionally returns mutable references to the inner fields if this is a Error::GspawnError, otherwise None

Source

pub fn as_gspawn_error(&self) -> Option<(&Name, &String)>

Optionally returns references to the inner fields if this is a Error::GspawnError, otherwise None

Source

pub fn into_gspawn_error(self) -> Result<(Name, String), Self>

Returns the inner fields if this is a Error::GspawnError, otherwise returns back the enum in the Err case of the result

Source

pub fn is_sending_error(&self) -> bool

Returns true if this is a Error::SendingError, otherwise false

Source

pub fn as_sending_error_mut( &mut self, ) -> Option<(&mut ActorId, &mut Box<MailboxSenderError>)>

Optionally returns mutable references to the inner fields if this is a Error::SendingError, otherwise None

Source

pub fn as_sending_error(&self) -> Option<(&ActorId, &Box<MailboxSenderError>)>

Optionally returns references to the inner fields if this is a Error::SendingError, otherwise None

Source

pub fn into_sending_error( self, ) -> Result<(ActorId, Box<MailboxSenderError>), Self>

Returns the inner fields if this is a Error::SendingError, otherwise returns back the enum in the Err case of the result

Source

pub fn is_casting_error(&self) -> bool

Returns true if this is a Error::CastingError, otherwise false

Source

pub fn as_casting_error_mut(&mut self) -> Option<(&mut Name, &mut Error)>

Optionally returns mutable references to the inner fields if this is a Error::CastingError, otherwise None

Source

pub fn as_casting_error(&self) -> Option<(&Name, &Error)>

Optionally returns references to the inner fields if this is a Error::CastingError, otherwise None

Source

pub fn into_casting_error(self) -> Result<(Name, Error), Self>

Returns the inner fields if this is a Error::CastingError, otherwise returns back the enum in the Err case of the result

Source

pub fn is_host_mesh_agent_configuration_error(&self) -> bool

Returns true if this is a Error::HostMeshAgentConfigurationError, otherwise false

Source

pub fn as_host_mesh_agent_configuration_error_mut( &mut self, ) -> Option<(&mut ActorId, &mut String)>

Optionally returns mutable references to the inner fields if this is a Error::HostMeshAgentConfigurationError, otherwise None

Source

pub fn as_host_mesh_agent_configuration_error( &self, ) -> Option<(&ActorId, &String)>

Optionally returns references to the inner fields if this is a Error::HostMeshAgentConfigurationError, otherwise None

Source

pub fn into_host_mesh_agent_configuration_error( self, ) -> Result<(ActorId, String), Self>

Returns the inner fields if this is a Error::HostMeshAgentConfigurationError, otherwise returns back the enum in the Err case of the result

Source

pub fn is_proc_creation_error(&self) -> bool

Returns true if this is a Error::ProcCreationError, otherwise false

Source

pub fn as_proc_creation_error_mut( &mut self, ) -> Option<(&mut State<ProcState>, &mut usize, &mut ActorRef<HostMeshAgent>)>

Optionally returns mutable references to the inner fields if this is a Error::ProcCreationError, otherwise None

Source

pub fn as_proc_creation_error( &self, ) -> Option<(&State<ProcState>, &usize, &ActorRef<HostMeshAgent>)>

Optionally returns references to the inner fields if this is a Error::ProcCreationError, otherwise None

Source

pub fn into_proc_creation_error( self, ) -> Result<(State<ProcState>, usize, ActorRef<HostMeshAgent>), Self>

Returns the inner fields if this is a Error::ProcCreationError, otherwise returns back the enum in the Err case of the result

Source

pub fn is_proc_spawn_error(&self) -> bool

Returns true if this is a Error::ProcSpawnError, otherwise false

Source

pub fn as_proc_spawn_error_mut(&mut self) -> Option<&mut RankedValues<Status>>

Optionally returns mutable references to the inner fields if this is a Error::ProcSpawnError, otherwise None

Source

pub fn as_proc_spawn_error(&self) -> Option<&RankedValues<Status>>

Optionally returns references to the inner fields if this is a Error::ProcSpawnError, otherwise None

Source

pub fn into_proc_spawn_error(self) -> Result<RankedValues<Status>, Self>

Returns the inner fields if this is a Error::ProcSpawnError, otherwise returns back the enum in the Err case of the result

Source

pub fn is_actor_spawn_error(&self) -> bool

Returns true if this is a Error::ActorSpawnError, otherwise false

Source

pub fn as_actor_spawn_error_mut(&mut self) -> Option<&mut RankedValues<Status>>

Optionally returns mutable references to the inner fields if this is a Error::ActorSpawnError, otherwise None

Source

pub fn as_actor_spawn_error(&self) -> Option<&RankedValues<Status>>

Optionally returns references to the inner fields if this is a Error::ActorSpawnError, otherwise None

Source

pub fn into_actor_spawn_error(self) -> Result<RankedValues<Status>, Self>

Returns the inner fields if this is a Error::ActorSpawnError, otherwise returns back the enum in the Err case of the result

Source

pub fn is_actor_stop_error(&self) -> bool

Returns true if this is a Error::ActorStopError, otherwise false

Source

pub fn as_actor_stop_error_mut(&mut self) -> Option<&mut RankedValues<Status>>

Optionally returns mutable references to the inner fields if this is a Error::ActorStopError, otherwise None

Source

pub fn as_actor_stop_error(&self) -> Option<&RankedValues<Status>>

Optionally returns references to the inner fields if this is a Error::ActorStopError, otherwise None

Source

pub fn into_actor_stop_error(self) -> Result<RankedValues<Status>, Self>

Returns the inner fields if this is a Error::ActorStopError, otherwise returns back the enum in the Err case of the result

Source

pub fn is_singleton_actor_spawn_error(&self) -> bool

Returns true if this is a Error::SingletonActorSpawnError, otherwise false

Source

pub fn as_singleton_actor_spawn_error_mut(&mut self) -> Option<&mut Error>

Optionally returns mutable references to the inner fields if this is a Error::SingletonActorSpawnError, otherwise None

Source

pub fn as_singleton_actor_spawn_error(&self) -> Option<&Error>

Optionally returns references to the inner fields if this is a Error::SingletonActorSpawnError, otherwise None

Source

pub fn into_singleton_actor_spawn_error(self) -> Result<Error, Self>

Returns the inner fields if this is a Error::SingletonActorSpawnError, otherwise returns back the enum in the Err case of the result

Source

pub fn is_controller_actor_spawn_error(&self) -> bool

Returns true if this is a Error::ControllerActorSpawnError, otherwise false

Source

pub fn as_controller_actor_spawn_error_mut( &mut self, ) -> Option<(&mut Name, &mut Error)>

Optionally returns mutable references to the inner fields if this is a Error::ControllerActorSpawnError, otherwise None

Source

pub fn as_controller_actor_spawn_error(&self) -> Option<(&Name, &Error)>

Optionally returns references to the inner fields if this is a Error::ControllerActorSpawnError, otherwise None

Source

pub fn into_controller_actor_spawn_error(self) -> Result<(Name, Error), Self>

Returns the inner fields if this is a Error::ControllerActorSpawnError, otherwise returns back the enum in the Err case of the result

Source

pub fn is_not_exist(&self) -> bool

Returns true if this is a Error::NotExist, otherwise false

Source

pub fn as_not_exist_mut(&mut self) -> Option<&mut Name>

Optionally returns mutable references to the inner fields if this is a Error::NotExist, otherwise None

Source

pub fn as_not_exist(&self) -> Option<&Name>

Optionally returns references to the inner fields if this is a Error::NotExist, otherwise None

Source

pub fn into_not_exist(self) -> Result<Name, Self>

Returns the inner fields if this is a Error::NotExist, otherwise returns back the enum in the Err case of the result

Source

pub fn is_io(&self) -> bool

Returns true if this is a Error::Io, otherwise false

Source

pub fn as_io_mut(&mut self) -> Option<&mut Error>

Optionally returns mutable references to the inner fields if this is a Error::Io, otherwise None

Source

pub fn as_io(&self) -> Option<&Error>

Optionally returns references to the inner fields if this is a Error::Io, otherwise None

Source

pub fn into_io(self) -> Result<Error, Self>

Returns the inner fields if this is a Error::Io, otherwise returns back the enum in the Err case of the result

Source

pub fn is_host(&self) -> bool

Returns true if this is a Error::Host, otherwise false

Source

pub fn as_host_mut(&mut self) -> Option<&mut HostError>

Optionally returns mutable references to the inner fields if this is a Error::Host, otherwise None

Source

pub fn as_host(&self) -> Option<&HostError>

Optionally returns references to the inner fields if this is a Error::Host, otherwise None

Source

pub fn into_host(self) -> Result<HostError, Self>

Returns the inner fields if this is a Error::Host, otherwise returns back the enum in the Err case of the result

Trait Implementations§

Source§

impl Debug for Error

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Error

Source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Error for Error

Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<AllocatorError> for Error

Source§

fn from(e: AllocatorError) -> Self

Converts to this type from the input type.
Source§

impl From<Box<AllocatorError>> for Error

Source§

fn from(source: Box<AllocatorError>) -> Self

Converts to this type from the input type.
Source§

impl From<Box<ChannelError>> for Error

Source§

fn from(source: Box<ChannelError>) -> Self

Converts to this type from the input type.
Source§

impl From<Box<ErrorKind>> for Error

Source§

fn from(e: Error) -> Self

Converts to this type from the input type.
Source§

impl From<Box<MailboxError>> for Error

Source§

fn from(source: Box<MailboxError>) -> Self

Converts to this type from the input type.
Source§

impl From<ChannelError> for Error

Source§

fn from(e: ChannelError) -> Self

Converts to this type from the input type.
Source§

impl From<CodecError> for Error

Source§

fn from(source: CodecError) -> Self

Converts to this type from the input type.
Source§

impl From<DecodeError> for Error

Source§

fn from(e: DecodeError) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for Error

Source§

fn from(source: Error) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for Error

Source§

fn from(e: Error) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for HostMeshRefParseError

Source§

fn from(err: Error) -> Self

Converts to this type from the input type.
Source§

impl From<HostError> for Error

Source§

fn from(source: HostError) -> Self

Converts to this type from the input type.
Source§

impl From<HostMeshRefParseError> for Error

Source§

fn from(source: HostMeshRefParseError) -> Self

Converts to this type from the input type.
Source§

impl From<InvalidCardinality> for Error

Source§

fn from(e: InvalidCardinality) -> Self

Converts to this type from the input type.
Source§

impl From<MailboxError> for Error

Source§

fn from(e: MailboxError) -> Self

Converts to this type from the input type.
Source§

impl From<NameParseError> for Error

Source§

fn from(source: NameParseError) -> Self

Converts to this type from the input type.
Source§

impl From<Utf8Error> for Error

Source§

fn from(e: Utf8Error) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for Error

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for T
where T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

§

fn type_name(&self) -> &'static str

§

impl<T> AnySync for T
where T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FutureExt for T

§

fn with_context(self, otel_cx: Context) -> WithContext<Self>

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
§

fn with_current_context(self) -> WithContext<Self>

Attaches the current Context to this type, returning a WithContext wrapper. Read more
Source§

impl<A, M> Handler<IndexedErasedUnbound<M>> for A
where A: Handler<M>, M: Castable,

Source§

fn handle<'life0, 'life1, 'async_trait>( &'life0 mut self, cx: &'life1 Context<'_, A>, msg: IndexedErasedUnbound<M>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, A: 'async_trait,

Handle the next M-typed message.
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> QuoteExt for T
where T: ?Sized,

§

fn push_quoted<'q, Q, S>(&mut self, _q: Q, s: S)
where Q: QuoteInto<T>, S: Into<Quotable<'q>>,

Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<M> Message for M
where M: Debug + Send + Sync + 'static,