pub struct NoopAll { /* private fields */ }Expand description
Implements all router service traits with no-op stubs.
Implementations§
Trait Implementations§
Source§impl JobOps for NoopAll
impl JobOps for NoopAll
fn enqueue( &self, _name: &str, _payload: Value, _priority: &str, _delay_secs: u64, _max_retries: u32, _queue: &str, ) -> String
fn stats(&self) -> Value
fn dead_letters(&self) -> Value
fn retry_dead(&self, _id: &str) -> bool
fn list_jobs( &self, _status: Option<&str>, _queue: Option<&str>, _limit: usize, ) -> Value
fn get_job(&self, _id: &str) -> Option<Value>
Source§impl RoomOps for NoopAll
impl RoomOps for NoopAll
fn join( &self, _room: &str, _user_id: &str, _data: Option<Value>, ) -> Result<(Value, Value), DataError>
fn leave(&self, _room: &str, _user_id: &str) -> Option<Value>
fn set_presence( &self, _room: &str, _user_id: &str, _data: Value, ) -> Option<Value>
fn broadcast( &self, _room: &str, _sender: Option<&str>, _topic: &str, _data: Value, ) -> Option<Value>
fn list_rooms(&self) -> Vec<String>
fn room_size(&self, _name: &str) -> usize
fn members(&self, _name: &str) -> Vec<Value>
Source§impl SchedulerOps for NoopAll
impl SchedulerOps for NoopAll
Source§impl WorkflowOps for NoopAll
impl WorkflowOps for NoopAll
fn definitions(&self) -> Value
fn start(&self, _name: &str, _input: Value) -> Result<String, String>
fn list(&self, _status_filter: Option<&str>) -> Value
fn get(&self, _id: &str) -> Option<Value>
fn advance(&self, _id: &str) -> Result<String, String>
fn send_event( &self, _id: &str, _event: &str, _data: Value, ) -> Result<(), String>
fn cancel(&self, _id: &str) -> Result<(), String>
Auto Trait Implementations§
impl Freeze for NoopAll
impl RefUnwindSafe for NoopAll
impl Send for NoopAll
impl Sync for NoopAll
impl Unpin for NoopAll
impl UnsafeUnpin for NoopAll
impl UnwindSafe for NoopAll
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