Enum tiny_actor::config::Link
source · [−]pub enum Link {
Detached,
Attached(Duration),
}Expand description
This decides whether the actor is attached or detached. If it is attached, then the abort-timer is specified here as well.
Default
Attached with an abort-timer of 1 second.
Variants
Detached
Attached(Duration)
Implementations
sourceimpl Link
impl Link
sourcepub fn is_attached(&self) -> bool
pub fn is_attached(&self) -> bool
Whether the link is attached.
Trait Implementations
impl Eq for Link
impl StructuralEq for Link
impl StructuralPartialEq for Link
Auto Trait Implementations
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnwindSafe for Link
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more