pub struct SequenceState { /* private fields */ }Expand description
Shared state of this open installation. It carries no time-based permission.
Implementations§
Source§impl SequenceState
impl SequenceState
Sourcepub fn permit_provider_check<'a>(
&'a self,
path: &'a ObjectPath,
) -> ProviderCheckPermit<'a>
pub fn permit_provider_check<'a>( &'a self, path: &'a ObjectPath, ) -> ProviderCheckPermit<'a>
Permit the provider check’s own object until the permit drops, however the check ends.
Sourcepub fn sync_often(&self, interval: Duration) -> SyncOftenGuard
pub fn sync_often(&self, interval: Duration) -> SyncOftenGuard
Run idle passes at most interval apart, instead of every 30
seconds, until the guard drops. With several held, the shortest wins.
Connection backoff and provider cooldowns still hold every pass.
Trait Implementations§
Source§impl PublicationGate for SequenceState
impl PublicationGate for SequenceState
Source§fn check(&self, path: &ObjectPath) -> Result<(), StorageError>
fn check(&self, path: &ObjectPath) -> Result<(), StorageError>
Refuse without sending when this path cannot currently be published.
Auto Trait Implementations§
impl !Freeze for SequenceState
impl RefUnwindSafe for SequenceState
impl Send for SequenceState
impl Sync for SequenceState
impl Unpin for SequenceState
impl UnsafeUnpin for SequenceState
impl UnwindSafe for SequenceState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
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 moreCreates a shared type from an unshared type.