[−][src]Enum bolt_client::Message
Variants
Methods
impl Message
[src]
pub async fn from_stream<T>(
buf_stream: &'_ mut BufStream<T>
) -> Result<Message, Error> where
T: Unpin + AsyncRead + AsyncWrite,
[src]
buf_stream: &'_ mut BufStream<T>
) -> Result<Message, Error> where
T: Unpin + AsyncRead + AsyncWrite,
Trait Implementations
impl Clone for Message
[src]
impl Debug for Message
[src]
impl Deserialize for Message
[src]
impl From<Failure> for Message
[src]
impl From<Init> for Message
[src]
impl From<Record> for Message
[src]
impl From<Run> for Message
[src]
impl From<Success> for Message
[src]
impl Marker for Message
[src]
fn get_marker(&self) -> Result<u8, Error>
[src]
impl Serialize for Message
[src]
fn try_into_bytes(self) -> Result<Bytes, Error>
[src]
impl Signature for Message
[src]
fn get_signature(&self) -> u8
[src]
impl TryFrom<Arc<Mutex<Bytes>>> for Message
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: Arc<Mutex<Bytes>>) -> Result<Message, Error>
[src]
impl TryFrom<Message> for Record
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(message: Message) -> Result<Record, Error>
[src]
impl TryFrom<Message> for Success
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(message: Message) -> Result<Success, Error>
[src]
impl TryFrom<Message> for Run
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(message: Message) -> Result<Run, Error>
[src]
impl TryFrom<Message> for Failure
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(message: Message) -> Result<Failure, Error>
[src]
impl TryFrom<Message> for Init
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(message: Message) -> Result<Init, Error>
[src]
impl TryFrom<MessageBytes> for Message
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(message_bytes: MessageBytes) -> Result<Message, Error>
[src]
impl TryInto<Bytes> for Message
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<Bytes, Error>
[src]
impl TryInto<Vec<Bytes>> for Message
[src]
Auto Trait Implementations
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut 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>,