pub enum InsertResult {
Ref(DynActorRef),
Policy(StorePolicy),
None,
}Expand description
Result of an actor path insert
That is, the returned value is the previous entry.
Variants§
Ref(DynActorRef)
Entry is a single concrete actor
Policy(StorePolicy)
Entry is a routing policy
None
There was no previous entry
Implementations§
Trait Implementations§
Source§impl Debug for InsertResult
impl Debug for InsertResult
Source§impl From<Option<ActorTreeEntry>> for InsertResult
impl From<Option<ActorTreeEntry>> for InsertResult
Source§fn from(entry: Option<ActorTreeEntry>) -> InsertResult
fn from(entry: Option<ActorTreeEntry>) -> InsertResult
Converts to this type from the input type.
Source§impl From<Option<DynActorRef>> for InsertResult
impl From<Option<DynActorRef>> for InsertResult
Source§fn from(entry: Option<DynActorRef>) -> InsertResult
fn from(entry: Option<DynActorRef>) -> InsertResult
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InsertResult
impl !RefUnwindSafe for InsertResult
impl Send for InsertResult
impl Sync for InsertResult
impl Unpin for InsertResult
impl UnsafeUnpin for InsertResult
impl !UnwindSafe for InsertResult
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