This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > dumpbin /exports .\twitter.dll | |
| Microsoft (R) COFF/PE Dumper Version 14.10.25019.0 | |
| Copyright (C) Microsoft Corporation. All rights reserved. | |
| Dump of file .\twitter.dll | |
| File Type: DLL | |
| Section contains the following exports for twitter.dll |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### toml | |
| # HTTP Authorization Bearer token | |
| [gab] | |
| token = 'fill your token' | |
| # Consumer Token of application | |
| [twitter.consumer] | |
| key = 'key' | |
| secret = 'secret' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', C:\projects\rust\src\liballoc\vec.rs:1555:10 | |
| stack backtrace: | |
| 0: std::sys_common::backtrace::_print | |
| at C:\projects\rust\src\libstd\sys_common\backtrace.rs:94 | |
| 1: std::panicking::default_hook::{{closure}} | |
| at C:\projects\rust\src\libstd\panicking.rs:380 | |
| 2: std::panicking::default_hook | |
| at C:\projects\rust\src\libstd\panicking.rs:397 | |
| 3: std::panicking::rust_panic_with_hook | |
| at C:\projects\rust\src\libstd\panicking.rs:611 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #[must_use = "Must be polled!"] | |
| ///Represents ongoing request. | |
| pub struct PendingRequest<S: Sender> { | |
| sender: S, | |
| message: Option<Request> | |
| } | |
| impl<S: Sender> PendingRequest<S> where Self: Future { | |
| #[inline] | |
| fn int_poll(&mut self, writer: &mut Writer) -> futures::Poll<<Self as Future>::Item, io::Error> { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pub type RequestType = message::request::get::Type; | |
| enum RequestState { | |
| None, | |
| Sent(PendingRequest<RcSender>), | |
| Wait(FutureResponse<RcReceiver>) | |
| } | |
| impl Default for RequestState { | |
| fn default() -> Self { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #[inline] | |
| pub fn api_url() -> io::Result<RwLockReadGuard<'static, Option<SocketAddr>>> { | |
| lazy_static! { | |
| static ref API_ADDR: RwLock<Option<SocketAddr>> = RwLock::new(None); | |
| } | |
| loop { | |
| match API_ADDR.read() { | |
| Ok(read_lock) => match read_lock.as_ref() { | |
| Some(_) => return Ok(read_lock), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| error[E0308]: match arms have incompatible types | |
| --> bot\src\handler.rs:334:22 | |
| | | |
| 334 | let get_vn = match parse_vndb_ref(&title) { | |
| | ______________________^ | |
| 335 | | Some((kind, id)) => { | |
| 336 | | if kind.short() != "v" { | |
| 337 | | return Box::new(future::err(ResponseError::InvalidVnId(kind, id))); | |
| ... | | |
| 376 | | } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extern crate actix; | |
| extern crate futures; | |
| extern crate vndb; | |
| extern crate actors; | |
| use self::vndb::protocol::message::request::get::Type as VndbRequestType; | |
| use self::futures::{future, Future}; | |
| use self::actix::prelude::*; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 536870921 00000001 B CORE_PERIPHERALS | |
| 536870920 00000001 B DEVICE_PERIPHERALS | |
| 134223018 00000002 T core::fmt::ArgumentV1::new | |
| 134224224 00000002 T <T as core::convert::TryFrom<U>>::try_from | |
| 134224226 00000002 T <I as core::iter::traits::IntoIterator>::into_iter | |
| 134222814 00000002 T <I as core::iter::traits::IntoIterator>::into_iter | |
| 134224228 00000002 T <core::result::Result<T, E> as core::ops::try::Try>::into_result | |
| 134217732 00000004 r cortex_m_rt::RESET_VECTOR | |
| 134221478 00000004 t core::ptr::null | |
| 134224230 00000004 T <core::result::Result<T, E> as core::ops::try::Try>::from_error |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .text | |
| .syntax unified | |
| .eabi_attribute 67, "2.09" | |
| .eabi_attribute 6, 13 | |
| .eabi_attribute 7, 77 | |
| .eabi_attribute 8, 0 | |
| .eabi_attribute 9, 2 | |
| .fpu fpv4-sp-d16 | |
| .eabi_attribute 27, 1 | |
| .eabi_attribute 36, 1 |