[−][src]Struct keybase_bot_api::bot::Bot
Fields
username: String
keybase_path: PathBuf
home_dir: PathBuf
listen_threads: Vec<JoinHandle<()>>
Methods
impl Bot
[src]
Trait Implementations
impl Chat for Bot
[src]
fn send_msg<'a>(
&self,
channel: &'a ChannelParams,
msg: &'a str
) -> Result<SendRes, ApiError>
[src]
&self,
channel: &'a ChannelParams,
msg: &'a str
) -> Result<SendRes, ApiError>
fn listen(
&mut self
) -> Result<Receiver<Result<Notification, ApiError>>, ApiError>
[src]
&mut self
) -> Result<Receiver<Result<Notification, ApiError>>, ApiError>
fn list(&self) -> Result<ListResult, ApiError>
[src]
fn read_conv(&self, channel: &ChannelParams) -> Result<Thread, ApiError>
[src]
impl Status for Bot
[src]
impl Drop for Bot
[src]
impl Debug for Bot
[src]
Auto Trait Implementations
impl Sync for Bot
impl Send for Bot
impl Unpin for Bot
impl !UnwindSafe for Bot
impl !RefUnwindSafe for Bot
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,