pub struct PipelineBus { /* private fields */ }
Expand description
Performs requests to pipelines/{name}/bus
endpoints
Implementations§
Source§impl PipelineBus
impl PipelineBus
Sourcepub async fn read(&self) -> Result<SuccessResponse, Error>
pub async fn read(&self) -> Result<SuccessResponse, Error>
Performs GET pipelines/{name}/bus/message
API request, returning the parsed gstd_types::SuccessResponse
§Errors
If API request cannot be performed, or fails.
See Error
for details.
Sourcepub async fn set_timeout(&self, time_ns: i32) -> Result<SuccessResponse, Error>
pub async fn set_timeout(&self, time_ns: i32) -> Result<SuccessResponse, Error>
Performs PUT pipelines/{name}?timeout={time_ns}
API request, returning the parsed gstd_types::SuccessResponse
§Errors
If API request cannot be performed, or fails.
See Error
for details.
Sourcepub async fn set_filter(&self, filter: &str) -> Result<SuccessResponse, Error>
pub async fn set_filter(&self, filter: &str) -> Result<SuccessResponse, Error>
Performs PUT pipelines/{name}?types={filter}
API request, returning the parsed gstd_types::SuccessResponse
§Errors
If API request cannot be performed, or fails.
See Error
for details.
Trait Implementations§
Source§impl Clone for PipelineBus
impl Clone for PipelineBus
Source§fn clone(&self) -> PipelineBus
fn clone(&self) -> PipelineBus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for PipelineBus
impl !RefUnwindSafe for PipelineBus
impl Send for PipelineBus
impl Sync for PipelineBus
impl Unpin for PipelineBus
impl !UnwindSafe for PipelineBus
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