[−][src]Enum bolt_proto::Message
Variants
Methods
impl Message[src]
pub async fn from_stream<'_, T: Unpin + AsyncRead + AsyncWrite>(
buf_stream: &'_ mut BufStream<T>
) -> Result<Message, Error>[src]
buf_stream: &'_ mut BufStream<T>
) -> Result<Message, Error>
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<Self, Self::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<Self, Self::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<Self, Self::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<Self, Self::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<Self, Self::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<Self, Self::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, Self::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>,