Trait octocat_rs::github::client::GitHubClient
source · pub trait GitHubClient: Requester + Sized {
type HttpClient: Requester + Send + Sync;
type EventHandler: EventHandler + Send + Sync;
// Required method
fn event_handler(&self) -> &Self::EventHandler;
// Provided method
fn payload_size(&self) -> u64 { ... }
}
Required Associated Types§
type HttpClient: Requester + Send + Sync
type EventHandler: EventHandler + Send + Sync
Required Methods§
fn event_handler(&self) -> &Self::EventHandler
Provided Methods§
sourcefn payload_size(&self) -> u64
fn payload_size(&self) -> u64
Helper function to set the maximum payload size. Default is 8 MiB.