Struct kactus_gtfs_rt::IngestInfoClient
source · pub struct IngestInfoClient(/* private fields */);
Expand description
The client stub that makes RPC calls to the server. All request methods return Futures.
Implementations§
source§impl IngestInfoClient
impl IngestInfoClient
sourcepub fn new<T>(
config: Config,
transport: T
) -> NewClient<Self, RequestDispatch<IngestInfoRequest, IngestInfoResponse, T>>
pub fn new<T>( config: Config, transport: T ) -> NewClient<Self, RequestDispatch<IngestInfoRequest, IngestInfoResponse, T>>
Returns a new client stub that sends requests over the given transport.
source§impl IngestInfoClient
impl IngestInfoClient
pub fn agencies( &self, ctx: Context ) -> impl Future<Output = Result<String, RpcError>> + '_
pub fn addagency( &self, ctx: Context, agency: AgencyInfo ) -> impl Future<Output = Result<String, RpcError>> + '_
pub fn removeagency( &self, ctx: Context, agency: String ) -> impl Future<Output = Result<String, RpcError>> + '_
pub fn getagency( &self, ctx: Context, agency: String, feedtype: FeedType ) -> impl Future<Output = Result<Vec<u8>, RpcError>> + '_
Trait Implementations§
source§impl Clone for IngestInfoClient
impl Clone for IngestInfoClient
source§fn clone(&self) -> IngestInfoClient
fn clone(&self) -> IngestInfoClient
Returns a copy 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 !RefUnwindSafe for IngestInfoClient
impl Send for IngestInfoClient
impl Sync for IngestInfoClient
impl Unpin for IngestInfoClient
impl !UnwindSafe for IngestInfoClient
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