pub struct Workflow { /* private fields */ }Implementations§
Source§impl Workflow
impl Workflow
Sourcepub fn new(api_keys: &str, database_url: &str) -> Result<Self, Error>
pub fn new(api_keys: &str, database_url: &str) -> Result<Self, Error>
api_keys is a comma-separated list of <token> or <token>@<ghes-host> entries.
§Errors
Will return Err if api_keys is malformed or database could not be connected to.
Auto Trait Implementations§
impl !Freeze for Workflow
impl !RefUnwindSafe for Workflow
impl !Sync for Workflow
impl !UnwindSafe for Workflow
impl Send for Workflow
impl Unpin for Workflow
impl UnsafeUnpin for Workflow
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