[−][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 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, <Message as TryFrom<Arc<Mutex<Bytes>>>>::Error>
[src]
value: Arc<Mutex<Bytes>>
) -> Result<Message, <Message as TryFrom<Arc<Mutex<Bytes>>>>::Error>
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, <Record as TryFrom<Message>>::Error>
[src]
message: Message
) -> Result<Record, <Record as TryFrom<Message>>::Error>
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, <Success as TryFrom<Message>>::Error>
[src]
message: Message
) -> Result<Success, <Success as TryFrom<Message>>::Error>
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, <Run as TryFrom<Message>>::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, <Failure as TryFrom<Message>>::Error>
[src]
message: Message
) -> Result<Failure, <Failure as TryFrom<Message>>::Error>
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, <Init as TryFrom<Message>>::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, <Message as TryFrom<MessageBytes>>::Error>
[src]
message_bytes: MessageBytes
) -> Result<Message, <Message as TryFrom<MessageBytes>>::Error>
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, <Message as TryInto<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, 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>,